Home
last modified time | relevance | path

Searched refs:IncludeDirective (Results 1 – 10 of 10) sorted by relevance

/llvm-project-15.0.7/clang-tools-extra/clang-tidy/llvm/
H A DIncludeOrderCheck.cpp37 struct IncludeDirective { struct in clang::tidy::llvm_check::__anon3f5f5e760111::IncludeOrderPPCallbacks
45 typedef std::vector<IncludeDirective> FileIncludes;
90 IncludeDirective ID = {HashLoc, FilenameRange, std::string(FileName), in InclusionDirective()
132 IncludeDirective &LHS = FileDirectives[LHSI]; in EndOfMainFile()
133 IncludeDirective &RHS = FileDirectives[RHSI]; in EndOfMainFile()
164 const IncludeDirective &CopyFrom = FileDirectives[IncludeIndices[I]]; in EndOfMainFile()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/portability/
H A DRestrictSystemIncludesCheck.h60 struct IncludeDirective { struct
61 IncludeDirective() = default;
62 IncludeDirective(SourceLocation Loc, CharSourceRange Range, in IncludeDirective() function
74 using FileIncludes = llvm::SmallVector<IncludeDirective, 8>; argument
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/altera/
H A DKernelNameRestrictionCheck.cpp44 struct IncludeDirective { struct in clang::tidy::altera::__anona1dde68c0111::KernelNameRestrictionPPCallbacks
49 std::vector<IncludeDirective> IncludeDirectives;
67 IncludeDirective ID = {HashLoc, FileName}; in InclusionDirective()
94 for (const IncludeDirective &ID : IncludeDirectives) { in EndOfMainFile()
/llvm-project-15.0.7/flang/lib/Parser/
H A Dprescan.cpp103 case LineClassification::Kind::IncludeDirective: in Statement()
184 case LineClassification::Kind::IncludeDirective: in Statement()
906 (lineClass.kind == LineClassification::Kind::IncludeDirective || in SkipCommentLine()
1222 return {LineClassification::Kind::IncludeDirective}; in ClassifyLine()
H A Dprescan.h81 IncludeDirective, // #include enumerator
/llvm-project-15.0.7/clang/unittests/Format/
H A DCleanupTest.cpp323 tooling::Replacement createInsertion(StringRef IncludeDirective) { in createInsertion() argument
324 return createReplacement(UINT_MAX, 0, IncludeDirective); in createInsertion()
/llvm-project-15.0.7/clang-tools-extra/clangd/
H A DPreamble.cpp358 const char *spellingForIncDirective(tok::PPKeywordKind IncludeDirective) { in spellingForIncDirective() argument
359 switch (IncludeDirective) { in spellingForIncDirective()
/llvm-project-15.0.7/clang-tools-extra/clangd/unittests/
H A DHeadersTests.cpp248 TEST_F(HeadersTest, IncludeDirective) { in TEST_F() argument
/llvm-project-15.0.7/clang/lib/Format/
H A DFormat.cpp2576 struct IncludeDirective { struct
2614 FindCursorIndex(const SmallVectorImpl<IncludeDirective> &Includes, in FindCursorIndex()
2664 const SmallVectorImpl<IncludeDirective> &Includes, in sortCppIncludes()
2779 SmallVector<IncludeDirective, 16> IncludesInBlock; in sortCppIncludes()
3168 auto IncludeDirective = R.getReplacementText(); in fixCppIncludeInsertions() local
3169 bool Matched = IncludeRegex.match(IncludeDirective, &Matches); in fixCppIncludeInsertions()
/llvm-project-15.0.7/llvm/docs/TableGen/
H A DProgRef.rst247 IncludeDirective: "include" `TokString`
554 TableGenFile: (`Statement` | `IncludeDirective`