#include "Compiler.h"
#include "Diagnostics.h"
#include "FS.h"
#include "Function.h"
#include "Headers.h"
#include "Path.h"
#include "Protocol.h"
#include "index/CanonicalIncludes.h"
#include "index/Index.h"
#include "clang/Frontend/FrontendAction.h"
#include "clang/Frontend/PrecompiledPreamble.h"
#include "clang/Lex/Preprocessor.h"
#include "clang/Serialization/ASTBitCodes.h"
#include "clang/Tooling/CompilationDatabase.h"
#include "clang/Tooling/Core/Replacement.h"
#include "clang/Tooling/Syntax/Tokens.h"
#include <memory>
#include <string>
#include <vector>
Go to the source code of this file.
|
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) |
| Rebuild the preamble for the new inputs unless the old one can be reused. More...
|
|
llvm::Optional< ParsedAST > | clang::clangd::buildAST (PathRef FileName, std::unique_ptr< CompilerInvocation > Invocation, const ParseInputs &Inputs, std::shared_ptr< const PreambleData > Preamble) |
| Build an AST from provided user inputs. More...
|
|
SourceLocation | clang::clangd::getBeginningOfIdentifier (const ParsedAST &Unit, const Position &Pos, const FileID FID) |
| Get the beginning SourceLocation at a specified Pos . More...
|
|
void | clang::clangd::dumpAST (ParsedAST &AST, llvm::raw_ostream &OS) |
| For testing/debugging purposes. More...
|
|