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:

protected Previous = nullptr
protected Loc
protected MDKind
protected IsFromPCH
protected IsPublic

Method Overview

Inherited from MacroDirective:

Methods

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)

Declared at: clang/include/clang/Lex/MacroInfo.h:479

Parameters

const clang::MacroDirective* MD

static bool classof(
    const clang::VisibilityMacroDirective*)

Declared at: clang/include/clang/Lex/MacroInfo.h:483

Parameters

const clang::VisibilityMacroDirective*

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