Home
last modified time | relevance | path

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

123

/freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-pdbutil/
H A DPrettyTypedefDumper.cpp30 WithColor(Printer, PDB_ColorItem::Keyword).get() << "typedef "; in start()
49 WithColor(Printer, PDB_ColorItem::Keyword).get() << "enum "; in dump()
55 WithColor(Printer, PDB_ColorItem::Keyword).get() << "const "; in dump()
57 WithColor(Printer, PDB_ColorItem::Keyword).get() << "volatile "; in dump()
71 WithColor(Printer, PDB_ColorItem::Keyword).get() << " __restrict"; in dump()
80 WithColor(Printer, PDB_ColorItem::Keyword).get() << "class "; in dump()
H A DPrettyFunctionDumper.cpp74 WithColor(Printer, PDB_ColorItem::Keyword).get() << CC << " "; in start()
84 WithColor(Printer, PDB_ColorItem::Keyword).get() << CC << " "; in start()
111 WithColor(Printer, PDB_ColorItem::Keyword).get() << " const"; in start()
113 WithColor(Printer, PDB_ColorItem::Keyword).get() << " volatile"; in start()
149 WithColor(Printer, PDB_ColorItem::Keyword).get() << "virtual "; in start()
172 WithColor(Printer, PDB_ColorItem::Keyword).get() in start()
200 WithColor(Printer, PDB_ColorItem::Keyword).get() << " const"; in start()
202 WithColor(Printer, PDB_ColorItem::Keyword).get() << " volatile"; in start()
254 WithColor(Printer, PDB_ColorItem::Keyword).get() << "const "; in dump()
256 WithColor(Printer, PDB_ColorItem::Keyword).get() << "volatile "; in dump()
[all …]
H A DPrettyEnumDumper.cpp27 WithColor(Printer, PDB_ColorItem::Keyword).get() << "const "; in start()
29 WithColor(Printer, PDB_ColorItem::Keyword).get() << "volatile "; in start()
31 WithColor(Printer, PDB_ColorItem::Keyword).get() << "unaligned "; in start()
32 WithColor(Printer, PDB_ColorItem::Keyword).get() << "enum "; in start()
37 WithColor(Printer, PDB_ColorItem::Keyword).get() << "enum "; in start()
H A DPrettyVariableDumper.cpp54 WithColor(Printer, PDB_ColorItem::Keyword).get() << "static "; in start()
168 WithColor(Printer, PDB_ColorItem::Keyword).get() << " const"; in dumpRight()
170 WithColor(Printer, PDB_ColorItem::Keyword).get() << " volatile"; in dumpRight()
173 WithColor(Printer, PDB_ColorItem::Keyword).get() << " __restrict"; in dumpRight()
185 WithColor(Printer, PDB_ColorItem::Keyword).get() << CC << " "; in dump()
191 WithColor(Printer, PDB_ColorItem::Keyword).get() << " const "; in dump()
193 WithColor(Printer, PDB_ColorItem::Keyword).get() << " volatile "; in dump()
196 WithColor(Printer, PDB_ColorItem::Keyword).get() << " __restrict "; in dump()
212 WithColor(Printer, PDB_ColorItem::Keyword).get() << "typedef "; in dump()
H A DPrettyClassDefinitionDumper.cpp54 WithColor(Printer, PDB_ColorItem::Keyword).get() << "const "; in prettyPrintClassIntro()
56 WithColor(Printer, PDB_ColorItem::Keyword).get() << "volatile "; in prettyPrintClassIntro()
58 WithColor(Printer, PDB_ColorItem::Keyword).get() << "unaligned "; in prettyPrintClassIntro()
60 WithColor(Printer, PDB_ColorItem::Keyword).get() << Class.getUdtKind() << " "; in prettyPrintClassIntro()
75 WithColor(Printer, PDB_ColorItem::Keyword).get() << Base.getAccess(); in prettyPrintClassIntro()
77 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.cpp183 WithColor(Printer, PDB_ColorItem::Keyword).get() << "const "; in printClassDecl()
185 WithColor(Printer, PDB_ColorItem::Keyword).get() << "volatile "; in printClassDecl()
187 WithColor(Printer, PDB_ColorItem::Keyword).get() << "unaligned "; in printClassDecl()
189 WithColor(Printer, PDB_ColorItem::Keyword).get() << Class.getUdtKind() << " "; in printClassDecl()
352 WithColor(Printer, PDB_ColorItem::Keyword).get() in dumpClassLayout()
H A DLinePrinter.h144 Keyword, enumerator
H A DPrettyCompilandDumper.cpp82 ? PDB_ColorItem::Keyword in start()
/freebsd-13.1/contrib/llvm-project/llvm/lib/AsmParser/
H A DLLLexer.cpp928 StrVal.assign(Keyword.begin(), Keyword.end()); \ in LexIdentifier()
943 if (Keyword.startswith("DIFlag")) { in LexIdentifier()
944 StrVal.assign(Keyword.begin(), Keyword.end()); in LexIdentifier()
949 StrVal.assign(Keyword.begin(), Keyword.end()); in LexIdentifier()
953 if (Keyword.startswith("CSK_")) { in LexIdentifier()
954 StrVal.assign(Keyword.begin(), Keyword.end()); in LexIdentifier()
958 if (Keyword == "NoDebug" || Keyword == "FullDebug" || in LexIdentifier()
959 Keyword == "LineTablesOnly" || Keyword == "DebugDirectivesOnly") { in LexIdentifier()
960 StrVal.assign(Keyword.begin(), Keyword.end()); in LexIdentifier()
964 if (Keyword == "GNU" || Keyword == "None" || Keyword == "Default") { in LexIdentifier()
[all …]
/freebsd-13.1/contrib/llvm-project/clang/include/clang/Basic/
H A DAttr.td279 class Keyword<string name> : Spelling<name, "Keyword">;
818 let Spellings = [Keyword<"asm">, Keyword<"__asm__">];
928 let Spellings = [GCC<"cdecl">, Keyword<"__cdecl">, Keyword<"_cdecl">];
1210 let Spellings = [Keyword<"__kernel">, Keyword<"kernel">];
1234 let Spellings = [Keyword<"__read_only">, Keyword<"read_only">,
1235 Keyword<"__write_only">, Keyword<"write_only">,
1236 Keyword<"__read_write">, Keyword<"read_write">];
1268 let Spellings = [Keyword<"__local">, Keyword<"local">, Clang<"opencl_local">];
1407 let Spellings = [Keyword<"final">, Keyword<"sealed">];
2457 let Spellings = [GCC<"stdcall">, Keyword<"__stdcall">, Keyword<"_stdcall">];
[all …]
/freebsd-13.1/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-13.1/contrib/one-true-awk/
H A Dlex.c40 typedef struct Keyword { struct
44 } Keyword; argument
46 const Keyword keywords[] = { /* keep sorted: binary searched */
463 static int binsearch(char *w, const Keyword *kp, int n) in binsearch()
483 const Keyword *kp; in word()
/freebsd-13.1/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-13.1/contrib/llvm-project/clang/lib/AST/
H A DQualTypeNames.cpp441 ElaboratedTypeKeyword Keyword = ETK_None; in getFullyQualifiedType() local
445 Keyword = ETypeInput->getKeyword(); in getFullyQualifiedType()
464 if (Prefix || Keyword != ETK_None) { in getFullyQualifiedType()
465 QT = Ctx.getElaboratedType(Keyword, Prefix, QT); in getFullyQualifiedType()
H A DType.cpp2835 switch (Keyword) { in getTagTypeKindForKeyword()
2850 switch (Keyword) { in KeywordIsTagTypeKind()
2865 switch (Keyword) { in getKeywordName()
2905 ID.AddInteger(Keyword); in Profile()
2913 ElaboratedTypeKeyword Keyword; in isElaboratedTypeSpecifier() local
2915 Keyword = Elab->getKeyword(); in isElaboratedTypeSpecifier()
2917 Keyword = DepName->getKeyword(); in isElaboratedTypeSpecifier()
2920 Keyword = DepTST->getKeyword(); in isElaboratedTypeSpecifier()
2924 return TypeWithKeyword::KeywordIsTagTypeKind(Keyword); in isElaboratedTypeSpecifier()
4399 AutoTypeBits.Keyword = (unsigned)Keyword; in AutoType()
[all …]
/freebsd-13.1/contrib/llvm-project/clang/include/clang/Sema/
H A DCodeCompleteConsumer.h770 const char *Keyword; member
879 CodeCompletionResult(const char *Keyword, unsigned Priority = CCP_Keyword)
880 : Keyword(Keyword), Priority(Priority), Kind(RK_Keyword), in Keyword() argument
929 return Keyword; in getKeyword()
H A DScopeInfo.h474 void setFirstCoroutineStmt(SourceLocation Loc, StringRef Keyword) { in setFirstCoroutineStmt() argument
478 FirstCoroutineStmtKind = llvm::StringSwitch<unsigned char>(Keyword) in setFirstCoroutineStmt()
/freebsd-13.1/contrib/llvm-project/clang/lib/Sema/
H A DSemaCoroutine.cpp189 StringRef Keyword) { in isValidCoroutineContext() argument
200 : diag::err_coroutine_outside_function) << Keyword; in isValidCoroutineContext()
609 StringRef Keyword, in checkCoroutineContext() argument
611 if (!isValidCoroutineContext(S, Loc, Keyword)) in checkCoroutineContext()
620 ScopeInfo->setFirstCoroutineStmt(Loc, Keyword); in checkCoroutineContext()
710 StringRef Keyword) { in ActOnCoroutineBodyStart() argument
711 if (!checkCoroutineContext(*this, KWLoc, Keyword)) in ActOnCoroutineBodyStart()
740 Diag(KWLoc, diag::note_declared_coroutine_here) << Keyword; in ActOnCoroutineBodyStart()
790 StringRef Keyword) { in checkSuspensionContext() argument
795 S.Diag(Loc, diag::err_coroutine_unevaluated_context) << Keyword; in checkSuspensionContext()
[all …]
H A DCodeCompleteConsumer.cpp525 return !StringRef(Result.Keyword).startswith(Filter); in isResultFilteredOut()
575 OS << Results[I].Keyword; in ProcessCodeCompleteResults()
729 return Keyword; in getOrderedName()
H A DDeclSpec.cpp1405 StringRef Keyword; in Finish() local
1410 Keyword = "virtual"; in Finish()
1414 Keyword = "explicit"; in Finish()
1420 << Keyword << Hint; in Finish()
/freebsd-13.1/contrib/llvm-project/clang/lib/Basic/
H A DIdentifierTable.cpp167 static void AddKeyword(StringRef Keyword, in AddKeyword() argument
185 Table.get(Keyword, AddResult == KS_Future ? tok::identifier : TokenCode); in AddKeyword()
192 static void AddCXXOperatorKeyword(StringRef Keyword, in AddCXXOperatorKeyword() argument
195 IdentifierInfo &Info = Table.get(Keyword, TokenCode); in AddCXXOperatorKeyword()
/freebsd-13.1/contrib/llvm-project/clang/lib/Parse/
H A DParseDecl.cpp1093 if (Keyword == Ident_strict) { in ParseAvailabilityAttribute()
1116 << Keyword in ParseAvailabilityAttribute()
1132 if (Keyword == Ident_message || Keyword == Ident_replacement) { in ParseAvailabilityAttribute()
1139 if (Keyword == Ident_message) in ParseAvailabilityAttribute()
1154 if (Keyword == Ident_message) in ParseAvailabilityAttribute()
1162 if ((Keyword == Ident_introduced || Keyword == Ident_deprecated) && in ParseAvailabilityAttribute()
1194 << Keyword in ParseAvailabilityAttribute()
1302 if (Keyword != Ident_language && Keyword != Ident_defined_in) { in ParseExternalSourceSymbolAttribute()
1316 if (Keyword == Ident_language) in ParseExternalSourceSymbolAttribute()
1331 << Keyword; in ParseExternalSourceSymbolAttribute()
[all …]
/freebsd-13.1/contrib/llvm-project/clang/include/clang/AST/
H A DType.h1663 unsigned Keyword : 8;
1707 unsigned Keyword : 2;
4987 AutoType(QualType DeducedAsType, AutoTypeKeyword Keyword,
5029 return (AutoTypeKeyword)AutoTypeBits.Keyword;
5362 TypeWithKeywordBits.Keyword = Keyword;
5424 : TypeWithKeyword(Keyword, Elaborated, CanonType,
5439 assert(!(Keyword == ETK_None && NNS == nullptr) &&
5471 ID.AddInteger(Keyword);
5503 : TypeWithKeyword(Keyword, DependentName, CanonType,
5530 ID.AddInteger(Keyword);
[all …]
/freebsd-13.1/contrib/llvm-project/clang/lib/Format/
H A DFormatTokenLexer.cpp342 auto &Keyword = *(Tokens.end() - 1); in tryMergeCSharpKeywordVariables() local
345 if (!Keywords.isCSharpKeyword(*Keyword)) in tryMergeCSharpKeywordVariables()
350 Keyword->TokenText.end() - At->TokenText.begin()); in tryMergeCSharpKeywordVariables()
351 At->ColumnWidth += Keyword->ColumnWidth; in tryMergeCSharpKeywordVariables()
352 At->setType(Keyword->getType()); in tryMergeCSharpKeywordVariables()

123