| /llvm-project-15.0.7/clang/lib/Format/ |
| H A D | TokenAnnotator.cpp | 84 Keywords(Keywords) { in AnnotatingParser() 1795 Keywords.kw_get, Keywords.kw_init, Keywords.kw_set) || in determineTokenType() 2563 Current->isOneOf(Keywords.kw_in, Keywords.kw_as)) { in getCurrentPrecedence() 3692 if (Keywords.isWordLike(Right) && Keywords.isWordLike(Left)) in spaceRequiredBefore() 3874 Left.isOneOf(Keywords.kw_function, Keywords.kw_yield, in spaceRequiredBefore() 3897 if ((Left.isOneOf(Keywords.kw_let, Keywords.kw_var, Keywords.kw_in, in spaceRequiredBefore() 3943 Right.isOneOf(Keywords.kw_as, Keywords.kw_in)) { in spaceRequiredBefore() 4611 if (Left.isOneOf(Keywords.kw_throws, Keywords.kw_extends, in canBreakBefore() 4626 Keywords.kw_readonly, Keywords.kw_override, Keywords.kw_abstract, in canBreakBefore() 4627 Keywords.kw_get, Keywords.kw_set, Keywords.kw_async, in canBreakBefore() [all …]
|
| H A D | UnwrappedLineParser.cpp | 322 CurrentLines(&Lines), Style(Style), Keywords(Keywords), in UnwrappedLineParser() 1289 Keywords.kw_in, Keywords.kw_of, Keywords.kw_as, Keywords.kw_async, in mustBeJSIdent() 1290 Keywords.kw_await, Keywords.kw_yield, Keywords.kw_finally, in mustBeJSIdent() 1291 Keywords.kw_function, Keywords.kw_import, Keywords.kw_is, in mustBeJSIdent() 1292 Keywords.kw_let, Keywords.kw_var, tok::kw_const, in mustBeJSIdent() 1293 Keywords.kw_abstract, Keywords.kw_extends, Keywords.kw_implements, in mustBeJSIdent() 1294 Keywords.kw_instanceof, Keywords.kw_interface, in mustBeJSIdent() 1295 Keywords.kw_override, Keywords.kw_throws, Keywords.kw_from)); in mustBeJSIdent() 1321 Keywords.kw_async, Keywords.kw_function, in isJSDeclOrStmt() 2017 Keywords.kw_init, Keywords.kw_set)) { in tryToParsePropertyAccessor() [all …]
|
| H A D | SortJavaScriptImports.cpp | 153 parseModuleReferences(Keywords, AnnotatedLines); in analyze() 364 parseModuleReferences(const AdditionalKeywords &Keywords, in parseModuleReferences() argument 412 if (!parseModuleReference(Keywords, Reference)) { in parseModuleReferences() 459 if (!parseModuleBindings(Keywords, Reference)) in parseModuleReference() 462 if (Current->is(Keywords.kw_from)) { in parseModuleReference() 484 if (parseStarBinding(Keywords, Reference)) in parseModuleBindings() 486 return parseNamedBindings(Keywords, Reference); in parseModuleBindings() 489 bool parseStarBinding(const AdditionalKeywords &Keywords, in parseStarBinding() argument 495 if (Current->isNot(Keywords.kw_as)) in parseStarBinding() 511 if (Current->is(Keywords.kw_from)) in parseNamedBindings() [all …]
|
| H A D | UnwrappedLineFormatter.h | 33 const AdditionalKeywords &Keywords, in UnwrappedLineFormatter() argument 37 Keywords(Keywords), SourceMgr(SourceMgr), Status(Status) {} in UnwrappedLineFormatter() 69 const AdditionalKeywords &Keywords; variable
|
| H A D | TokenAnnotator.h | 158 TokenAnnotator(const FormatStyle &Style, const AdditionalKeywords &Keywords) in TokenAnnotator() argument 159 : Style(Style), Keywords(Keywords) {} in TokenAnnotator() 207 const AdditionalKeywords &Keywords; variable
|
| H A D | UnwrappedLineFormatter.cpp | 48 : Style(Style), Keywords(Keywords), AdditionalIndent(AdditionalIndent) { in LevelIndentTracker() 117 else if ((RootToken.isOneOf(Keywords.kw_signals, Keywords.kw_qsignals) && in getIndentOffset() 121 RootToken.Next->isOneOf(Keywords.kw_slots, in getIndentOffset() 122 Keywords.kw_qslots) && in getIndentOffset() 157 const AdditionalKeywords &Keywords; member in clang::format::__anon8a591c740111::LevelIndentTracker 202 : Style(Style), Keywords(Keywords), End(Lines.end()), Next(Lines.begin()), in LineJoiner() 287 tok::kw_extern, Keywords.kw_interface)) { in tryFitMultipleLinesInOne() 715 tok::r_brace, Keywords.kw___except)) { in tryMergeSimpleBlock() 890 const AdditionalKeywords &Keywords; member in clang::format::__anon8a591c740111::LineJoiner 1269 LineJoiner Joiner(Style, Keywords, Lines); in format() [all …]
|
| H A D | FormatTokenLexer.h | 48 const AdditionalKeywords &getKeywords() { return Keywords; } in getKeywords() 112 AdditionalKeywords Keywords; variable
|
| H A D | QualifierAlignmentFixer.cpp | 207 const SourceManager &SourceMgr, const AdditionalKeywords &Keywords, in analyzeRight() argument 296 !Tok->Next->isOneOf(Keywords.kw_override, Keywords.kw_final)) { in analyzeRight() 309 const SourceManager &SourceMgr, const AdditionalKeywords &Keywords, in analyzeLeft() argument 432 const AdditionalKeywords &Keywords = Tokens.getKeywords(); in analyze() local 454 Tok = analyzeRight(SourceMgr, Keywords, Fixes, Tok, Qualifier, in analyze() 457 Tok = analyzeLeft(SourceMgr, Keywords, Fixes, Tok, Qualifier, in analyze()
|
| H A D | QualifierAlignmentFixer.h | 76 const AdditionalKeywords &Keywords, 83 const AdditionalKeywords &Keywords,
|
| H A D | UnwrappedLineParser.h | 79 const AdditionalKeywords &Keywords, 257 const AdditionalKeywords &Keywords; variable
|
| H A D | ContinuationIndenter.h | 55 const AdditionalKeywords &Keywords, 192 const AdditionalKeywords &Keywords; variable
|
| H A D | FormatTokenLexer.cpp | 33 Style(Style), IdentTable(IdentTable), Keywords(IdentTable), 310 if (!Keywords.isCSharpKeyword(*Keyword)) in tryMergeCSharpKeywordVariables() 441 tok::kw_typeof, Keywords.kw_instanceof, Keywords.kw_in) || in precedesOperand()
|
| H A D | ContinuationIndenter.cpp | 226 const AdditionalKeywords &Keywords, in ContinuationIndenter() argument 231 : Style(Style), Keywords(Keywords), SourceMgr(SourceMgr), in ContinuationIndenter() 460 Keywords.kw_dollar) && in mustBreak() 899 !Current.isOneOf(Keywords.kw_async, Keywords.kw_function))) { in addTokenOnNewLine() 1088 Current.isOneOf(Keywords.kw_implements, Keywords.kw_extends)) { in getNewLineColumn()
|
| H A D | Format.cpp | 2461 const AdditionalKeywords &Keywords) { in guessIsObjC() argument 2553 FormatTok->isOneOf(Keywords.kw_NS_CLOSED_ENUM, Keywords.kw_NS_ENUM, in guessIsObjC() 2554 Keywords.kw_NS_OPTIONS, TT_ObjCBlockLBrace, in guessIsObjC() 2566 if (guessIsObjC(SourceManager, Line->Children, Keywords)) in guessIsObjC()
|
| /llvm-project-15.0.7/clang/include/clang/Analysis/ |
| H A D | RetainSummaryManager.h | 575 template <typename... Keywords> 577 const RetainSummary *Summ, Keywords *... Kws) { 582 template <typename... Keywords> 584 Keywords *... Kws) { 588 template <typename... Keywords> 590 Keywords *... Kws) { 595 template <typename... Keywords> 597 Keywords *... Kws) {
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/refactor/ |
| H A D | Rename.cpp | 432 Keywords, enumerator 441 case InvalidName::Keywords: in toString() 454 case InvalidName::Keywords: in makeError() 494 Result = InvalidName{InvalidName::Keywords, NewName.str()}; in checkName()
|
| /llvm-project-15.0.7/mlir/lib/AsmParser/ |
| H A D | TokenKinds.def | 79 // Keywords. These turn "foo" into Token::kw_foo enums.
|
| /llvm-project-15.0.7/lldb/unittests/Language/Highlighting/ |
| H A D | HighlighterTest.cpp | 151 TEST_F(HighlighterTest, Keywords) { in TEST_F() argument
|
| /llvm-project-15.0.7/mlir/utils/vim/syntax/ |
| H A D | mlir.vim | 65 " Keywords.
|
| /llvm-project-15.0.7/llvm/utils/vim/syntax/ |
| H A D | llvm.vim | 39 " Keywords.
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/readability/ |
| H A D | IdentifierNamingCheck.cpp | 323 static constexpr StringRef Keywords[] = { in getDeclTypeName() local 334 for (StringRef Kw : Keywords) { in getDeclTypeName()
|
| /llvm-project-15.0.7/clang/include/clang/Basic/ |
| H A D | TokenKinds.def | 250 // C99 6.4.1: Keywords. These turn into kw_* tokens. 335 // C++ 2.11p1: Keywords.
|
| /llvm-project-15.0.7/clang/docs/ |
| H A D | DebuggingCoroutines.rst | 39 Keywords `co_await`, `co_yield`, or `co_return`. A `coroutine type` is a
|
| /llvm-project-15.0.7/clang/utils/TableGen/ |
| H A D | ClangAttrEmitter.cpp | 4302 Keywords, Pragma, C2x, HLSLSemantic; in EmitClangAttrParsedAttrKinds() local 4350 Matches = &Keywords; in EmitClangAttrParsedAttrKinds() 4387 StringMatcher("Name", Keywords, OS).Emit(); in EmitClangAttrParsedAttrKinds()
|
| /llvm-project-15.0.7/llvm/docs/ |
| H A D | CodingStandards.rst | 576 Use of ``class`` and ``struct`` Keywords
|