clang API Documentation
#include <Decl.h>
Public Member Functions | |
| LinkageInfo () | |
| LinkageInfo (Linkage L, Visibility V, bool E) | |
| Linkage | linkage () const |
| Visibility | visibility () const |
| bool | visibilityExplicit () const |
| void | setLinkage (Linkage L) |
| void | mergeLinkage (Linkage L) |
| void | mergeLinkage (LinkageInfo Other) |
| void | mergeVisibility (Visibility V, bool E=false) |
| void | mergeVisibilityWithMin (Visibility V, bool E=false) |
| void | mergeVisibility (LinkageInfo Other) |
| void | mergeVisibilityWithMin (LinkageInfo Other) |
| void | merge (LinkageInfo Other) |
| void | mergeWithMin (LinkageInfo Other) |
Static Public Member Functions | |
| static LinkageInfo | external () |
| static LinkageInfo | internal () |
| static LinkageInfo | uniqueExternal () |
| static LinkageInfo | none () |
| clang::NamedDecl::LinkageInfo::LinkageInfo | ( | ) | [inline] |
Definition at line 223 of file Decl.h.
Referenced by external(), internal(), none(), and uniqueExternal().
| clang::NamedDecl::LinkageInfo::LinkageInfo | ( | Linkage | L, |
| Visibility | V, | ||
| bool | E | ||
| ) | [inline] |
| static LinkageInfo clang::NamedDecl::LinkageInfo::external | ( | ) | [inline, static] |
| static LinkageInfo clang::NamedDecl::LinkageInfo::internal | ( | ) | [inline, static] |
Definition at line 231 of file Decl.h.
References clang::DefaultVisibility, clang::InternalLinkage, and LinkageInfo().
Referenced by getLVForDecl(), and getLVForNamespaceScopeDecl().
| Linkage clang::NamedDecl::LinkageInfo::linkage | ( | ) | const [inline] |
Definition at line 241 of file Decl.h.
Referenced by clang::NamedDecl::getLinkage(), clang::NamedDecl::getLinkageAndVisibility(), getLVForClassMember(), getLVForDecl(), getLVForNamespaceScopeDecl(), and mergeLinkage().
| void clang::NamedDecl::LinkageInfo::merge | ( | LinkageInfo | Other | ) | [inline] |
Definition at line 296 of file Decl.h.
References mergeLinkage(), and mergeVisibility().
Referenced by getLVForClassMember(), getLVForNamespaceScopeDecl(), and getLVForTemplateParameterList().
| void clang::NamedDecl::LinkageInfo::mergeLinkage | ( | Linkage | L | ) | [inline] |
Definition at line 246 of file Decl.h.
References linkage(), clang::minLinkage(), and setLinkage().
Referenced by getLVForClassMember(), merge(), mergeLinkage(), and mergeWithMin().
| void clang::NamedDecl::LinkageInfo::mergeLinkage | ( | LinkageInfo | Other | ) | [inline] |
Definition at line 249 of file Decl.h.
References linkage(), and mergeLinkage().
| void clang::NamedDecl::LinkageInfo::mergeVisibility | ( | Visibility | V, |
| bool | E = false |
||
| ) | [inline] |
Definition at line 257 of file Decl.h.
References visibility(), and visibilityExplicit().
Referenced by getLVForClassMember(), getLVForDecl(), getLVForNamespaceScopeDecl(), merge(), and mergeVisibility().
| void clang::NamedDecl::LinkageInfo::mergeVisibility | ( | LinkageInfo | Other | ) | [inline] |
Definition at line 289 of file Decl.h.
References mergeVisibility(), visibility(), and visibilityExplicit().
| void clang::NamedDecl::LinkageInfo::mergeVisibilityWithMin | ( | Visibility | V, |
| bool | E = false |
||
| ) | [inline] |
Definition at line 272 of file Decl.h.
References visibility(), and visibilityExplicit().
Referenced by mergeVisibilityWithMin(), and mergeWithMin().
| void clang::NamedDecl::LinkageInfo::mergeVisibilityWithMin | ( | LinkageInfo | Other | ) | [inline] |
Definition at line 292 of file Decl.h.
References mergeVisibilityWithMin(), visibility(), and visibilityExplicit().
| void clang::NamedDecl::LinkageInfo::mergeWithMin | ( | LinkageInfo | Other | ) | [inline] |
Definition at line 300 of file Decl.h.
References mergeLinkage(), and mergeVisibilityWithMin().
Referenced by getLVForClassMember(), getLVForNamespaceScopeDecl(), and getLVForTemplateArgumentList().
| static LinkageInfo clang::NamedDecl::LinkageInfo::none | ( | ) | [inline, static] |
Definition at line 237 of file Decl.h.
References clang::DefaultVisibility, LinkageInfo(), and clang::NoLinkage.
Referenced by getLVForClassMember(), getLVForDecl(), and getLVForNamespaceScopeDecl().
| void clang::NamedDecl::LinkageInfo::setLinkage | ( | Linkage | L | ) | [inline] |
Definition at line 245 of file Decl.h.
Referenced by getLVForDecl(), getLVForNamespaceScopeDecl(), and mergeLinkage().
| static LinkageInfo clang::NamedDecl::LinkageInfo::uniqueExternal | ( | ) | [inline, static] |
Definition at line 234 of file Decl.h.
References clang::DefaultVisibility, LinkageInfo(), and clang::UniqueExternalLinkage.
Referenced by getLVForClassMember(), getLVForDecl(), and getLVForNamespaceScopeDecl().
| Visibility clang::NamedDecl::LinkageInfo::visibility | ( | ) | const [inline] |
Definition at line 242 of file Decl.h.
Referenced by clang::NamedDecl::getVisibility(), mergeVisibility(), mergeVisibilityWithMin(), and clang::CodeGen::CodeGenModule::setGlobalVisibility().
| bool clang::NamedDecl::LinkageInfo::visibilityExplicit | ( | ) | const [inline] |
Definition at line 243 of file Decl.h.
Referenced by getLVForClassMember(), mergeVisibility(), mergeVisibilityWithMin(), and clang::CodeGen::CodeGenModule::setGlobalVisibility().