|
clang 22.0.0git
|
Represents a single namespace in the build process. More...
#include "clang/Analysis/Scalable/Model/BuildNamespace.h"
Public Member Functions | |
| BuildNamespace (BuildNamespaceKind Kind, llvm::StringRef Name) | |
| bool | operator== (const BuildNamespace &Other) const |
| bool | operator!= (const BuildNamespace &Other) const |
| bool | operator< (const BuildNamespace &Other) const |
Static Public Member Functions | |
| static BuildNamespace | makeCompilationUnit (llvm::StringRef CompilationId) |
| Creates a BuildNamespace representing a compilation unit. | |
Friends | |
| class | SerializationFormat |
Represents a single namespace in the build process.
A BuildNamespace groups program entities, such as those belonging to a compilation unit or link unit (e.g., a shared library). Each namespace has a kind (CompilationUnit or LinkUnit) and a unique identifier name within that kind.
BuildNamespaces can be composed into NestedBuildNamespace to represent hierarchical namespace structures that model how software is constructed from its components.
Definition at line 45 of file BuildNamespace.h.
|
inline |
Definition at line 52 of file BuildNamespace.h.
Referenced by makeCompilationUnit(), operator!=(), operator<(), and operator==().
|
static |
Creates a BuildNamespace representing a compilation unit.
| CompilationId | The unique identifier for the compilation unit. |
Definition at line 34 of file BuildNamespace.cpp.
References BuildNamespace(), and clang::ssaf::CompilationUnit.
Referenced by clang::ssaf::NestedBuildNamespace::makeCompilationUnit().
| bool clang::ssaf::BuildNamespace::operator!= | ( | const BuildNamespace & | Other | ) | const |
Definition at line 43 of file BuildNamespace.cpp.
References BuildNamespace(), and clang::Other.
| bool clang::ssaf::BuildNamespace::operator< | ( | const BuildNamespace & | Other | ) | const |
Definition at line 47 of file BuildNamespace.cpp.
References BuildNamespace(), and clang::Other.
| bool clang::ssaf::BuildNamespace::operator== | ( | const BuildNamespace & | Other | ) | const |
Definition at line 39 of file BuildNamespace.cpp.
References BuildNamespace(), and clang::Other.
|
friend |
Definition at line 65 of file BuildNamespace.h.
References SerializationFormat.
Referenced by SerializationFormat.