clang-tools 19.0.0git
Public Member Functions | Public Attributes | List of all members
clang::clangd::HeaderFile Struct Reference

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.
 

Detailed Description

Represents a header file to be #include'd.

Definition at line 40 of file Headers.h.

Member Function Documentation

◆ valid()

bool clang::clangd::HeaderFile::valid ( ) const

Member Data Documentation

◆ File

std::string clang::clangd::HeaderFile::File

◆ Verbatim

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().


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