struct Preprocessor::ModuleMacroInfo

Declaration

struct Preprocessor::ModuleMacroInfo { /* full declaration omitted */ };

Description

Information about a name that has been used to define a module macro.

Declared at: clang/include/clang/Lex/Preprocessor.h:672

Member Variables

public clang::MacroDirective* MD
The most recent macro directive for this identifier.
public llvm::TinyPtrVector<ModuleMacro*> ActiveModuleMacros
The active module macros for this identifier.
public unsigned int ActiveModuleMacrosGeneration = 0
The generation number at which we last updated ActiveModuleMacros.
public bool IsAmbiguous = false
Whether this macro name is ambiguous.
public llvm::TinyPtrVector<ModuleMacro*> OverriddenMacros
The module macros that are overridden by this macro.

Method Overview

Methods

ΒΆModuleMacroInfo(clang::MacroDirective* MD)

Declared at: clang/include/clang/Lex/Preprocessor.h:689

Parameters

clang::MacroDirective* MD