clang-tools
10.0.0
|
#include "HeaderSourceSwitch.h"
#include "AST.h"
#include "Logger.h"
#include "SourceCode.h"
#include "index/SymbolCollector.h"
#include "clang/AST/Decl.h"
Go to the source code of this file.
Namespaces | |
clang | |
===– Representation.cpp - ClangDoc Representation --------—*- C++ -*-===// | |
clang::clangd | |
Functions | |
llvm::Optional< Path > | clang::clangd::getCorrespondingHeaderOrSource (const Path &OriginalFile, llvm::IntrusiveRefCntPtr< llvm::vfs::FileSystem > VFS) |
Given a header file, returns the best matching source file, and vice visa. More... | |
llvm::Optional< Path > | clang::clangd::getCorrespondingHeaderOrSource (const Path &OriginalFile, ParsedAST &AST, const SymbolIndex *Index) |
Given a header file, returns the best matching source file, and vice visa. More... | |
std::vector< const Decl * > | clang::clangd::getIndexableLocalDecls (ParsedAST &AST) |
Returns all indexable decls that are present in the main file of the AST. More... | |