Home
last modified time | relevance | path

Searched refs:PreamblePatch (Results 1 – 5 of 5) sorted by relevance

/external/llvm-project/clang-tools-extra/clangd/
DPreamble.h99 class PreamblePatch {
102 static PreamblePatch unmodified(const PreambleData &Preamble);
107 static PreamblePatch create(llvm::StringRef FileName,
130 PreamblePatch() = default;
DPreamble.cpp399 PreamblePatch PreamblePatch::create(llvm::StringRef FileName, in create()
419 return PreamblePatch::unmodified(Baseline); in create()
425 return PreamblePatch::unmodified(Baseline); in create()
432 return PreamblePatch::unmodified(Baseline); in create()
434 PreamblePatch PP; in create()
503 void PreamblePatch::apply(CompilerInvocation &CI) const { in apply()
519 std::vector<Inclusion> PreamblePatch::preambleIncludes() const { in preambleIncludes()
523 PreamblePatch PreamblePatch::unmodified(const PreambleData &Preamble) { in unmodified()
524 PreamblePatch PP; in unmodified()
DParsedAST.cpp265 llvm::Optional<PreamblePatch> Patch; in build()
267 Patch = PreamblePatch::create(Filename, Inputs, *Preamble); in build()
DCodeComplete.cpp1056 const llvm::Optional<PreamblePatch> Patch;
1843 PreamblePatch::create(FileName, ParseInput, Preamble), ParseInput}); in signatureHelp()
/external/llvm-project/clang-tools-extra/clangd/unittests/
DPreambleTests.cpp62 auto PP = PreamblePatch::create(testPath(TU.Filename), PI, *BaselinePreamble); in collectPatchedIncludes()
186 auto PP = PreamblePatch::create(testPath(TU.Filename), TU.inputs(FS), in TEST()
224 return PreamblePatch::create(testPath("main.cpp"), TU.inputs(FS), in TEST()
492 TEST(PreamblePatch, ModifiedBounds) { in TEST() argument
522 auto PP = PreamblePatch::create(testPath(TU.Filename), TU.inputs(FS), in TEST()