clang-tools  14.0.0git
Public Member Functions | Public Attributes | List of all members
clang::clangd::IncludeStructure Class Reference

#include <Headers.h>

Collaboration diagram for clang::clangd::IncludeStructure:
Collaboration graph
[legend]

Public Member Functions

llvm::ArrayRef< std::string > allHeaders () const
 
llvm::StringMap< unsigned > includeDepth (llvm::StringRef Root) const
 
void recordInclude (llvm::StringRef IncludingName, llvm::StringRef IncludedName, llvm::StringRef IncludedRealName)
 

Public Attributes

std::vector< InclusionMainFileIncludes
 

Detailed Description

Definition at line 113 of file Headers.h.

Member Function Documentation

◆ allHeaders()

llvm::ArrayRef<std::string> clang::clangd::IncludeStructure::allHeaders ( ) const
inline

Definition at line 118 of file Headers.h.

◆ includeDepth()

llvm::StringMap< unsigned > clang::clangd::IncludeStructure::includeDepth ( llvm::StringRef  Root) const

Definition at line 175 of file Headers.cpp.

◆ recordInclude()

void clang::clangd::IncludeStructure::recordInclude ( llvm::StringRef  IncludingName,
llvm::StringRef  IncludedName,
llvm::StringRef  IncludedRealName 
)

Definition at line 157 of file Headers.cpp.

Member Data Documentation

◆ MainFileIncludes

std::vector<Inclusion> clang::clangd::IncludeStructure::MainFileIncludes

Definition at line 115 of file Headers.h.


The documentation for this class was generated from the following files: