15 : USR(USR.str()), Suffix(Suffix), Namespace(
std::move(Namespace)) {}
18 return asTuple() ==
Other.asTuple();
22 return !(*
this ==
Other);
26 return asTuple() <
Other.asTuple();
31 Copy.Namespace =
Copy.Namespace.makeQualified(Namespace);
bool operator==(const EntityName &Other) const
EntityName(llvm::StringRef USR, llvm::StringRef Suffix, NestedBuildNamespace Namespace)
Client code should not use this constructor directly.
EntityName makeQualified(NestedBuildNamespace Namespace) const
Creates a new EntityName with additional build namespace qualification.
bool operator!=(const EntityName &Other) const
bool operator<(const EntityName &Other) const
Represents a hierarchical sequence of build namespaces.
@ Other
Other implicit parameter.