Go to the documentation of this file.
14 #ifndef LLVM_CLANG_BASIC_LINKAGE_H
15 #define LLVM_CLANG_BASIC_LINKAGE_H
129 return L1 < L2 ? L1 : L2;
134 #endif // LLVM_CLANG_BASIC_LINKAGE_H
@ InternalLinkage
Internal linkage, which indicates that the entity can be referred to from within the translation unit...
bool isUniqueGVALinkage(GVALinkage L)
Do we know that this will be the only definition of this symbol (excluding inlining-only definitions)...
@ VisibleNoLinkage
No linkage according to the standard, but is visible from other translation units because of types de...
GVALinkage
A more specific kind of linkage than enum Linkage.
bool isExternalFormalLinkage(Linkage L)
@ NoLinkage
No linkage, which means that the entity is unique and can only be referred to from within its scope.
Linkage minLinkage(Linkage L1, Linkage L2)
Compute the minimum linkage given two linkages.
Linkage
Describes the different kinds of linkage (C++ [basic.link], C99 6.2.2) that an entity may have.
@ UniqueExternalLinkage
External linkage within a unique namespace.
bool isExternallyVisible(Linkage L)
bool isDiscardableGVALinkage(GVALinkage L)
LanguageLinkage
Describes the different kinds of language linkage (C++ [dcl.link]) that an entity may have.
Linkage getFormalLinkage(Linkage L)
@ GVA_AvailableExternally
@ ExternalLinkage
External linkage, which indicates that the entity can be referred to from other translation units.
@ ModuleLinkage
Module linkage, which indicates that the entity can be referred to from other translation units withi...
@ ModuleInternalLinkage
Internal linkage according to the Modules TS, but can be referred to from other translation units ind...