clang 20.0.0git
|
#include "clang/Basic/Visibility.h"
Public Member Functions | |
LinkageInfo () | |
LinkageInfo (Linkage L, Visibility V, bool E) | |
Linkage | getLinkage () const |
Visibility | getVisibility () const |
bool | isVisibilityExplicit () const |
void | setLinkage (Linkage L) |
void | mergeLinkage (Linkage L) |
void | mergeLinkage (LinkageInfo other) |
void | mergeExternalVisibility (Linkage L) |
void | mergeExternalVisibility (LinkageInfo Other) |
void | mergeVisibility (Visibility newVis, bool newExplicit) |
Merge in the visibility 'newVis'. | |
void | mergeVisibility (LinkageInfo other) |
void | merge (LinkageInfo other) |
Merge both linkage and visibility. | |
void | mergeMaybeWithVisibility (LinkageInfo other, bool withVis) |
Merge linkage and conditionally merge visibility. | |
Static Public Member Functions | |
static LinkageInfo | external () |
static LinkageInfo | internal () |
static LinkageInfo | uniqueExternal () |
static LinkageInfo | none () |
static LinkageInfo | visible_none () |
Definition at line 53 of file Visibility.h.
|
inline |
Definition at line 63 of file Visibility.h.
Referenced by external(), internal(), none(), uniqueExternal(), and visible_none().
|
inline |
Definition at line 66 of file Visibility.h.
References E, getLinkage(), getVisibility(), isVisibilityExplicit(), and V.
|
inlinestatic |
Definition at line 72 of file Visibility.h.
References LinkageInfo().
Referenced by clang::LinkageComputer::computeTypeLinkageInfo(), and getExternalLinkageFor().
|
inline |
Definition at line 88 of file Visibility.h.
Referenced by clang::CodeGen::CodeGenModule::GetAddrOfTemplateParamObject(), clang::NamedDecl::getLinkageInternal(), clang::LinkageComputer::getLVForDecl(), clang::LinkageComputer::getTypeLinkageAndVisibility(), clang::CodeGen::CodeGenModule::GetVCallVisibilityLevel(), clang::CodeGen::CodeGenModule::HasHiddenLTOVisibility(), clang::NamedDecl::isLinkageValid(), clang::Type::isLinkageValid(), LinkageInfo(), mergeExternalVisibility(), mergeLinkage(), and setLinkageForGV().
|
inline |
Definition at line 89 of file Visibility.h.
Referenced by clang::NamedDecl::getVisibility(), clang::CodeGen::CodeGenModule::HasHiddenLTOVisibility(), LinkageInfo(), mergeVisibility(), and clang::CodeGen::CodeGenModule::setGlobalVisibility().
|
inlinestatic |
Definition at line 75 of file Visibility.h.
References clang::DefaultVisibility, clang::Internal, and LinkageInfo().
Referenced by clang::LinkageComputer::computeLVForDecl(), and clang::LinkageComputer::getLVForDecl().
|
inline |
Definition at line 90 of file Visibility.h.
Referenced by LinkageInfo(), mergeVisibility(), and clang::CodeGen::CodeGenModule::setGlobalVisibility().
|
inline |
Merge both linkage and visibility.
Definition at line 137 of file Visibility.h.
References mergeLinkage(), and mergeVisibility().
Referenced by clang::LinkageComputer::computeLVForDecl(), and clang::LinkageComputer::computeTypeLinkageInfo().
|
inline |
Definition at line 101 of file Visibility.h.
References clang::External, getLinkage(), clang::isExternallyVisible(), clang::None, setLinkage(), clang::UniqueExternal, and clang::VisibleNone.
Referenced by mergeExternalVisibility().
|
inline |
Definition at line 111 of file Visibility.h.
References mergeExternalVisibility(), and clang::Other.
|
inline |
Definition at line 94 of file Visibility.h.
References getLinkage(), clang::minLinkage(), and setLinkage().
Referenced by merge(), mergeLinkage(), and mergeMaybeWithVisibility().
|
inline |
Definition at line 97 of file Visibility.h.
References getLinkage(), and mergeLinkage().
|
inline |
Merge linkage and conditionally merge visibility.
Definition at line 143 of file Visibility.h.
References mergeLinkage(), and mergeVisibility().
|
inline |
Definition at line 132 of file Visibility.h.
References getVisibility(), isVisibilityExplicit(), and mergeVisibility().
|
inline |
Merge in the visibility 'newVis'.
Definition at line 116 of file Visibility.h.
References getVisibility().
Referenced by merge(), mergeMaybeWithVisibility(), and mergeVisibility().
|
inlinestatic |
Definition at line 81 of file Visibility.h.
References clang::DefaultVisibility, LinkageInfo(), and clang::None.
Referenced by clang::LinkageComputer::computeLVForDecl().
|
inline |
Definition at line 92 of file Visibility.h.
Referenced by mergeExternalVisibility(), mergeLinkage(), and setLinkageForGV().
|
inlinestatic |
Definition at line 78 of file Visibility.h.
References clang::DefaultVisibility, LinkageInfo(), and clang::UniqueExternal.
|
inlinestatic |
Definition at line 84 of file Visibility.h.
References clang::DefaultVisibility, LinkageInfo(), and clang::VisibleNone.
Referenced by clang::LinkageComputer::computeLVForDecl().