|
clang 24.0.0git
|
Represents a single header directive to be inserted in a batch operation. More...
#include "clang/Tooling/Inclusions/HeaderIncludes.h"
Public Types | |
| enum class | QuoteStyle { AUTO , ANGLED , QUOTED } |
Public Member Functions | |
| HeaderToInsert (llvm::StringRef RawOrSpelledHeader, IncludeDirective Directive=IncludeDirective::Include, QuoteStyle QuoteStyle=QuoteStyle::AUTO) | |
Public Attributes | |
| std::string | Header |
| IncludeDirective | Directive |
| bool | IsAngled |
Represents a single header directive to be inserted in a batch operation.
Usage:
Definition at line 94 of file HeaderIncludes.h.
|
strong |
| Enumerator | |
|---|---|
| AUTO | |
| ANGLED | |
| QUOTED | |
Definition at line 95 of file HeaderIncludes.h.
| clang::tooling::HeaderIncludes::HeaderToInsert::HeaderToInsert | ( | llvm::StringRef | RawOrSpelledHeader, |
| IncludeDirective | Directive = IncludeDirective::Include, | ||
| QuoteStyle | QuoteStyle = QuoteStyle::AUTO ) |
Definition at line 519 of file HeaderIncludes.cpp.
References Directive, and clang::if().
| IncludeDirective clang::tooling::HeaderIncludes::HeaderToInsert::Directive |
Definition at line 100 of file HeaderIncludes.h.
Referenced by HeaderToInsert(), and clang::tooling::HeaderIncludes::insert().
| std::string clang::tooling::HeaderIncludes::HeaderToInsert::Header |
Definition at line 98 of file HeaderIncludes.h.
Referenced by clang::tooling::HeaderIncludes::insert().
| bool clang::tooling::HeaderIncludes::HeaderToInsert::IsAngled |
Definition at line 104 of file HeaderIncludes.h.
Referenced by clang::tooling::HeaderIncludes::insert().