class VisibilityMacroDirective
Declaration
class VisibilityMacroDirective : public MacroDirective { /* full declaration omitted */ };
Description
A directive for setting the module visibility of a macro.
Declared at: clang/include/clang/Lex/MacroInfo.h:468
Inherits from: MacroDirective
Member Variables
Inherited from MacroDirective:
Method Overview
- public VisibilityMacroDirective(clang::SourceLocation Loc, bool Public)
- public static bool classof(const clang::MacroDirective * MD)
- public static bool classof(const clang::VisibilityMacroDirective *)
- public bool isPublic() const
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
¶VisibilityMacroDirective(
clang::SourceLocation Loc,
bool Public)
VisibilityMacroDirective(
clang::SourceLocation Loc,
bool Public)
Declared at: clang/include/clang/Lex/MacroInfo.h:470
Parameters
- clang::SourceLocation Loc
- bool Public
¶static bool classof(
const clang::MacroDirective* MD)
static bool classof(
const clang::MacroDirective* MD)
Declared at: clang/include/clang/Lex/MacroInfo.h:479
Parameters
- const clang::MacroDirective* MD
¶static bool classof(
const clang::VisibilityMacroDirective*)
static bool classof(
const clang::VisibilityMacroDirective*)
Declared at: clang/include/clang/Lex/MacroInfo.h:483
Parameters
¶bool isPublic() const
bool isPublic() const
Description
Determine whether this macro is part of the public API of its module.
Declared at: clang/include/clang/Lex/MacroInfo.h:477