clang-tools 20.0.0git
Classes | Namespaces | Typedefs | Functions
Headers.h File Reference
#include "Protocol.h"
#include "SourceCode.h"
#include "index/Symbol.h"
#include "support/Path.h"
#include "clang/Basic/FileEntry.h"
#include "clang/Basic/TokenKinds.h"
#include "clang/Format/Format.h"
#include "clang/Frontend/CompilerInstance.h"
#include "clang/Lex/HeaderSearch.h"
#include "clang/Lex/Preprocessor.h"
#include "clang/Tooling/Inclusions/HeaderIncludes.h"
#include "clang/Tooling/Inclusions/StandardLibrary.h"
#include "llvm/ADT/ArrayRef.h"
#include "llvm/ADT/DenseSet.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/ADT/StringSet.h"
#include "llvm/Support/Error.h"
#include "llvm/Support/FileSystem/UniqueID.h"
#include <optional>
#include <string>

Go to the source code of this file.

Classes

struct  clang::clangd::HeaderFile
 Represents a header file to be #include'd. More...
 
struct  clang::clangd::SymbolInclude
 A header and directives as stored in a Symbol. More...
 
struct  clang::clangd::Inclusion
 
struct  clang::clangd::IncludeGraphNode
 
class  clang::clangd::IncludeStructure
 
class  clang::clangd::IncludeInserter
 
struct  llvm::DenseMapInfo< clang::clangd::IncludeStructure::HeaderID >
 

Namespaces

namespace  clang
 ===– Representation.cpp - ClangDoc Representation --------—*- C++ -*-===//
 
namespace  clang::clangd
 FIXME: Skip testing on windows temporarily due to the different escaping code mode.
 
namespace  llvm
 Some operations such as code completion produce a set of candidates.
 

Typedefs

using clang::clangd::IncludeGraph = llvm::StringMap< IncludeGraphNode >
 

Functions

bool clang::clangd::isLiteralInclude (llvm::StringRef Include)
 Returns true if Include is literal include like "path" or <path>.
 
llvm::Expected< HeaderFile > clang::clangd::toHeaderFile (llvm::StringRef Header, llvm::StringRef HintPath)
 Creates a HeaderFile from Header which can be either a URI or a literal include.
 
llvm::SmallVector< SymbolInclude, 1 > clang::clangd::getRankedIncludes (const Symbol &Sym)
 
llvm::raw_ostream & clang::clangd::operator<< (llvm::raw_ostream &OS, const Inclusion &Inc)
 
bool clang::clangd::operator== (const Inclusion &LHS, const Inclusion &RHS)
 
IncludeGraphNode::SourceFlag clang::clangd::operator| (IncludeGraphNode::SourceFlag A, IncludeGraphNode::SourceFlag B)
 
bool clang::clangd::operator& (IncludeGraphNode::SourceFlag A, IncludeGraphNode::SourceFlag B)
 
IncludeGraphNode::SourceFlag & clang::clangd::operator|= (IncludeGraphNode::SourceFlag &A, IncludeGraphNode::SourceFlag B)