Home
last modified time | relevance | path

Searched refs:IncludeInserter (Results 1 – 25 of 27) sorted by relevance

12

/external/llvm-project/clang-tools-extra/clang-tidy/utils/
DIncludeInserter.cpp20 explicit IncludeInserterCallback(IncludeInserter *Inserter) in IncludeInserterCallback()
36 IncludeInserter *Inserter;
39 IncludeInserter::IncludeInserter(IncludeSorter::IncludeStyle Style) in IncludeInserter() function in clang::tidy::utils::IncludeInserter
42 void IncludeInserter::registerPreprocessor(Preprocessor *PP) { in registerPreprocessor()
54 IncludeSorter &IncludeInserter::getOrCreate(FileID FileID) { in getOrCreate()
70 IncludeInserter::createIncludeInsertion(FileID FileID, llvm::StringRef Header) { in createIncludeInsertion()
83 IncludeInserter::createMainFileIncludeInsertion(StringRef Header) { in createMainFileIncludeInsertion()
89 void IncludeInserter::addInclude(StringRef FileName, bool IsAngled, in addInclude()
DIncludeInserter.h55 class IncludeInserter {
62 explicit IncludeInserter(IncludeSorter::IncludeStyle Style);
DCMakeLists.txt15 IncludeInserter.cpp
DTransformerClangTidyCheck.h81 IncludeInserter Inserter;
/external/llvm-project/clang-tools-extra/clang-tidy/modernize/
DReplaceRandomShuffleCheck.cpp26 IncludeInserter(Options.getLocalOrGlobal("IncludeStyle", in ReplaceRandomShuffleCheck()
48 IncludeInserter.registerPreprocessor(PP); in registerPPCallbacks()
53 Options.store(Opts, "IncludeStyle", IncludeInserter.getStyle()); in storeOptions()
94 Diag << IncludeInserter.createIncludeInsertion( in check()
DReplaceRandomShuffleCheck.h37 utils::IncludeInserter IncludeInserter;
DReplaceAutoPtrCheck.h56 utils::IncludeInserter Inserter;
DPassByValueCheck.h34 utils::IncludeInserter Inserter;
DMakeSmartPtrCheck.h49 utils::IncludeInserter Inserter;
DLoopConvertCheck.h81 utils::IncludeInserter Inserter;
/external/llvm-project/clang-tools-extra/clang-tidy/cppcoreguidelines/
DInitVariablesCheck.cpp29 IncludeInserter(Options.getLocalOrGlobal("IncludeStyle", in InitVariablesCheck()
34 Options.store(Opts, "IncludeStyle", IncludeInserter.getStyle()); in storeOptions()
54 IncludeInserter.registerPreprocessor(PP); in registerPPCallbacks()
105 Diagnostic << IncludeInserter.createIncludeInsertion( in check()
DInitVariablesCheck.h34 utils::IncludeInserter IncludeInserter;
DProBoundsConstantArrayIndexCheck.h26 utils::IncludeInserter Inserter;
/external/llvm-project/clang-tools-extra/clang-tidy/abseil/
DStringFindStartswithCheck.cpp29 IncludeInserter(Options.getLocalOrGlobal("IncludeStyle", in StringFindStartswithCheck()
108 Diagnostic << IncludeInserter.createIncludeInsertion( in check()
115 IncludeInserter.registerPreprocessor(PP); in registerPPCallbacks()
122 Options.store(Opts, "IncludeStyle", IncludeInserter.getStyle()); in storeOptions()
DStringFindStartswithCheck.h39 utils::IncludeInserter IncludeInserter; variable
/external/llvm-project/clang-tools-extra/clang-tidy/performance/
DTypePromotionInMathFnCheck.cpp34 IncludeInserter(Options.getLocalOrGlobal("IncludeStyle", in TypePromotionInMathFnCheck()
40 IncludeInserter.registerPreprocessor(PP); in registerPPCallbacks()
45 Options.store(Opts, "IncludeStyle", IncludeInserter.getStyle()); in storeOptions()
193 Diag << IncludeInserter.createIncludeInsertion( in check()
DTypePromotionInMathFnCheck.h39 utils::IncludeInserter IncludeInserter;
DMoveConstructorInitCheck.h39 utils::IncludeInserter Inserter;
DUnnecessaryValueParamCheck.h44 utils::IncludeInserter Inserter;
/external/llvm-project/clang-tools-extra/clangd/
DIncludeFixer.h37 IncludeFixer(llvm::StringRef File, std::shared_ptr<IncludeInserter> Inserter, in IncludeFixer()
74 std::shared_ptr<IncludeInserter> Inserter;
DHeaders.cpp207 void IncludeInserter::addExisting(const Inclusion &Inc) { in addExisting()
215 bool IncludeInserter::shouldInsertInclude( in shouldInsertInclude()
229 IncludeInserter::calculateIncludePath(const HeaderFile &InsertedHeader, in calculateIncludePath()
259 IncludeInserter::insert(llvm::StringRef VerbatimHeader) const { in insert()
DHeaders.h147 class IncludeInserter {
152 IncludeInserter(StringRef FileName, StringRef Code, in IncludeInserter() function
/external/llvm-project/clang-tools-extra/clangd/unittests/
DHeadersTests.cpp96 IncludeInserter Inserter(MainFile, /*Code=*/"", format::getLLVMStyle(),
115 IncludeInserter Inserter(MainFile, /*Code=*/"", format::getLLVMStyle(), in insert()
289 IncludeInserter Inserter(MainFile, /*Code=*/"", format::getLLVMStyle(), in TEST()
/external/llvm-project/llvm/utils/gn/secondary/clang-tools-extra/clang-tidy/utils/
DBUILD.gn22 "IncludeInserter.cpp",
/external/llvm-project/clang-tools-extra/unittests/clang-tidy/
DIncludeInserterTest.cpp55 utils::IncludeInserter Inserter;

12