class DefMacroDirective
Declaration
class DefMacroDirective : public MacroDirective { /* full declaration omitted */ };
Description
A directive for a defined macro or a macro imported from a module.
Declared at: clang/include/clang/Lex/MacroInfo.h:430
Inherits from: MacroDirective
Member Variables
- private clang::MacroInfo* Info
Inherited from MacroDirective:
Method Overview
- public DefMacroDirective(clang::MacroInfo * MI, clang::SourceLocation Loc)
- public DefMacroDirective(clang::MacroInfo * MI)
- public static bool classof(const clang::MacroDirective * MD)
- public static bool classof(const clang::DefMacroDirective *)
- public const clang::MacroInfo * getInfo() const
- public clang::MacroInfo * getInfo()
Inherited from MacroDirective:
- public classof
- public dump
- public findDirectiveAtLoc
- public getDefinition
- public getDefinition
- public getKind
- public getLocation
- public getMacroInfo
- public getMacroInfo
- public getPrevious
- public getPrevious
- public isDefined
- public isFromPCH
- public setIsFromPCH
- public setPrevious
Methods
¶DefMacroDirective(clang::MacroInfo* MI,
clang::SourceLocation Loc)
DefMacroDirective(clang::MacroInfo* MI,
clang::SourceLocation Loc)
Declared at: clang/include/clang/Lex/MacroInfo.h:434
Parameters
¶DefMacroDirective(clang::MacroInfo* MI)
DefMacroDirective(clang::MacroInfo* MI)
Declared at: clang/include/clang/Lex/MacroInfo.h:438
Parameters
- clang::MacroInfo* MI
¶static bool classof(
const clang::MacroDirective* MD)
static bool classof(
const clang::MacroDirective* MD)
Declared at: clang/include/clang/Lex/MacroInfo.h:445
Parameters
- const clang::MacroDirective* MD
¶static bool classof(
const clang::DefMacroDirective*)
static bool classof(
const clang::DefMacroDirective*)
Declared at: clang/include/clang/Lex/MacroInfo.h:449
Parameters
- const clang::DefMacroDirective*
¶const clang::MacroInfo* getInfo() const
const clang::MacroInfo* getInfo() const
Description
The data for the macro definition.
Declared at: clang/include/clang/Lex/MacroInfo.h:442
¶clang::MacroInfo* getInfo()
clang::MacroInfo* getInfo()
Declared at: clang/include/clang/Lex/MacroInfo.h:443