/llvm-project/clang-tools-extra/clang-tidy/llvm/ |
H A D | IncludeOrderCheck.cpp | 36 struct IncludeDirective { struct in clang::tidy::llvm_check::__anon569c6b390111::IncludeOrderPPCallbacks 44 using FileIncludes = std::vector<IncludeDirective>; 89 IncludeDirective ID = {HashLoc, FilenameRange, std::string(FileName), in InclusionDirective() 131 IncludeDirective &LHS = FileDirectives[LHSI]; in EndOfMainFile() 132 IncludeDirective &RHS = FileDirectives[RHSI]; in EndOfMainFile() 163 const IncludeDirective &CopyFrom = FileDirectives[IncludeIndices[I]]; in EndOfMainFile()
|
/llvm-project/clang/include/clang/Tooling/Inclusions/ |
H A D | HeaderIncludes.h | 48 enum class IncludeDirective { Include, Import }; enum 78 IncludeDirective Directive) const; 91 Include(StringRef Name, tooling::Range R, IncludeDirective D) in Include() 100 IncludeDirective Directive;
|
/llvm-project/clang-tools-extra/clangd/ |
H A D | IncludeFixer.h | 38 Symbol::IncludeDirective Directive) in IncludeFixer() 61 tooling::IncludeDirective Directive = 62 tooling::IncludeDirective::Include) const; 84 const Symbol::IncludeDirective Directive;
|
H A D | ASTSignals.h | 34 Symbol::IncludeDirective InsertionDirective = 35 Symbol::IncludeDirective::Include;
|
H A D | Headers.h | 57 Symbol::IncludeDirective Directive; 256 tooling::IncludeDirective Directive) const;
|
H A D | AST.cpp | 362 Symbol::IncludeDirective 368 return Symbol::IncludeDirective::Include; in preferredIncludeDirective() 372 return Symbol::IncludeDirective::Import; in preferredIncludeDirective() 381 return Symbol::IncludeDirective::Import; in preferredIncludeDirective() 389 return Symbol::IncludeDirective::Import; in preferredIncludeDirective() 391 return Symbol::IncludeDirective::Include; in preferredIncludeDirective()
|
H A D | IncludeFixer.cpp | 252 tooling::IncludeDirective Directive) const { in insertHeader() 261 Directive == tooling::IncludeDirective::Include ? "Include" : "Import"; in insertHeader() 332 ? tooling::IncludeDirective::Import in fixesForSymbols() 333 : tooling::IncludeDirective::Include)) in fixesForSymbols()
|
H A D | AST.h | 130 Symbol::IncludeDirective
|
H A D | CodeComplete.cpp | 202 Symbol::IncludeDirective insertionDirective(const CodeCompleteOptions &Opts) { in insertionDirective() 204 return Symbol::IncludeDirective::Include; in insertionDirective() 309 Symbol::IncludeDirective Directive = insertionDirective(Opts); in headerToInsertIfAllowed() 436 Symbol::IncludeDirective Directive = insertionDirective(Opts); in CodeCompletionBuilder() 448 ? tooling::IncludeDirective::Import in CodeCompletionBuilder() 449 : tooling::IncludeDirective::Include); in CodeCompletionBuilder()
|
H A D | Headers.cpp | 340 tooling::IncludeDirective Directive) const {
|
H A D | Preamble.cpp | 402 const char *spellingForIncDirective(tok::PPKeywordKind IncludeDirective) { in spellingForIncDirective() argument 403 switch (IncludeDirective) { in spellingForIncDirective()
|
/llvm-project/clang-tools-extra/clang-tidy/portability/ |
H A D | RestrictSystemIncludesCheck.h | 59 struct IncludeDirective { struct 60 IncludeDirective() = default; 61 IncludeDirective(SourceLocation Loc, CharSourceRange Range, in IncludeDirective() function 73 using FileIncludes = llvm::SmallVector<IncludeDirective, 8>; argument
|
/llvm-project/clang-tools-extra/clang-tidy/altera/ |
H A D | KernelNameRestrictionCheck.cpp | 43 struct IncludeDirective { struct in clang::tidy::altera::__anon4abb936f0111::KernelNameRestrictionPPCallbacks 48 std::vector<IncludeDirective> IncludeDirectives; 66 IncludeDirective ID = {HashLoc, FileName}; in InclusionDirective() 93 for (const IncludeDirective &ID : IncludeDirectives) { in EndOfMainFile()
|
/llvm-project/clang-tools-extra/clangd/index/ |
H A D | Symbol.h | 90 enum IncludeDirective : uint8_t { enum 105 IncludeDirective SupportedDirectives) in IncludeHeaderWithReferences() 120 /// Bitfield of supported directives (IncludeDirective) that can be used 124 IncludeDirective supportedDirectives() const { in supportedDirectives() 125 return static_cast<IncludeDirective>(SupportedDirectives); in supportedDirectives()
|
H A D | YAMLSerialization.cpp | 61 clang::clangd::Symbol::IncludeDirective SupportedDirectives; 67 clang::clangd::Symbol::IncludeDirective SupportedDirectives) in YIncludeHeaderWithReferences() 188 template <> struct ScalarBitSetTraits<clang::clangd::Symbol::IncludeDirective> { 189 static void bitset(IO &IO, clang::clangd::Symbol::IncludeDirective &Value) { in bitset()
|
/llvm-project/clang-tools-extra/clangd/unittests/ |
H A D | ASTTests.cpp | 634 Symbol::IncludeDirective::Import); in TEST() 642 Symbol::IncludeDirective::Import); in TEST() 649 Symbol::IncludeDirective::Include); in TEST() 658 Symbol::IncludeDirective::Import); in TEST()
|
H A D | HeadersTests.cpp | 123 tooling::IncludeDirective Directive) { in insert() 283 TEST_F(HeadersTest, IncludeDirective) { in TEST_F() 383 auto Edit = insert("<y>", tooling::IncludeDirective::Include); in TEST() 387 Edit = insert("\"header.h\"", tooling::IncludeDirective::Import); in TEST() 279 TEST_F(HeadersTest,IncludeDirective) TEST_F() argument
|
H A D | ASTSignalsTests.cpp | 71 EXPECT_EQ(Signals.InsertionDirective, Symbol::IncludeDirective::Include); in TEST()
|
/llvm-project/clang/unittests/Tooling/ |
H A D | HeaderIncludesTest.cpp | 24 IncludeDirective Directive = IncludeDirective::Include) { in insert() 69 EXPECT_EQ(Expected, insert(Code, "\"a.h\"", IncludeDirective::Import)); in TEST_F() 74 EXPECT_EQ(Code, insert(Code, "\"a.h\"", IncludeDirective::Import)); in TEST_F()
|
/llvm-project/clang/lib/Tooling/Inclusions/ |
H A D | HeaderIncludes.cpp | 311 Matches[1] == "import" ? tooling::IncludeDirective::Import in HeaderIncludes() 312 : tooling::IncludeDirective::Include), in HeaderIncludes() 357 IncludeDirective Directive) const { in addExistingInclude() 389 Directive == IncludeDirective::Include ? "include" : "import"; in insert()
|
/llvm-project/clang/unittests/Format/ |
H A D | CleanupTest.cpp | 321 tooling::Replacement createInsertion(StringRef IncludeDirective) { in createInsertion() argument 322 return createReplacement(UINT_MAX, 0, IncludeDirective); in createInsertion()
|
/llvm-project/flang/lib/Parser/ |
H A D | prescan.cpp | 127 case LineClassification::Kind::IncludeDirective: in Statement() 272 case LineClassification::Kind::IncludeDirective: in Statement() 1198 lineClass.kind == LineClassification::Kind::IncludeDirective || in FixedFormContinuationLine() 1569 return {LineClassification::Kind::IncludeDirective}; in CompilerDirectiveContinuation()
|
H A D | prescan.h | 99 IncludeDirective, // #include 90 IncludeDirective, // #include global() enumerator
|
/llvm-project/clang-tools-extra/clangd/index/remote/marshalling/ |
H A D | Marshalling.cpp | 487 auto Directives = clangd::Symbol::IncludeDirective::Include; 489 Directives = static_cast<clangd::Symbol::IncludeDirective>(
|
/llvm-project/clang-tools-extra/clang-tidy/misc/ |
H A D | IncludeCleanerCheck.cpp | 226 Angled, tooling::IncludeDirective::Include)) { in check()
|