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 | 126 unsigned SyntaxUsed : 3; variable 243 SyntaxUsed(syntaxUsed), Invalid(false), UsedAsTypeAttr(false), in AttributeList() 262 ScopeLoc(scopeLoc), EllipsisLoc(), NumArgs(1), SyntaxUsed(syntaxUsed), in AttributeList() 282 ScopeLoc(scopeLoc), EllipsisLoc(), NumArgs(3), SyntaxUsed(syntaxUsed), in AttributeList() 299 ScopeLoc(scopeLoc), EllipsisLoc(), NumArgs(1), SyntaxUsed(syntaxUsed), in AttributeList() 317 ScopeLoc(scopeLoc), EllipsisLoc(), NumArgs(0), SyntaxUsed(syntaxUsed), in AttributeList() 331 ScopeLoc(scopeLoc), EllipsisLoc(), NumArgs(0), SyntaxUsed(syntaxUsed), in AttributeList() 371 bool isDeclspecAttribute() const { return SyntaxUsed == AS_Declspec; } in isDeclspecAttribute() 373 return SyntaxUsed == AS_CXX11 || isAlignasAttribute(); in isCXX11Attribute() 376 return SyntaxUsed == AS_Keyword || SyntaxUsed == AS_ContextSensitiveKeyword; in isKeywordAttribute() [all …]
|