/freebsd/contrib/llvm-project/clang/lib/ExtractAPI/ |
H A D | DeclarationFragments.cpp | 109 case DeclarationFragments::FragmentKind::Keyword: in getFragmentKindString() 137 .Case("keyword", DeclarationFragments::FragmentKind::Keyword) in parseFragmentKindFromString() 160 .append("throw", DeclarationFragments::FragmentKind::Keyword) in getExceptionSpecificationString() 168 .append("noexcept", DeclarationFragments::FragmentKind::Keyword); in getExceptionSpecificationString() 174 .append("noexcept", DeclarationFragments::FragmentKind::Keyword) in getExceptionSpecificationString() 176 .append("false", DeclarationFragments::FragmentKind::Keyword) in getExceptionSpecificationString() 180 .append("noexcept", DeclarationFragments::FragmentKind::Keyword) in getExceptionSpecificationString() 182 .append("true", DeclarationFragments::FragmentKind::Keyword) in getExceptionSpecificationString() 195 Fragments.append("struct", DeclarationFragments::FragmentKind::Keyword); in getStructureTypeFragment() 197 Fragments.append("union", DeclarationFragments::FragmentKind::Keyword); in getStructureTypeFragment() [all …]
|
/freebsd/contrib/llvm-project/llvm/tools/llvm-pdbutil/ |
H A D | PrettyTypedefDumper.cpp | 32 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 D | PrettyFunctionDumper.cpp | 77 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 D | PrettyVariableDumper.cpp | 56 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 D | PrettyEnumDumper.cpp | 28 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 D | PrettyClassDefinitionDumper.cpp | 55 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 D | PrettyTypeDumper.cpp | 185 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()
|
H A D | PrettyBuiltinDumper.cpp | 22 WithColor(Printer, PDB_ColorItem::Keyword).get() << "const "; in start() 24 WithColor(Printer, PDB_ColorItem::Keyword).get() << "volatile "; in start()
|
/freebsd/contrib/llvm-project/llvm/lib/AsmParser/ |
H A D | LLLexer.cpp | 494 StringRef Keyword(StartChar, CurPtr - StartChar); in LexIdentifier() local 498 if (Keyword == #STR) \ in LexIdentifier() 825 if (Keyword == STR) { \ in LexIdentifier() 851 if (Keyword == #STR) { \ in LexIdentifier() 920 if (Keyword.starts_with("DW_" #TYPE "_")) { \ in LexIdentifier() 921 StrVal.assign(Keyword.begin(), Keyword.end()); \ in LexIdentifier() 939 if (Keyword == "dbg_" #STR) { \ in LexIdentifier() 951 if (Keyword.starts_with("DIFlag")) { in LexIdentifier() 952 StrVal.assign(Keyword.begin(), Keyword.end()); in LexIdentifier() 956 if (Keyword.starts_with("DISPFlag")) { in LexIdentifier() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/MC/MCParser/ |
H A D | COFFMasmParser.cpp | 277 StringRef Keyword; in ParseDirectiveSegment() local 278 if (getParser().parseIdentifier(Keyword)) { in ParseDirectiveSegment() 281 if (Keyword.equals_insensitive("byte")) { in ParseDirectiveSegment() 283 } else if (Keyword.equals_insensitive("word")) { in ParseDirectiveSegment() 285 } else if (Keyword.equals_insensitive("dword")) { in ParseDirectiveSegment() 287 } else if (Keyword.equals_insensitive("para")) { in ParseDirectiveSegment() 289 } else if (Keyword.equals_insensitive("page")) { in ParseDirectiveSegment() 291 } else if (Keyword.equals_insensitive("align")) { in ParseDirectiveSegment() 303 } else if (Keyword.equals_insensitive("alias")) { in ParseDirectiveSegment() 315 } else if (Keyword.equals_insensitive("readonly")) { in ParseDirectiveSegment() [all …]
|
/freebsd/contrib/llvm-project/clang/include/clang/Tooling/Syntax/ |
H A D | Nodes.td | 118 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/contrib/one-true-awk/ |
H A D | lex.c | 40 typedef struct Keyword { struct 44 } Keyword; argument 46 const Keyword keywords[] = { /* keep sorted: binary searched */ 495 static int binsearch(char *w, const Keyword *kp, int n) in binsearch() 515 const Keyword *kp; in word()
|
/freebsd/contrib/ntp/html/scripts/ |
H A D | special.txt | 3 <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/contrib/llvm-project/clang/lib/AST/ |
H A D | QualTypeNames.cpp | 444 ElaboratedTypeKeyword Keyword = ElaboratedTypeKeyword::None; in getFullyQualifiedType() local 448 Keyword = ETypeInput->getKeyword(); in getFullyQualifiedType() 475 if (Prefix || Keyword != ElaboratedTypeKeyword::None) { in getFullyQualifiedType() 476 QT = Ctx.getElaboratedType(Keyword, Prefix, QT); in getFullyQualifiedType()
|
H A D | Type.cpp | 3165 TypeWithKeyword::getTagTypeKindForKeyword(ElaboratedTypeKeyword Keyword) { in getTagTypeKindForKeyword() argument 3166 switch (Keyword) { in getTagTypeKindForKeyword() 3185 TypeWithKeyword::KeywordIsTagTypeKind(ElaboratedTypeKeyword Keyword) { in KeywordIsTagTypeKind() argument 3186 switch (Keyword) { in KeywordIsTagTypeKind() 3200 StringRef TypeWithKeyword::getKeywordName(ElaboratedTypeKeyword Keyword) { in getKeywordName() argument 3201 switch (Keyword) { in getKeywordName() 3222 ElaboratedTypeKeyword Keyword, NestedNameSpecifier *NNS, in DependentTemplateSpecializationType() argument 3224 : TypeWithKeyword(Keyword, DependentTemplateSpecialization, Canon, in DependentTemplateSpecializationType() 3244 ElaboratedTypeKeyword Keyword, in Profile() argument 3248 ID.AddInteger(llvm::to_underlying(Keyword)); in Profile() [all …]
|
/freebsd/contrib/llvm-project/clang/include/clang/Sema/ |
H A D | CodeCompleteConsumer.h | 785 const char *Keyword; member 900 CodeCompletionResult(const char *Keyword, unsigned Priority = CCP_Keyword) 901 : Keyword(Keyword), Priority(Priority), Kind(RK_Keyword), in Keyword() function 951 return Keyword; in getKeyword()
|
/freebsd/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaCoroutine.cpp | 185 StringRef Keyword) { in isValidCoroutineContext() argument 196 : diag::err_coroutine_outside_function) << Keyword; in isValidCoroutineContext() 213 S.Diag(Loc, diag::err_coroutine_invalid_func_context) << ID << Keyword; in isValidCoroutineContext() 583 StringRef Keyword, in checkCoroutineContext() argument 585 if (!isValidCoroutineContext(S, Loc, Keyword)) in checkCoroutineContext() 594 ScopeInfo->setFirstCoroutineStmt(Loc, Keyword); in checkCoroutineContext() 688 StringRef Keyword) { in ActOnCoroutineBodyStart() argument 692 if (!checkCoroutineContext(*this, KWLoc, Keyword)) in ActOnCoroutineBodyStart() 722 Diag(KWLoc, diag::note_declared_coroutine_here) << Keyword; in ActOnCoroutineBodyStart() 772 StringRef Keyword) { in checkSuspensionContext() argument [all …]
|
H A D | CodeCompleteConsumer.cpp | 637 return !StringRef(Result.Keyword).starts_with(Filter); in isResultFilteredOut() 686 OS << Results[I].Keyword; in ProcessCodeCompleteResults() 840 return Keyword; in getOrderedName()
|
/freebsd/contrib/llvm-project/clang/lib/Parse/ |
H A D | ParseDecl.cpp | 1367 IdentifierInfo *Keyword = Tok.getIdentifierInfo(); in ParseAvailabilityAttribute() local 1370 if (Keyword == Ident_strict) { in ParseAvailabilityAttribute() 1373 << Keyword << SourceRange(StrictLoc); in ParseAvailabilityAttribute() 1379 if (Keyword == Ident_unavailable) { in ParseAvailabilityAttribute() 1382 << Keyword << SourceRange(UnavailableLoc); in ParseAvailabilityAttribute() 1388 if (Keyword == Ident_deprecated && Platform->Ident && in ParseAvailabilityAttribute() 1393 << Keyword in ParseAvailabilityAttribute() 1403 if (Keyword == Ident_environment) { in ParseAvailabilityAttribute() 1406 << Keyword << SourceRange(EnvironmentLoc->Loc); in ParseAvailabilityAttribute() 1411 Diag(Tok, diag::err_expected_after) << Keyword << tok::equal; in ParseAvailabilityAttribute() [all …]
|
/freebsd/contrib/llvm-project/clang/lib/Basic/ |
H A D | IdentifierTable.cpp | 252 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/contrib/llvm-project/clang/lib/Interpreter/ |
H A D | CodeCompletion.cpp | 126 if (StringRef(Result.Keyword).starts_with(Prefix)) in handleKeyword() 127 Results.push_back(Result.Keyword); in handleKeyword()
|
/freebsd/contrib/llvm-project/clang/include/clang/AST/ |
H A D | Type.h | 2043 unsigned Keyword : 8; 2093 unsigned Keyword : 2; 6373 AutoType(QualType DeducedAsType, AutoTypeKeyword Keyword, 6400 return (AutoTypeKeyword)AutoTypeBits.Keyword; 6405 QualType Deduced, AutoTypeKeyword Keyword, 6709 TypeWithKeyword(ElaboratedTypeKeyword Keyword, TypeClass tc, 6712 TypeWithKeywordBits.Keyword = llvm::to_underlying(Keyword); 6717 return static_cast<ElaboratedTypeKeyword>(TypeWithKeywordBits.Keyword); 6733 static TagTypeKind getTagTypeKindForKeyword(ElaboratedTypeKeyword Keyword); 6735 static bool KeywordIsTagTypeKind(ElaboratedTypeKeyword Keyword); [all …]
|
/freebsd/contrib/llvm-project/clang/lib/Format/ |
H A D | FormatTokenLexer.cpp | 434 const auto Keyword = *(Tokens.end() - 1); in tryMergeCSharpKeywordVariables() local 435 if (Keyword->TokenText == "$") in tryMergeCSharpKeywordVariables() 437 if (!Keywords.isCSharpKeyword(*Keyword)) in tryMergeCSharpKeywordVariables() 442 Keyword->TokenText.end() - At->TokenText.begin()); in tryMergeCSharpKeywordVariables() 443 At->ColumnWidth += Keyword->ColumnWidth; in tryMergeCSharpKeywordVariables() 444 At->setType(Keyword->getType()); in tryMergeCSharpKeywordVariables()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/PDB/Native/ |
H A D | LinePrinter.h | 161 Keyword, enumerator
|
/freebsd/contrib/llvm-project/clang/include/clang/Basic/ |
H A D | AttributeCommonInfo.h | 117 static Form Keyword(bool IsAlignas, bool IsRegularKeywordAttribute) { in Keyword() function
|