clang-tools 20.0.0git
|
Represents a header file to be #include'd. More...
#include <Headers.h>
Public Member Functions | |
bool | valid () const |
Public Attributes | |
std::string | File |
bool | Verbatim |
If this is true, File is a literal string quoted with <> or "" that can be #included directly; otherwise, File is an absolute file path. | |
bool clang::clangd::HeaderFile::valid | ( | ) | const |
Definition at line 138 of file Headers.cpp.
References File, clang::clangd::isLiteralInclude(), and Verbatim.
Referenced by clang::clangd::IncludeInserter::calculateIncludePath(), and clang::clangd::IncludeInserter::shouldInsertInclude().
std::string clang::clangd::HeaderFile::File |
Definition at line 41 of file Headers.h.
Referenced by clang::clangd::IncludeInserter::calculateIncludePath(), clang::clangd::IncludeInserter::shouldInsertInclude(), and valid().
bool clang::clangd::HeaderFile::Verbatim |
If this is true, File
is a literal string quoted with <> or "" that can be #included directly; otherwise, File
is an absolute file path.
Definition at line 44 of file Headers.h.
Referenced by clang::clangd::IncludeInserter::calculateIncludePath(), clang::clangd::IncludeInserter::shouldInsertInclude(), and valid().