clang API Documentation

Public Member Functions | Static Public Member Functions
clang::VisibilityMacroDirective Class Reference

A directive for setting the module visibility of a macro. More...

#include <MacroInfo.h>

Inheritance diagram for clang::VisibilityMacroDirective:
Inheritance graph
[legend]
Collaboration diagram for clang::VisibilityMacroDirective:
Collaboration graph
[legend]

List of all members.

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 *)

Detailed Description

A directive for setting the module visibility of a macro.

Definition at line 537 of file MacroInfo.h.


Constructor & Destructor Documentation

Definition at line 539 of file MacroInfo.h.

References clang::MacroDirective::IsPublic.


Member Function Documentation

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.

Definition at line 551 of file MacroInfo.h.

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().


The documentation for this class was generated from the following file: