class PreprocessingRecord::PPEntityID

Declaration

class PreprocessingRecord::PPEntityID { /* full declaration omitted */ };

Description

Global (loaded or local) ID for a preprocessed entity. Negative values are used to indicate preprocessed entities loaded from the external source while non-negative values are used to indicate preprocessed entities introduced by the current preprocessor. Value -1 corresponds to element 0 in the loaded entities vector, value -2 corresponds to element 1 in the loaded entities vector, etc. Value 0 is an invalid value, the index to local entities is 1-based, value 1 corresponds to element 0 in the local entities vector, value 2 corresponds to element 1 in the local entities vector, etc.

Declared at: clang/include/clang/Lex/PreprocessingRecord.h:337

Member Variables

private int ID = 0

Method Overview

Methods

PPEntityID(int ID)

Declared at: clang/include/clang/Lex/PreprocessingRecord.h:342

Parameters

int ID

PPEntityID()

Declared at: clang/include/clang/Lex/PreprocessingRecord.h:345