clang  6.0.0svn
Classes | Namespaces | Functions
PreprocessingRecord.h File Reference
#include "clang/Basic/LLVM.h"
#include "clang/Basic/SourceLocation.h"
#include "clang/Lex/PPCallbacks.h"
#include "llvm/ADT/DenseMap.h"
#include "llvm/ADT/None.h"
#include "llvm/ADT/Optional.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 <utility>
#include <vector>
Include dependency graph for PreprocessingRecord.h:
This graph shows which files directly or indirectly include this file:

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

 clang
 Dataflow Directional Tag Classes.
 

Functions

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

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 553 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 548 of file PreprocessingRecord.h.

References bytes().