|
clang 22.0.0git
|
Represents a hierarchical sequence of build namespaces. More...
#include "clang/Analysis/Scalable/Model/BuildNamespace.h"
Public Member Functions | |
| NestedBuildNamespace ()=default | |
| NestedBuildNamespace (const std::vector< BuildNamespace > &Namespaces) | |
| NestedBuildNamespace (const BuildNamespace &N) | |
| NestedBuildNamespace | makeQualified (NestedBuildNamespace Namespace) const |
| Creates a new NestedBuildNamespace by appending additional namespace. | |
| bool | empty () const |
| bool | operator== (const NestedBuildNamespace &Other) const |
| bool | operator!= (const NestedBuildNamespace &Other) const |
| bool | operator< (const NestedBuildNamespace &Other) const |
Static Public Member Functions | |
| static NestedBuildNamespace | makeCompilationUnit (llvm::StringRef CompilationId) |
| Creates a NestedBuildNamespace representing a compilation unit. | |
Friends | |
| class | SerializationFormat |
| class | JSONWriter |
| class | LinkUnitResolution |
Represents a hierarchical sequence of build namespaces.
A NestedBuildNamespace captures namespace qualification for program entities by maintaining an ordered sequence of BuildNamespace steps. This models how entities are organized through multiple steps of the build process, such as first being part of a compilation unit, then incorporated into a link unit.
For example, an entity might be qualified by a compilation unit namespace followed by a shared library namespace.
Definition at line 77 of file BuildNamespace.h.
|
default |
Referenced by makeCompilationUnit(), makeQualified(), operator!=(), operator<(), and operator==().
|
inlineexplicit |
Definition at line 85 of file BuildNamespace.h.
|
inlineexplicit |
Definition at line 88 of file BuildNamespace.h.
| bool clang::ssaf::NestedBuildNamespace::empty | ( | ) | const |
Definition at line 59 of file BuildNamespace.cpp.
|
static |
Creates a NestedBuildNamespace representing a compilation unit.
| CompilationId | The unique identifier for the compilation unit. |
Definition at line 52 of file BuildNamespace.cpp.
References clang::ssaf::BuildNamespace::makeCompilationUnit(), NestedBuildNamespace(), and clang::Result.
|
inline |
Creates a new NestedBuildNamespace by appending additional namespace.
| Namespace | The namespace to append. |
Definition at line 103 of file BuildNamespace.h.
References clang::Copy, and NestedBuildNamespace().
| bool clang::ssaf::NestedBuildNamespace::operator!= | ( | const NestedBuildNamespace & | Other | ) | const |
Definition at line 65 of file BuildNamespace.cpp.
References NestedBuildNamespace(), and clang::Other.
| bool clang::ssaf::NestedBuildNamespace::operator< | ( | const NestedBuildNamespace & | Other | ) | const |
Definition at line 69 of file BuildNamespace.cpp.
References NestedBuildNamespace(), and clang::Other.
| bool clang::ssaf::NestedBuildNamespace::operator== | ( | const NestedBuildNamespace & | Other | ) | const |
Definition at line 61 of file BuildNamespace.cpp.
References NestedBuildNamespace(), and clang::Other.
|
friend |
|
friend |
Definition at line 118 of file BuildNamespace.h.
References LinkUnitResolution.
Referenced by LinkUnitResolution.
|
friend |
Definition at line 78 of file BuildNamespace.h.
References SerializationFormat.
Referenced by SerializationFormat.