Home
last modified time | relevance | path

Searched refs:Keyword (Results 1 – 25 of 60) sorted by relevance

123

/freebsd-14.2/contrib/llvm-project/clang/lib/ExtractAPI/
H A DDeclarationFragments.cpp85 case DeclarationFragments::FragmentKind::Keyword: in getFragmentKindString()
113 .Case("keyword", DeclarationFragments::FragmentKind::Keyword) in parseFragmentKindFromString()
136 .append("throw", DeclarationFragments::FragmentKind::Keyword) in getExceptionSpecificationString()
152 .append("false", DeclarationFragments::FragmentKind::Keyword) in getExceptionSpecificationString()
158 .append("true", DeclarationFragments::FragmentKind::Keyword) in getExceptionSpecificationString()
259 ElaboratedTypeKeyword Keyword = ET->getKeyword(); in getFragmentsForType() local
260 if (Keyword != ElaboratedTypeKeyword::None) { in getFragmentsForType()
262 .append(ElaboratedType::getKeywordName(Keyword), in getFragmentsForType()
263 DeclarationFragments::FragmentKind::Keyword) in getFragmentsForType()
486 DeclarationFragments::FragmentKind::Keyword) in getFragmentsForVar()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/tools/llvm-pdbutil/
H A DPrettyTypedefDumper.cpp32 WithColor(Printer, PDB_ColorItem::Keyword).get() << "typedef "; in start()
51 WithColor(Printer, PDB_ColorItem::Keyword).get() << "enum "; in dump()
57 WithColor(Printer, PDB_ColorItem::Keyword).get() << "const "; in dump()
59 WithColor(Printer, PDB_ColorItem::Keyword).get() << "volatile "; in dump()
73 WithColor(Printer, PDB_ColorItem::Keyword).get() << " __restrict"; in dump()
82 WithColor(Printer, PDB_ColorItem::Keyword).get() << "class "; in dump()
H A DPrettyFunctionDumper.cpp77 WithColor(Printer, PDB_ColorItem::Keyword).get() << CC << " "; in start()
87 WithColor(Printer, PDB_ColorItem::Keyword).get() << CC << " "; in start()
114 WithColor(Printer, PDB_ColorItem::Keyword).get() << " const"; in start()
116 WithColor(Printer, PDB_ColorItem::Keyword).get() << " volatile"; in start()
152 WithColor(Printer, PDB_ColorItem::Keyword).get() << "virtual "; in start()
175 WithColor(Printer, PDB_ColorItem::Keyword).get() in start()
203 WithColor(Printer, PDB_ColorItem::Keyword).get() << " const"; in start()
205 WithColor(Printer, PDB_ColorItem::Keyword).get() << " volatile"; in start()
257 WithColor(Printer, PDB_ColorItem::Keyword).get() << "const "; in dump()
259 WithColor(Printer, PDB_ColorItem::Keyword).get() << "volatile "; in dump()
[all …]
H A DPrettyEnumDumper.cpp28 WithColor(Printer, PDB_ColorItem::Keyword).get() << "const "; in start()
30 WithColor(Printer, PDB_ColorItem::Keyword).get() << "volatile "; in start()
32 WithColor(Printer, PDB_ColorItem::Keyword).get() << "unaligned "; in start()
33 WithColor(Printer, PDB_ColorItem::Keyword).get() << "enum "; in start()
38 WithColor(Printer, PDB_ColorItem::Keyword).get() << "enum "; in start()
H A DPrettyVariableDumper.cpp56 WithColor(Printer, PDB_ColorItem::Keyword).get() << "static "; in start()
170 WithColor(Printer, PDB_ColorItem::Keyword).get() << " const"; in dumpRight()
172 WithColor(Printer, PDB_ColorItem::Keyword).get() << " volatile"; in dumpRight()
175 WithColor(Printer, PDB_ColorItem::Keyword).get() << " __restrict"; in dumpRight()
187 WithColor(Printer, PDB_ColorItem::Keyword).get() << CC << " "; in dump()
193 WithColor(Printer, PDB_ColorItem::Keyword).get() << " const "; in dump()
195 WithColor(Printer, PDB_ColorItem::Keyword).get() << " volatile "; in dump()
198 WithColor(Printer, PDB_ColorItem::Keyword).get() << " __restrict "; in dump()
214 WithColor(Printer, PDB_ColorItem::Keyword).get() << "typedef "; in dump()
H A DPrettyClassDefinitionDumper.cpp55 WithColor(Printer, PDB_ColorItem::Keyword).get() << "const "; in prettyPrintClassIntro()
57 WithColor(Printer, PDB_ColorItem::Keyword).get() << "volatile "; in prettyPrintClassIntro()
59 WithColor(Printer, PDB_ColorItem::Keyword).get() << "unaligned "; in prettyPrintClassIntro()
61 WithColor(Printer, PDB_ColorItem::Keyword).get() << Class.getUdtKind() << " "; in prettyPrintClassIntro()
76 WithColor(Printer, PDB_ColorItem::Keyword).get() << Base.getAccess(); in prettyPrintClassIntro()
78 WithColor(Printer, PDB_ColorItem::Keyword).get() << " virtual"; in prettyPrintClassIntro()
H A DPrettyBuiltinDumper.cpp22 WithColor(Printer, PDB_ColorItem::Keyword).get() << "const "; in start()
24 WithColor(Printer, PDB_ColorItem::Keyword).get() << "volatile "; in start()
H A DPrettyTypeDumper.cpp185 WithColor(Printer, PDB_ColorItem::Keyword).get() << "const "; in printClassDecl()
187 WithColor(Printer, PDB_ColorItem::Keyword).get() << "volatile "; in printClassDecl()
189 WithColor(Printer, PDB_ColorItem::Keyword).get() << "unaligned "; in printClassDecl()
191 WithColor(Printer, PDB_ColorItem::Keyword).get() << Class.getUdtKind() << " "; in printClassDecl()
354 WithColor(Printer, PDB_ColorItem::Keyword).get() in dumpClassLayout()
/freebsd-14.2/contrib/llvm-project/llvm/lib/AsmParser/
H A DLLLexer.cpp910 StrVal.assign(Keyword.begin(), Keyword.end()); \ in LexIdentifier()
926 StrVal.assign(Keyword.begin(), Keyword.end()); in LexIdentifier()
931 StrVal.assign(Keyword.begin(), Keyword.end()); in LexIdentifier()
935 if (Keyword.starts_with("CSK_")) { in LexIdentifier()
936 StrVal.assign(Keyword.begin(), Keyword.end()); in LexIdentifier()
940 if (Keyword == "NoDebug" || Keyword == "FullDebug" || in LexIdentifier()
941 Keyword == "LineTablesOnly" || Keyword == "DebugDirectivesOnly") { in LexIdentifier()
942 StrVal.assign(Keyword.begin(), Keyword.end()); in LexIdentifier()
946 if (Keyword == "GNU" || Keyword == "Apple" || Keyword == "None" || in LexIdentifier()
947 Keyword == "Default") { in LexIdentifier()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/MC/MCParser/
H A DCOFFMasmParser.cpp283 StringRef Keyword; in ParseDirectiveSegment() local
284 if (getParser().parseIdentifier(Keyword)) { in ParseDirectiveSegment()
287 if (Keyword.equals_insensitive("byte")) { in ParseDirectiveSegment()
289 } else if (Keyword.equals_insensitive("word")) { in ParseDirectiveSegment()
291 } else if (Keyword.equals_insensitive("dword")) { in ParseDirectiveSegment()
293 } else if (Keyword.equals_insensitive("para")) { in ParseDirectiveSegment()
295 } else if (Keyword.equals_insensitive("page")) { in ParseDirectiveSegment()
297 } else if (Keyword.equals_insensitive("align")) { in ParseDirectiveSegment()
309 } else if (Keyword.equals_insensitive("alias")) { in ParseDirectiveSegment()
325 StringSwitch<unsigned>(Keyword) in ParseDirectiveSegment()
[all …]
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Tooling/Syntax/
H A DNodes.td118 Role<"LiteralToken", Keyword<"nullptr">>,
136 Role<"LiteralToken", Keyword<"numeric_constant">>,
144 Role<"LiteralToken", Keyword<"numeric_constant">>,
175 Role<"TemplateKeyword", Optional<Keyword<"template">>>,
193 Role<"TemplateKeyword", Optional<Keyword<"template">>>,
202 Role<"IntroducerKeyword", Keyword<"this">>,
/freebsd-14.2/contrib/ntp/html/scripts/
H A Dspecial.txt3 <li class='inline'><a href='prefer.html'>Mitigation Rules and the <tt>prefer</tt> Keyword</a></li>\
11 <li class='inline'><a href='prefer.html'>Mitigation Rules and the <tt>prefer</tt> Keyword</a></li>\
/freebsd-14.2/contrib/one-true-awk/
H A Dlex.c40 typedef struct Keyword { struct
44 } Keyword; argument
46 const Keyword keywords[] = { /* keep sorted: binary searched */
499 static int binsearch(char *w, const Keyword *kp, int n) in binsearch()
519 const Keyword *kp; in word()
/freebsd-14.2/contrib/llvm-project/clang/lib/AST/
H A DQualTypeNames.cpp443 ElaboratedTypeKeyword Keyword = ElaboratedTypeKeyword::None; in getFullyQualifiedType() local
447 Keyword = ETypeInput->getKeyword(); in getFullyQualifiedType()
474 if (Prefix || Keyword != ElaboratedTypeKeyword::None) { in getFullyQualifiedType()
475 QT = Ctx.getElaboratedType(Keyword, Prefix, QT); in getFullyQualifiedType()
H A DType.cpp3104 switch (Keyword) { in getTagTypeKindForKeyword()
3124 switch (Keyword) { in KeywordIsTagTypeKind()
3139 switch (Keyword) { in getKeywordName()
3186 ID.AddInteger(llvm::to_underlying(Keyword)); in Profile()
3194 ElaboratedTypeKeyword Keyword; in isElaboratedTypeSpecifier() local
3196 Keyword = Elab->getKeyword(); in isElaboratedTypeSpecifier()
3198 Keyword = DepName->getKeyword(); in isElaboratedTypeSpecifier()
3201 Keyword = DepTST->getKeyword(); in isElaboratedTypeSpecifier()
3205 return TypeWithKeyword::KeywordIsTagTypeKind(Keyword); in isElaboratedTypeSpecifier()
4819 AutoTypeBits.Keyword = llvm::to_underlying(Keyword); in AutoType()
[all …]
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Sema/
H A DCodeCompleteConsumer.h783 const char *Keyword; member
898 CodeCompletionResult(const char *Keyword, unsigned Priority = CCP_Keyword)
899 : Keyword(Keyword), Priority(Priority), Kind(RK_Keyword), in Keyword() function
949 return Keyword; in getKeyword()
/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DSemaCoroutine.cpp185 StringRef Keyword) { in isValidCoroutineContext() argument
196 : diag::err_coroutine_outside_function) << Keyword; in isValidCoroutineContext()
671 StringRef Keyword, in checkCoroutineContext() argument
673 if (!isValidCoroutineContext(S, Loc, Keyword)) in checkCoroutineContext()
682 ScopeInfo->setFirstCoroutineStmt(Loc, Keyword); in checkCoroutineContext()
776 StringRef Keyword) { in ActOnCoroutineBodyStart() argument
780 if (!checkCoroutineContext(*this, KWLoc, Keyword)) in ActOnCoroutineBodyStart()
810 Diag(KWLoc, diag::note_declared_coroutine_here) << Keyword; in ActOnCoroutineBodyStart()
860 StringRef Keyword) { in checkSuspensionContext() argument
865 S.Diag(Loc, diag::err_coroutine_unevaluated_context) << Keyword; in checkSuspensionContext()
[all …]
H A DCodeCompleteConsumer.cpp637 return !StringRef(Result.Keyword).starts_with(Filter); in isResultFilteredOut()
686 OS << Results[I].Keyword; in ProcessCodeCompleteResults()
840 return Keyword; in getOrderedName()
/freebsd-14.2/contrib/llvm-project/clang/lib/Parse/
H A DParseDecl.cpp1302 << Keyword in ParseAvailabilityAttribute()
1318 if (Keyword == Ident_message || Keyword == Ident_replacement) { in ParseAvailabilityAttribute()
1336 if ((Keyword == Ident_introduced || Keyword == Ident_deprecated) && in ParseAvailabilityAttribute()
1368 << Keyword in ParseAvailabilityAttribute()
1476 if (Keyword != Ident_language && Keyword != Ident_defined_in && in ParseExternalSourceSymbolAttribute()
1477 Keyword != Ident_USR) { in ParseExternalSourceSymbolAttribute()
1512 << Keyword; in ParseExternalSourceSymbolAttribute()
1520 << Keyword; in ParseExternalSourceSymbolAttribute()
1529 << Keyword; in ParseExternalSourceSymbolAttribute()
1773 auto Keyword = in DiagnoseMisplacedCXX11Attribute() local
[all …]
/freebsd-14.2/contrib/llvm-project/clang/lib/Basic/
H A DIdentifierTable.cpp252 static void AddKeyword(StringRef Keyword, in AddKeyword() argument
261 Table.get(Keyword, AddResult == KS_Future ? tok::identifier : TokenCode); in AddKeyword()
268 static void AddCXXOperatorKeyword(StringRef Keyword, in AddCXXOperatorKeyword() argument
271 IdentifierInfo &Info = Table.get(Keyword, TokenCode); in AddCXXOperatorKeyword()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/AST/
H A DType.h1817 unsigned Keyword : 8;
1867 unsigned Keyword : 2;
5459 AutoType(QualType DeducedAsType, AutoTypeKeyword Keyword,
5486 return (AutoTypeKeyword)AutoTypeBits.Keyword;
5795 TypeWithKeyword(ElaboratedTypeKeyword Keyword, TypeClass tc,
5798 TypeWithKeywordBits.Keyword = llvm::to_underlying(Keyword);
5860 : TypeWithKeyword(Keyword, Elaborated, CanonType,
5904 ID.AddInteger(llvm::to_underlying(Keyword));
5936 : TypeWithKeyword(Keyword, DependentName, CanonType,
5963 ID.AddInteger(llvm::to_underlying(Keyword));
[all …]
/freebsd-14.2/contrib/llvm-project/clang/lib/Interpreter/
H A DCodeCompletion.cpp126 if (StringRef(Result.Keyword).starts_with(Prefix)) in handleKeyword()
127 Results.push_back(Result.Keyword); in handleKeyword()
/freebsd-14.2/contrib/llvm-project/clang/lib/Format/
H A DFormatTokenLexer.cpp396 const auto Keyword = *(Tokens.end() - 1); in tryMergeCSharpKeywordVariables() local
397 if (Keyword->TokenText == "$") in tryMergeCSharpKeywordVariables()
399 if (!Keywords.isCSharpKeyword(*Keyword)) in tryMergeCSharpKeywordVariables()
404 Keyword->TokenText.end() - At->TokenText.begin()); in tryMergeCSharpKeywordVariables()
405 At->ColumnWidth += Keyword->ColumnWidth; in tryMergeCSharpKeywordVariables()
406 At->setType(Keyword->getType()); in tryMergeCSharpKeywordVariables()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/DebugInfo/PDB/Native/
H A DLinePrinter.h161 Keyword, enumerator
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Basic/
H A DAttributeCommonInfo.h117 static Form Keyword(bool IsAlignas, bool IsRegularKeywordAttribute) { in Keyword() function

123