clang-tools  10.0.0svn
Classes | Namespaces | Typedefs | Functions
Preamble.h File Reference
#include "CollectMacros.h"
#include "Compiler.h"
#include "Diagnostics.h"
#include "FS.h"
#include "Headers.h"
#include "index/CanonicalIncludes.h"
#include "clang/Frontend/PrecompiledPreamble.h"
#include "clang/Tooling/CompilationDatabase.h"
#include <memory>
#include <string>
#include <vector>
Include dependency graph for Preamble.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


struct  clang::clangd::PreambleData
 The parsed preamble and associated data. More...


 ===– Representation.cpp - ClangDoc Representation --------—*- C++ -*-===//


using clang::clangd::PreambleParsedCallback = std::function< void(ASTContext &, std::shared_ptr< clang::Preprocessor >, const CanonicalIncludes &)>


std::shared_ptr< const PreambleData > clang::clangd::buildPreamble (PathRef FileName, CompilerInvocation &CI, std::shared_ptr< const PreambleData > OldPreamble, const tooling::CompileCommand &OldCompileCommand, const ParseInputs &Inputs, bool StoreInMemory, PreambleParsedCallback PreambleCallback)
 Build a preamble for the new inputs unless an old one can be reused. More...