class MacroDirective::DefInfo
Declaration
class MacroDirective::DefInfo { /* full declaration omitted */ };
Declared at: clang/include/clang/Lex/MacroInfo.h:362
Member Variables
- private clang::DefMacroDirective* DefDirective = nullptr
- private clang::SourceLocation UndefLoc
- private bool IsPublic = true
Method Overview
- public DefInfo()
- public DefInfo(clang::DefMacroDirective * DefDirective, clang::SourceLocation UndefLoc, bool isPublic)
- public const clang::DefMacroDirective * getDirective() const
- public clang::DefMacroDirective * getDirective()
- public inline clang::SourceLocation getLocation() const
- public inline clang::MacroInfo * getMacroInfo()
- public const clang::MacroInfo * getMacroInfo() const
- public inline clang::MacroDirective::DefInfo getPreviousDefinition()
- public const clang::MacroDirective::DefInfo getPreviousDefinition() const
- public clang::SourceLocation getUndefLocation() const
- public bool isInvalid() const
- public bool isPublic() const
- public bool isUndefined() const
- public bool isValid() const
- public bool operator bool() const
Methods
¶DefInfo()
DefInfo()
Declared at: clang/include/clang/Lex/MacroInfo.h:368
¶DefInfo(clang::DefMacroDirective* DefDirective,
clang::SourceLocation UndefLoc,
bool isPublic)
DefInfo(clang::DefMacroDirective* DefDirective,
clang::SourceLocation UndefLoc,
bool isPublic)
Declared at: clang/include/clang/Lex/MacroInfo.h:369
Parameters
- clang::DefMacroDirective* DefDirective
- clang::SourceLocation UndefLoc
- bool isPublic
¶const clang::DefMacroDirective* getDirective()
const
const clang::DefMacroDirective* getDirective()
const
Declared at: clang/include/clang/Lex/MacroInfo.h:373
¶clang::DefMacroDirective* getDirective()
clang::DefMacroDirective* getDirective()
Declared at: clang/include/clang/Lex/MacroInfo.h:374
¶inline clang::SourceLocation getLocation() const
inline clang::SourceLocation getLocation() const
Declared at: clang/include/clang/Lex/MacroInfo.h:376
¶inline clang::MacroInfo* getMacroInfo()
inline clang::MacroInfo* getMacroInfo()
Declared at: clang/include/clang/Lex/MacroInfo.h:377
¶const clang::MacroInfo* getMacroInfo() const
const clang::MacroInfo* getMacroInfo() const
Declared at: clang/include/clang/Lex/MacroInfo.h:379
¶inline clang::MacroDirective::DefInfo
getPreviousDefinition()
inline clang::MacroDirective::DefInfo
getPreviousDefinition()
Declared at: clang/include/clang/Lex/MacroInfo.h:393
¶const clang::MacroDirective::DefInfo
getPreviousDefinition() const
const clang::MacroDirective::DefInfo
getPreviousDefinition() const
Declared at: clang/include/clang/Lex/MacroInfo.h:395
¶clang::SourceLocation getUndefLocation() const
clang::SourceLocation getUndefLocation() const
Declared at: clang/include/clang/Lex/MacroInfo.h:383
¶bool isInvalid() const
bool isInvalid() const
Declared at: clang/include/clang/Lex/MacroInfo.h:389
¶bool isPublic() const
bool isPublic() const
Declared at: clang/include/clang/Lex/MacroInfo.h:386
¶bool isUndefined() const
bool isUndefined() const
Declared at: clang/include/clang/Lex/MacroInfo.h:384
¶bool isValid() const
bool isValid() const
Declared at: clang/include/clang/Lex/MacroInfo.h:388
¶bool operator bool() const
bool operator bool() const
Declared at: clang/include/clang/Lex/MacroInfo.h:391