clang: clang::installapi::HeaderFile Class Reference (original) (raw)

#include "[clang/InstallAPI/HeaderFile.h](HeaderFile%5F8h%5Fsource.html)"

Public Member Functions
HeaderFile ()=delete
HeaderFile (StringRef FullPath, HeaderType Type, StringRef IncludeName=StringRef(), std::optional< clang::Language > Language=std::nullopt)
HeaderType getType () const
StringRef getIncludeName () const
StringRef getPath () const
void setExtra (bool V=true)
void setExcluded (bool V=true)
void setUmbrellaHeader (bool V=true)
bool isExtra () const
bool isExcluded () const
bool isUmbrellaHeader () const
bool useIncludeName () const
bool operator== (const HeaderFile &Other) const
bool operator< (const HeaderFile &Other) const

Definition at line 52 of file HeaderFile.h.

clang::installapi::HeaderFile::HeaderFile ( ) delete

HeaderFile() [2/2]

clang::installapi::HeaderFile::HeaderFile ( StringRef FullPath, HeaderType Type, StringRef IncludeName = StringRef(), std::optional< clang::Language > Language = std::nullopt ) inline

getFrameworkIncludeRule()

llvm::Regex clang::installapi::HeaderFile::getFrameworkIncludeRule ( ) static

getIncludeName()

StringRef clang::installapi::HeaderFile::getIncludeName ( ) const inline

getPath()

StringRef clang::installapi::HeaderFile::getPath ( ) const inline

getType()

HeaderType clang::installapi::HeaderFile::getType ( ) const inline

isExcluded()

bool clang::installapi::HeaderFile::isExcluded ( ) const inline

isExtra()

bool clang::installapi::HeaderFile::isExtra ( ) const inline

isUmbrellaHeader()

bool clang::installapi::HeaderFile::isUmbrellaHeader ( ) const inline

operator<()

bool clang::installapi::HeaderFile::operator< ( const HeaderFile & Other) const inline

For parsing of headers based on ordering, group by type, then whether its an umbrella. Capture 'extra' headers last. This optimizes the chance of a sucessful parse for headers that violate IWYU.

Definition at line 101 of file HeaderFile.h.

References isExtra(), and clang::Other.

operator==()

bool clang::installapi::HeaderFile::operator== ( const HeaderFile & Other) const inline

setExcluded()

void clang::installapi::HeaderFile::setExcluded ( bool V = true) inline

setExtra()

void clang::installapi::HeaderFile::setExtra ( bool V = true) inline

setUmbrellaHeader()

void clang::installapi::HeaderFile::setUmbrellaHeader ( bool V = true) inline

useIncludeName()

bool clang::installapi::HeaderFile::useIncludeName ( ) const inline

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