clang-tools  14.0.0git
Classes | Namespaces | Typedefs | Functions
Headers.h File Reference
#include "Protocol.h"
#include "SourceCode.h"
#include "index/Symbol.h"
#include "support/Logger.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/PPCallbacks.h"
#include "clang/Tooling/Inclusions/HeaderIncludes.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 "llvm/Support/VirtualFileSystem.h"
#include <string>
Include dependency graph for Headers.h:
This graph shows which files directly or indirectly include this file:

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::Inclusion
 
struct  clang::clangd::IncludeGraphNode
 
class  clang::clangd::IncludeStructure
 
class  clang::clangd::IncludeInserter
 
struct  llvm::DenseMapInfo< clang::clangd::IncludeStructure::HeaderID >
 

Namespaces

 clang
 ===– Representation.cpp - ClangDoc Representation --------—*- C++ -*-===//
 
 clang::clangd
 
 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>. More...
 
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. More...
 
llvm::SmallVector< llvm::StringRef, 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)