clang 20.0.0git
|
Records the presence of a preprocessor directive. More...
#include "clang/Lex/PreprocessingRecord.h"
Public Member Functions | |
PreprocessingDirective (EntityKind Kind, SourceRange Range) | |
Public Member Functions inherited from clang::PreprocessedEntity | |
EntityKind | getKind () const |
Retrieve the kind of preprocessed entity stored in this object. | |
SourceRange | getSourceRange () const LLVM_READONLY |
Retrieve the source range that covers this entire preprocessed entity. | |
bool | isInvalid () const |
Returns true if there was a problem loading the preprocessed entity. | |
void * | operator new (size_t bytes, PreprocessingRecord &PR, unsigned alignment=8) noexcept |
void * | operator new (size_t bytes, void *mem) noexcept |
void | operator delete (void *ptr, PreprocessingRecord &PR, unsigned alignment) noexcept |
void | operator delete (void *, std::size_t) noexcept |
void | operator delete (void *, void *) noexcept |
Static Public Member Functions | |
static bool | classof (const PreprocessedEntity *PD) |
Additional Inherited Members | |
Public Types inherited from clang::PreprocessedEntity | |
enum | EntityKind { InvalidKind , MacroExpansionKind , MacroDefinitionKind , InclusionDirectiveKind , FirstPreprocessingDirective = MacroDefinitionKind , LastPreprocessingDirective = InclusionDirectiveKind } |
The kind of preprocessed entity an object describes. More... | |
Protected Member Functions inherited from clang::PreprocessedEntity | |
PreprocessedEntity (EntityKind Kind, SourceRange Range) | |
Records the presence of a preprocessor directive.
Definition at line 133 of file PreprocessingRecord.h.
|
inline |
Definition at line 135 of file PreprocessingRecord.h.
References Range.
|
inlinestatic |
Definition at line 139 of file PreprocessingRecord.h.
References clang::PreprocessedEntity::FirstPreprocessingDirective, clang::PreprocessedEntity::getKind(), and clang::PreprocessedEntity::LastPreprocessingDirective.