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