clang-tools  15.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>

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

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. More...
 

Detailed Description

Represents a header file to be #include'd.

Definition at line 39 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 43 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: