Searched refs:Keyword (Results 1 - 25 of 50) sorted by relevance

12

/freebsd-current/contrib/llvm-project/llvm/tools/llvm-pdbutil/
H A DPrettyEnumDumper.cpp28 WithColor(Printer, PDB_ColorItem::Keyword).get() << "const ";
30 WithColor(Printer, PDB_ColorItem::Keyword).get() << "volatile ";
32 WithColor(Printer, PDB_ColorItem::Keyword).get() << "unaligned ";
33 WithColor(Printer, PDB_ColorItem::Keyword).get() << "enum ";
38 WithColor(Printer, PDB_ColorItem::Keyword).get() << "enum ";
H A DPrettyTypedefDumper.cpp32 WithColor(Printer, PDB_ColorItem::Keyword).get() << "typedef ";
51 WithColor(Printer, PDB_ColorItem::Keyword).get() << "enum ";
57 WithColor(Printer, PDB_ColorItem::Keyword).get() << "const ";
59 WithColor(Printer, PDB_ColorItem::Keyword).get() << "volatile ";
73 WithColor(Printer, PDB_ColorItem::Keyword).get() << " __restrict";
82 WithColor(Printer, PDB_ColorItem::Keyword).get() << "class ";
H A DPrettyClassDefinitionDumper.cpp55 WithColor(Printer, PDB_ColorItem::Keyword).get() << "const ";
57 WithColor(Printer, PDB_ColorItem::Keyword).get() << "volatile ";
59 WithColor(Printer, PDB_ColorItem::Keyword).get() << "unaligned ";
61 WithColor(Printer, PDB_ColorItem::Keyword).get() << Class.getUdtKind() << " ";
76 WithColor(Printer, PDB_ColorItem::Keyword).get() << Base.getAccess();
78 WithColor(Printer, PDB_ColorItem::Keyword).get() << " virtual";
H A DPrettyVariableDumper.cpp56 WithColor(Printer, PDB_ColorItem::Keyword).get() << "static ";
170 WithColor(Printer, PDB_ColorItem::Keyword).get() << " const";
172 WithColor(Printer, PDB_ColorItem::Keyword).get() << " volatile";
175 WithColor(Printer, PDB_ColorItem::Keyword).get() << " __restrict";
187 WithColor(Printer, PDB_ColorItem::Keyword).get() << CC << " ";
193 WithColor(Printer, PDB_ColorItem::Keyword).get() << " const ";
195 WithColor(Printer, PDB_ColorItem::Keyword).get() << " volatile ";
198 WithColor(Printer, PDB_ColorItem::Keyword).get() << " __restrict ";
214 WithColor(Printer, PDB_ColorItem::Keyword).get() << "typedef ";
H A DPrettyFunctionDumper.cpp77 WithColor(Printer, PDB_ColorItem::Keyword).get() << CC << " ";
87 WithColor(Printer, PDB_ColorItem::Keyword).get() << CC << " ";
114 WithColor(Printer, PDB_ColorItem::Keyword).get() << " const";
116 WithColor(Printer, PDB_ColorItem::Keyword).get() << " volatile";
152 WithColor(Printer, PDB_ColorItem::Keyword).get() << "virtual ";
175 WithColor(Printer, PDB_ColorItem::Keyword).get()
203 WithColor(Printer, PDB_ColorItem::Keyword).get() << " const";
205 WithColor(Printer, PDB_ColorItem::Keyword).get() << " volatile";
257 WithColor(Printer, PDB_ColorItem::Keyword).get() << "const ";
259 WithColor(Printer, PDB_ColorItem::Keyword)
[all...]
H A DPrettyBuiltinDumper.cpp22 WithColor(Printer, PDB_ColorItem::Keyword).get() << "const ";
24 WithColor(Printer, PDB_ColorItem::Keyword).get() << "volatile ";
H A DPrettyTypeDumper.cpp185 WithColor(Printer, PDB_ColorItem::Keyword).get() << "const ";
187 WithColor(Printer, PDB_ColorItem::Keyword).get() << "volatile ";
189 WithColor(Printer, PDB_ColorItem::Keyword).get() << "unaligned ";
191 WithColor(Printer, PDB_ColorItem::Keyword).get() << Class.getUdtKind() << " ";
354 WithColor(Printer, PDB_ColorItem::Keyword).get()
H A DPrettyCompilandDumper.cpp82 ? PDB_ColorItem::Keyword
/freebsd-current/contrib/llvm-project/clang/lib/ExtractAPI/
H A DDeclarationFragments.cpp85 case DeclarationFragments::FragmentKind::Keyword:
113 .Case("keyword", DeclarationFragments::FragmentKind::Keyword)
136 .append("throw", DeclarationFragments::FragmentKind::Keyword)
144 .append("noexcept", DeclarationFragments::FragmentKind::Keyword);
150 .append("noexcept", DeclarationFragments::FragmentKind::Keyword)
152 .append("false", DeclarationFragments::FragmentKind::Keyword)
156 .append("noexcept", DeclarationFragments::FragmentKind::Keyword)
158 .append("true", DeclarationFragments::FragmentKind::Keyword)
171 Fragments.append("struct", DeclarationFragments::FragmentKind::Keyword);
173 Fragments.append("union", DeclarationFragments::FragmentKind::Keyword);
259 ElaboratedTypeKeyword Keyword = ET->getKeyword(); local
[all...]
/freebsd-current/contrib/llvm-project/llvm/lib/AsmParser/
H A DLLLexer.cpp449 /// Keyword sdiv, float, ...
491 StringRef Keyword(StartChar, CurPtr - StartChar);
495 if (Keyword == #STR) \
814 if (Keyword == STR) { \
840 if (Keyword == #STR) { \
909 if (Keyword.starts_with("DW_" #TYPE "_")) { \
910 StrVal.assign(Keyword.begin(), Keyword.end()); \
925 if (Keyword.starts_with("DIFlag")) {
926 StrVal.assign(Keyword
[all...]
/freebsd-current/contrib/llvm-project/llvm/lib/MC/MCParser/
H A DCOFFMasmParser.cpp283 StringRef Keyword; local
284 if (getParser().parseIdentifier(Keyword)) {
287 if (Keyword.equals_insensitive("byte")) {
289 } else if (Keyword.equals_insensitive("word")) {
291 } else if (Keyword.equals_insensitive("dword")) {
293 } else if (Keyword.equals_insensitive("para")) {
295 } else if (Keyword.equals_insensitive("page")) {
297 } else if (Keyword.equals_insensitive("align")) {
309 } else if (Keyword.equals_insensitive("alias")) {
321 } else if (Keyword
[all...]
/freebsd-current/contrib/one-true-awk/
H A Dlex.c40 typedef struct Keyword { struct
44 } Keyword; typedef in typeref:struct:Keyword
46 const Keyword keywords[] = { /* keep sorted: binary searched */
499 static int binsearch(char *w, const Keyword *kp, int n)
519 const Keyword *kp;
/freebsd-current/contrib/llvm-project/clang/lib/AST/
H A DQualTypeNames.cpp443 ElaboratedTypeKeyword Keyword = ElaboratedTypeKeyword::None; local
447 Keyword = ETypeInput->getKeyword();
474 if (Prefix || Keyword != ElaboratedTypeKeyword::None) {
475 QT = Ctx.getElaboratedType(Keyword, Prefix, QT);
H A DType.cpp3103 TypeWithKeyword::getTagTypeKindForKeyword(ElaboratedTypeKeyword Keyword) {
3104 switch (Keyword) {
3123 TypeWithKeyword::KeywordIsTagTypeKind(ElaboratedTypeKeyword Keyword) {
3124 switch (Keyword) {
3138 StringRef TypeWithKeyword::getKeywordName(ElaboratedTypeKeyword Keyword) {
3139 switch (Keyword) {
3160 ElaboratedTypeKeyword Keyword, NestedNameSpecifier *NNS,
3162 : TypeWithKeyword(Keyword, DependentTemplateSpecialization, Canon,
3182 ElaboratedTypeKeyword Keyword,
3186 ID.AddInteger(llvm::to_underlying(Keyword));
[all...]
/freebsd-current/contrib/llvm-project/clang/include/clang/Sema/
H A DCodeCompleteConsumer.h783 const char *Keyword;
898 CodeCompletionResult(const char *Keyword, unsigned Priority = CCP_Keyword)
899 : Keyword(Keyword), Priority(Priority), Kind(RK_Keyword),
949 return Keyword;
H A DScopeInfo.h501 void setFirstCoroutineStmt(SourceLocation Loc, StringRef Keyword) { argument
505 FirstCoroutineStmtKind = llvm::StringSwitch<unsigned char>(Keyword)
/freebsd-current/contrib/llvm-project/clang/lib/Sema/
H A DSemaCoroutine.cpp185 StringRef Keyword) {
196 : diag::err_coroutine_outside_function) << Keyword;
213 S.Diag(Loc, diag::err_coroutine_invalid_func_context) << ID << Keyword;
671 StringRef Keyword,
673 if (!isValidCoroutineContext(S, Loc, Keyword))
682 ScopeInfo->setFirstCoroutineStmt(Loc, Keyword);
776 StringRef Keyword) {
780 if (!checkCoroutineContext(*this, KWLoc, Keyword))
810 Diag(KWLoc, diag::note_declared_coroutine_here) << Keyword;
860 StringRef Keyword) {
184 isValidCoroutineContext(Sema &S, SourceLocation Loc, StringRef Keyword) argument
670 checkCoroutineContext(Sema &S, SourceLocation Loc, StringRef Keyword, bool IsImplicit = false) argument
775 ActOnCoroutineBodyStart(Scope *SC, SourceLocation KWLoc, StringRef Keyword) argument
859 checkSuspensionContext(Sema &S, SourceLocation Loc, StringRef Keyword) argument
[all...]
H A DCodeCompleteConsumer.cpp637 return !StringRef(Result.Keyword).starts_with(Filter);
686 OS << Results[I].Keyword;
840 return Keyword;
/freebsd-current/contrib/llvm-project/clang/lib/Basic/
H A DIdentifierTable.cpp78 // Language Keyword Implementation
252 static void AddKeyword(StringRef Keyword, argument
261 Table.get(Keyword, AddResult == KS_Future ? tok::identifier : TokenCode);
268 static void AddCXXOperatorKeyword(StringRef Keyword, argument
271 IdentifierInfo &Info = Table.get(Keyword, TokenCode);
865 "Keyword not known to come from a newer Standard or proposed Standard");
/freebsd-current/contrib/llvm-project/clang/lib/Parse/
H A DParseDecl.cpp1276 IdentifierInfo *Keyword = Tok.getIdentifierInfo(); local
1279 if (Keyword == Ident_strict) {
1282 << Keyword << SourceRange(StrictLoc);
1288 if (Keyword == Ident_unavailable) {
1291 << Keyword << SourceRange(UnavailableLoc);
1297 if (Keyword == Ident_deprecated && Platform->Ident &&
1302 << Keyword
1313 Diag(Tok, diag::err_expected_after) << Keyword << tok::equal;
1318 if (Keyword == Ident_message || Keyword
1465 IdentifierInfo *Keyword = Tok.getIdentifierInfo(); local
1773 auto Keyword = local
[all...]
/freebsd-current/contrib/llvm-project/clang/lib/Interpreter/
H A DCodeCompletion.cpp118 /// Converts a Keyword completion result to a completion string, and then
126 if (StringRef(Result.Keyword).starts_with(Prefix))
127 Results.push_back(Result.Keyword);
/freebsd-current/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;
5491 QualType Deduced, AutoTypeKeyword Keyword,
5795 TypeWithKeyword(ElaboratedTypeKeyword Keyword, TypeClass tc, argument
5798 TypeWithKeywordBits.Keyword = llvm::to_underlying(Keyword);
5803 return static_cast<ElaboratedTypeKeyword>(TypeWithKeywordBits.Keyword);
5819 static TagTypeKind getTagTypeKindForKeyword(ElaboratedTypeKeyword Keyword);
5858 ElaboratedType(ElaboratedTypeKeyword Keyword, NestedNameSpecifier *NNS, QualType NamedType, QualType CanonType, TagDecl *OwnedTagDecl) argument
5901 Profile(llvm::FoldingSetNodeID &ID, ElaboratedTypeKeyword Keyword, NestedNameSpecifier *NNS, QualType NamedType, TagDecl *OwnedTagDecl) argument
5934 DependentNameType(ElaboratedTypeKeyword Keyword, NestedNameSpecifier *NNS, const IdentifierInfo *Name, QualType CanonType) argument
5961 Profile(llvm::FoldingSetNodeID &ID, ElaboratedTypeKeyword Keyword, NestedNameSpecifier *NNS, const IdentifierInfo *Name) argument
[all...]
/freebsd-current/contrib/llvm-project/llvm/include/llvm/DebugInfo/PDB/Native/
H A DLinePrinter.h161 Keyword, member in class:llvm::pdb::PDB_ColorItem
/freebsd-current/contrib/llvm-project/clang/include/clang/Basic/
H A DAttributeCommonInfo.h117 static Form Keyword(bool IsAlignas, bool IsRegularKeywordAttribute) { function in class:clang::AttributeCommonInfo::Form
/freebsd-current/contrib/llvm-project/clang/lib/Format/
H A DFormatTokenLexer.cpp396 const auto Keyword = *(Tokens.end() - 1); local
397 if (Keyword->TokenText == "$")
399 if (!Keywords.isCSharpKeyword(*Keyword))
404 Keyword->TokenText.end() - At->TokenText.begin());
405 At->ColumnWidth += Keyword->ColumnWidth;
406 At->setType(Keyword->getType());

Completed in 242 milliseconds

12