Home
last modified time | relevance | path

Searched refs:SpellingIndex (Results 1 – 4 of 4) sorted by relevance

/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DAttributeCommonInfo.h83 unsigned SpellingIndex : 4;
97 constexpr Form(Syntax SyntaxUsed, unsigned SpellingIndex, bool IsAlignas, in Form() argument
99 : SyntaxUsed(SyntaxUsed), SpellingIndex(SpellingIndex), in Form()
103 : SyntaxUsed(AS_Keyword), SpellingIndex(SpellingNotCalculated), in Form()
108 unsigned getSpellingIndex() const { return SpellingIndex; } in getSpellingIndex()
128 : SyntaxUsed(SyntaxUsed), SpellingIndex(SpellingNotCalculated), in Form()
133 unsigned SpellingIndex : 4;
146 SpellingIndex(FormUsed.getSpellingIndex()), in AttributeCommonInfo()
176 return Form(getSyntax(), SpellingIndex, IsAlignas, in getForm()
235 ? SpellingIndex in getAttributeSpellingListIndex()
[all …]
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DAttrImpl.cpp22 unsigned SpellingIndex = getAttributeSpellingListIndex(); in printPrettyPragma() local
25 if (SpellingIndex == Pragma_nounroll || in printPrettyPragma()
26 SpellingIndex == Pragma_nounroll_and_jam) in printPrettyPragma()
28 else if (SpellingIndex == Pragma_unroll || in printPrettyPragma()
29 SpellingIndex == Pragma_unroll_and_jam) { in printPrettyPragma()
34 assert(SpellingIndex == Pragma_clang_loop && "Unexpected spelling"); in printPrettyPragma()
70 unsigned SpellingIndex = getAttributeSpellingListIndex(); in getDiagnosticName() local
71 if (SpellingIndex == Pragma_nounroll) in getDiagnosticName()
73 else if (SpellingIndex == Pragma_unroll) in getDiagnosticName()
76 else if (SpellingIndex == Pragma_nounroll_and_jam) in getDiagnosticName()
[all …]
/freebsd/contrib/llvm-project/clang/lib/Serialization/
H A DASTReaderDecl.cpp3140 unsigned SpellingIndex = Record.readInt(); in readAttr() local
3143 SpellingIndex == AlignedAttr::Keyword_alignas); in readAttr()
3148 {AttributeCommonInfo::Syntax(Syntax), SpellingIndex, in readAttr()
/freebsd/contrib/llvm-project/clang/utils/TableGen/
H A DClangAttrEmitter.cpp2659 StringRef SpellingIndex) { in emitFormInitializer() argument
2663 << SpellingIndex << ", " << (IsAlignas ? "true" : "false") in emitFormInitializer()