diff options
| author | Chris Lattner <sabre@nondot.org> | 2008-06-28 23:48:25 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2008-06-28 23:48:25 +0000 |
| commit | ed9cbbc4f0a417d5f358492a46cb55e54d231438 (patch) | |
| tree | 93fb8c689815f952cda833e476e56cceaf9c0b97 /clang/lib/Sema/Sema.h | |
| parent | 4a927cba2e110c81d55fd733139e6309d94172f8 (diff) | |
| download | bcm5719-llvm-ed9cbbc4f0a417d5f358492a46cb55e54d231438.tar.gz bcm5719-llvm-ed9cbbc4f0a417d5f358492a46cb55e54d231438.zip | |
more cleanups, refactor HandleVectorTypeAttribute
to work list the rest of the attr handlers. Also, rename
it to HandleVectorSizeAttribute to match its attr name.
No functionality change.
llvm-svn: 52872
Diffstat (limited to 'clang/lib/Sema/Sema.h')
| -rw-r--r-- | clang/lib/Sema/Sema.h | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/clang/lib/Sema/Sema.h b/clang/lib/Sema/Sema.h index ea551093b8d..65c197ea3a1 100644 --- a/clang/lib/Sema/Sema.h +++ b/clang/lib/Sema/Sema.h @@ -312,21 +312,9 @@ private: QualType HandleAddressSpaceTypeAttribute(QualType curType, const AttributeList &Attr); - /// HandleModeAttribute - this attribute modifies the width of a decl with - /// primitive type. Note that this is a variable attribute, and not - /// a type attribute. void HandleModeAttribute(Decl *d, const AttributeList &Attr); - // HandleVectorTypeAttribute - this attribute is only applicable to - // integral and float scalars, although arrays, pointers, and function - // return values are allowed in conjunction with this construct. Aggregates - // with this attribute are invalid, even if they are of the same size as a - // corresponding scalar. - // The raw attribute should contain precisely 1 argument, the vector size - // for the variable, measured in bytes. If curType and rawAttr are well - // formed, this routine will return a new vector type. - QualType HandleVectorTypeAttribute(QualType curType, - const AttributeList &Attr); + void HandleVectorSizeAttribute(Decl *d, const AttributeList &Attr); void HandleExtVectorTypeAttribute(Decl *d, const AttributeList &Attr); void HandleAlignedAttribute(Decl *d, const AttributeList &Attr); void HandleAliasAttribute(Decl *d, const AttributeList &Attr); |

