File tree Expand file tree Collapse file tree 3 files changed +9
-3
lines changed
include/clang/Analysis/Scalable/Model
lib/Analysis/Scalable/Model Expand file tree Collapse file tree 3 files changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -61,7 +61,10 @@ class NestedBuildNamespace {
6161
6262 static NestedBuildNamespace makeTU (llvm::StringRef CompilationId);
6363
64- NestedBuildNamespace makeQualified (NestedBuildNamespace Namespace) {
64+ // / Creates a new NestedBuildNamespace by appending additional namespace.
65+ // /
66+ // / \param Namespace The namespace to append.
67+ NestedBuildNamespace makeQualified (NestedBuildNamespace Namespace) const {
6568 auto Copy = *this ;
6669 Copy.Namespaces .reserve (Copy.Namespaces .size () + Namespace.Namespaces .size ());
6770 llvm::append_range (Copy.Namespaces , Namespace.Namespaces );
Original file line number Diff line number Diff line change @@ -34,7 +34,10 @@ class EntityName {
3434 bool operator !=(const EntityName& Other) const ;
3535 bool operator <(const EntityName& Other) const ;
3636
37- EntityName makeQualified (NestedBuildNamespace Namespace);
37+ // / Creates a new EntityName with additional build namespace qualification.
38+ // /
39+ // / \param Namespace The namespace steps to append to this entity's namespace.
40+ EntityName makeQualified (NestedBuildNamespace Namespace) const ;
3841
3942 friend class LinkUnitResolution ;
4043 friend class SerializationFormat ;
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ bool EntityName::operator<(const EntityName& Other) const {
3232 return Namespace < Other.Namespace ;
3333}
3434
35- EntityName EntityName::makeQualified (NestedBuildNamespace Namespace) {
35+ EntityName EntityName::makeQualified (NestedBuildNamespace Namespace) const {
3636 auto Copy = *this ;
3737 Copy.Namespace = Copy.Namespace .makeQualified (Namespace);
3838
You can’t perform that action at this time.
0 commit comments