clang 20.0.0git
Classes | Namespaces | Functions
PreprocessingRecord.h File Reference
#include "clang/Basic/IdentifierTable.h"
#include "clang/Basic/LLVM.h"
#include "clang/Basic/SourceLocation.h"
#include "clang/Lex/PPCallbacks.h"
#include "llvm/ADT/DenseMap.h"
#include "llvm/ADT/PointerUnion.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/ADT/iterator.h"
#include "llvm/ADT/iterator_range.h"
#include "llvm/Support/Allocator.h"
#include "llvm/Support/Compiler.h"
#include <cassert>
#include <cstddef>
#include <iterator>
#include <optional>
#include <utility>
#include <vector>

Go to the source code of this file.

Classes

class  clang::PreprocessedEntity
 Base class that describes a preprocessed entity, which may be a preprocessor directive or macro expansion. More...
 
class  clang::PreprocessingDirective
 Records the presence of a preprocessor directive. More...
 
class  clang::MacroDefinitionRecord
 Record the location of a macro definition. More...
 
class  clang::MacroExpansion
 Records the location of a macro expansion. More...
 
class  clang::InclusionDirective
 Record the location of an inclusion directive, such as an #include or #import statement. More...
 
class  clang::ExternalPreprocessingRecordSource
 An abstract class that should be subclassed by any external source of preprocessing record entries. More...
 
class  clang::PreprocessingRecord
 A record of the steps taken while preprocessing a source file, including the various preprocessing directives processed, macros expanded, etc. More...
 
class  clang::PreprocessingRecord::iterator
 Iteration over the preprocessed entities. More...
 

Namespaces

namespace  clang
 The JSON file list parser is used to communicate input to InstallAPI.
 

Functions

void * operator new (size_t bytes, clang::PreprocessingRecord &PR, unsigned alignment=8) noexcept
 Allocates memory within a Clang preprocessing record.
 
void operator delete (void *ptr, clang::PreprocessingRecord &PR, unsigned) noexcept
 Frees memory allocated in a Clang preprocessing record.
 

Function Documentation

◆ operator delete()

void operator delete ( void *  ptr,
clang::PreprocessingRecord PR,
unsigned   
)
inlinenoexcept

Frees memory allocated in a Clang preprocessing record.

Definition at line 577 of file PreprocessingRecord.h.

◆ operator new()

void * operator new ( size_t  bytes,
clang::PreprocessingRecord PR,
unsigned  alignment = 8 
)
inlinenoexcept

Allocates memory within a Clang preprocessing record.

Definition at line 572 of file PreprocessingRecord.h.

References bytes().