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