r197525 - None of these attributes currently make use of an AST node, so setting ASTNode = 0 to reduce complexity. No functional change intended.
Aaron Ballman
aaron at aaronballman.com
Tue Dec 17 13:35:25 PST 2013
Author: aaronballman
Date: Tue Dec 17 15:35:24 2013
New Revision: 197525
URL: http://llvm.org/viewvc/llvm-project?rev=197525&view=rev
Log:
None of these attributes currently make use of an AST node, so setting ASTNode = 0 to reduce complexity. No functional change intended.
Modified:
cfe/trunk/include/clang/Basic/Attr.td
Modified: cfe/trunk/include/clang/Basic/Attr.td
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Basic/Attr.td?rev=197525&r1=197524&r2=197525&view=diff
==============================================================================
--- cfe/trunk/include/clang/Basic/Attr.td (original)
+++ cfe/trunk/include/clang/Basic/Attr.td Tue Dec 17 15:35:24 2013
@@ -222,6 +222,7 @@ class IgnoredAttr : Attr {
def AddressSpace : TypeAttr {
let Spellings = [GNU<"address_space">];
let Args = [IntArgument<"AddressSpace">];
+ let ASTNode = 0;
}
def Alias : Attr {
@@ -567,11 +568,13 @@ def Naked : InheritableAttr {
def NeonPolyVectorType : TypeAttr {
let Spellings = [GNU<"neon_polyvector_type">];
let Args = [IntArgument<"NumElements">];
+ let ASTNode = 0;
}
def NeonVectorType : TypeAttr {
let Spellings = [GNU<"neon_vector_type">];
let Args = [IntArgument<"NumElements">];
+ let ASTNode = 0;
}
def ReturnsTwice : InheritableAttr {
@@ -861,6 +864,7 @@ def ArcWeakrefUnavailable : InheritableA
def ObjCGC : TypeAttr {
let Spellings = [GNU<"objc_gc">];
let Args = [IdentifierArgument<"Kind">];
+ let ASTNode = 0;
}
def ObjCOwnership : InheritableAttr {
@@ -892,6 +896,7 @@ def Uuid : InheritableAttr {
def VectorSize : TypeAttr {
let Spellings = [GNU<"vector_size">, CXX11<"gnu", "vector_size">];
let Args = [ExprArgument<"NumBytes">];
+ let ASTNode = 0;
}
def VecTypeHint : InheritableAttr {
@@ -1242,18 +1247,22 @@ def Win64 : IgnoredAttr {
def Ptr32 : TypeAttr {
let Spellings = [Keyword<"__ptr32">];
+ let ASTNode = 0;
}
def Ptr64 : TypeAttr {
let Spellings = [Keyword<"__ptr64">];
+ let ASTNode = 0;
}
def SPtr : TypeAttr {
let Spellings = [Keyword<"__sptr">];
+ let ASTNode = 0;
}
def UPtr : TypeAttr {
let Spellings = [Keyword<"__uptr">];
+ let ASTNode = 0;
}
class MSInheritanceAttr : InheritableAttr {
More information about the cfe-commits
mailing list