clang: clang::PreprocessedEntity Class Reference (original) (raw)

Base class that describes a preprocessed entity, which may be a preprocessor directive or macro expansion. More...

#include "[clang/Lex/PreprocessingRecord.h](PreprocessingRecord%5F8h%5Fsource.html)"

Public Member Functions
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

Base class that describes a preprocessed entity, which may be a preprocessor directive or macro expansion.

Definition at line 58 of file PreprocessingRecord.h.

EntityKind

The kind of preprocessed entity an object describes.

Enumerator
InvalidKind Indicates a problem trying to load the preprocessed entity.
MacroExpansionKind A macro expansion.
MacroDefinitionKind A macro definition.
InclusionDirectiveKind An inclusion directive, such as #include, #import, or #include_next.
FirstPreprocessingDirective
LastPreprocessingDirective

Definition at line 61 of file PreprocessingRecord.h.

getKind()

EntityKind clang::PreprocessedEntity::getKind ( ) const inline

getSourceRange()

SourceRange clang::PreprocessedEntity::getSourceRange ( ) const inline

isInvalid()

bool clang::PreprocessedEntity::isInvalid ( ) const inline

operator delete() [1/3]

void clang::PreprocessedEntity::operator delete ( void * , std::size_t ) inlinenoexcept

operator delete() [2/3]

void clang::PreprocessedEntity::operator delete ( void * , void * ) inlinenoexcept

operator delete() [3/3]

operator new() [1/2]

operator new() [2/2]

void * clang::PreprocessedEntity::operator new ( size_t bytes, void * mem ) inlinenoexcept

PreprocessingRecord


The documentation for this class was generated from the following file: