|
clang 23.0.0git
|
Represents the linkage properties of an entity in the program model. More...
#include "clang/Analysis/Scalable/Model/EntityLinkage.h"
Public Types | |
| enum class | LinkageType { None , Internal , External } |
Public Member Functions | |
| constexpr | EntityLinkage (LinkageType L) |
| LinkageType | getLinkage () const |
| bool | operator== (const EntityLinkage &Other) const |
| bool | operator!= (const EntityLinkage &Other) const |
Friends | |
| class | SerializationFormat |
| class | TestFixture |
Represents the linkage properties of an entity in the program model.
EntityLinkage captures whether an entity has no linkage, internal linkage, or external linkage, which determines its visibility and accessibility across translation units.
Definition at line 22 of file EntityLinkage.h.
|
strong |
| Enumerator | |
|---|---|
| None | local variables, function parameters |
| Internal | static functions/variables, anonymous namespace |
| External | globally visible across translation units |
Definition at line 27 of file EntityLinkage.h.
|
inlineexplicitconstexpr |
Definition at line 33 of file EntityLinkage.h.
Referenced by operator!=(), and operator==().
|
inline |
Definition at line 35 of file EntityLinkage.h.
| bool clang::ssaf::EntityLinkage::operator!= | ( | const EntityLinkage & | Other | ) | const |
Definition at line 36 of file EntityLinkage.cpp.
References EntityLinkage(), and clang::Other.
| bool clang::ssaf::EntityLinkage::operator== | ( | const EntityLinkage & | Other | ) | const |
Definition at line 32 of file EntityLinkage.cpp.
References EntityLinkage(), and clang::Other.
|
friend |
Definition at line 23 of file EntityLinkage.h.
References SerializationFormat.
Referenced by SerializationFormat.
|
friend |