Lines Matching full:linkage
1 //===--- Linkage.h - Linkage enumeration and utilities ----------*- C++ -*-===//
11 /// \brief Defines the Linkage enumeration and various utility functions.
23 /// \brief Describes the different kinds of linkage
25 enum Linkage : unsigned char {
26 /// \brief No linkage, which means that the entity is unique and
30 /// \brief Internal linkage, which indicates that the entity can
35 /// \brief External linkage within a unique namespace.
38 /// linkage. However, since they reside in an anonymous namespace,
40 /// equivalent to having internal linkage from the code-generation
44 /// \brief No linkage according to the standard, but is visible from other
48 /// \brief External linkage, which indicates that the entity can
53 /// \brief Describes the different kinds of language linkage
61 /// \brief A more specific kind of linkage than enum Linkage.
72 inline bool isExternallyVisible(Linkage L) {
76 inline Linkage getFormalLinkage(Linkage L) {
84 inline bool isExternalFormalLinkage(Linkage L) {
88 /// \brief Compute the minimum linkage given two linkages.
90 /// The linkage can be interpreted as a pair formed by the formal linkage and
93 /// Linkage enum is defined in an order that makes this simple, we just need
96 inline Linkage minLinkage(Linkage L1, Linkage L2) {