Searched refs:SyntaxUsed (Results 1 – 2 of 2) sorted by relevance
/external/clang/lib/Sema/ |
D | AttributeList.cpp | 113 AttributeList::Syntax SyntaxUsed) { in normalizeAttrName() argument 116 bool IsGNU = SyntaxUsed == AttributeList::AS_GNU || in normalizeAttrName() 117 (SyntaxUsed == AttributeList::AS_CXX11 && ScopeName == "gnu"); in normalizeAttrName() 127 Syntax SyntaxUsed) { in getKind() argument 134 AttrName = normalizeAttrName(AttrName, FullName, SyntaxUsed); in getKind() 138 if (ScopeName || SyntaxUsed == AS_CXX11) in getKind() 142 return ::getAttrKind(FullName, SyntaxUsed); in getKind() 150 (AttributeList::Syntax)SyntaxUsed); in getAttributeSpellingListIndex()
|
/external/clang/include/clang/Sema/ |
D | AttributeList.h | 102 unsigned SyntaxUsed : 3; variable 221 SyntaxUsed(syntaxUsed), Invalid(false), UsedAsTypeAttr(false), in AttributeList() 238 ScopeLoc(scopeLoc), EllipsisLoc(), NumArgs(1), SyntaxUsed(syntaxUsed), in AttributeList() 259 ScopeLoc(scopeLoc), EllipsisLoc(), NumArgs(3), SyntaxUsed(syntaxUsed), in AttributeList() 277 ScopeLoc(scopeLoc), EllipsisLoc(), NumArgs(1), SyntaxUsed(syntaxUsed), in AttributeList() 295 ScopeLoc(scopeLoc), EllipsisLoc(), NumArgs(0), SyntaxUsed(syntaxUsed), in AttributeList() 309 ScopeLoc(scopeLoc), EllipsisLoc(), NumArgs(0), SyntaxUsed(syntaxUsed), in AttributeList() 349 bool isDeclspecAttribute() const { return SyntaxUsed == AS_Declspec; } in isDeclspecAttribute() 351 return SyntaxUsed == AS_CXX11 || isAlignasAttribute(); in isCXX11Attribute() 354 return SyntaxUsed == AS_Keyword || SyntaxUsed == AS_ContextSensitiveKeyword; in isKeywordAttribute() [all …]
|