clang API Documentation
A directive for setting the module visibility of a macro. More...
#include <MacroInfo.h>
Public Member Functions | |
VisibilityMacroDirective (SourceLocation Loc, bool Public) | |
bool | isPublic () const |
Determine whether this macro is part of the public API of its module. | |
Static Public Member Functions | |
static bool | classof (const MacroDirective *MD) |
static bool | classof (const VisibilityMacroDirective *) |
A directive for setting the module visibility of a macro.
Definition at line 537 of file MacroInfo.h.
clang::VisibilityMacroDirective::VisibilityMacroDirective | ( | SourceLocation | Loc, |
bool | Public | ||
) | [inline, explicit] |
Definition at line 539 of file MacroInfo.h.
References clang::MacroDirective::IsPublic.
static bool clang::VisibilityMacroDirective::classof | ( | const MacroDirective * | MD | ) | [inline, static] |
Reimplemented from clang::MacroDirective.
Definition at line 548 of file MacroInfo.h.
References clang::MacroDirective::getKind(), and clang::MacroDirective::MD_Visibility.
static bool clang::VisibilityMacroDirective::classof | ( | const VisibilityMacroDirective * | ) | [inline, static] |
Definition at line 551 of file MacroInfo.h.
bool clang::VisibilityMacroDirective::isPublic | ( | ) | const [inline] |
Determine whether this macro is part of the public API of its module.
Definition at line 546 of file MacroInfo.h.
References clang::MacroDirective::IsPublic.
Referenced by clang::MacroDirective::getDefinition().