Lines Matching defs:SyntaxUsed
87 unsigned SyntaxUsed : 4;
103 constexpr Form(Syntax SyntaxUsed, unsigned SpellingIndex, bool IsAlignas,
105 : SyntaxUsed(SyntaxUsed), SpellingIndex(SpellingIndex),
109 : SyntaxUsed(AS_Keyword), SpellingIndex(SpellingNotCalculated),
113 Syntax getSyntax() const { return Syntax(SyntaxUsed); }
133 constexpr Form(Syntax SyntaxUsed)
134 : SyntaxUsed(SyntaxUsed), SpellingIndex(SpellingNotCalculated),
138 unsigned SyntaxUsed : 4;
151 SyntaxUsed(FormUsed.getSyntax()),
155 assert(SyntaxUsed >= AS_GNU && SyntaxUsed <= AS_Implicit &&
180 Syntax getSyntax() const { return Syntax(SyntaxUsed); }
200 bool isDeclspecAttribute() const { return SyntaxUsed == AS_Declspec; }
201 bool isMicrosoftAttribute() const { return SyntaxUsed == AS_Microsoft; }
206 bool isCXX11Attribute() const { return SyntaxUsed == AS_CXX11 || IsAlignas; }
208 bool isC23Attribute() const { return SyntaxUsed == AS_C23; }
225 bool isGNUAttribute() const { return SyntaxUsed == AS_GNU; }
228 return SyntaxUsed == AS_Keyword || SyntaxUsed == AS_ContextSensitiveKeyword;
234 return SyntaxUsed == AS_ContextSensitiveKeyword;
247 const IdentifierInfo *Scope, Syntax SyntaxUsed);