@@ -211,8 +211,8 @@ class GlobalVarMatchFinder : public MatchFinder::MatchCallback {
211
211
if (global_var.its_namespace == " " ) {
212
212
global_var.its_namespace = namespaceDecl->getNameAsString ();
213
213
} else {
214
- global_var.its_namespace = global_var. its_namespace + " :: " +
215
- namespaceDecl-> getNameAsString () ;
214
+ global_var.its_namespace = namespaceDecl-> getNameAsString () +
215
+ " :: " + global_var. its_namespace ;
216
216
}
217
217
}
218
218
decl_context = decl_context->getParent ();
@@ -526,8 +526,8 @@ class MethodFunctionVisitor
526
526
if (function.its_namespace == " " ) {
527
527
function.its_namespace = namespaceDecl->getNameAsString ();
528
528
} else {
529
- function.its_namespace = function. its_namespace + " :: " +
530
- namespaceDecl-> getNameAsString () ;
529
+ function.its_namespace = namespaceDecl-> getNameAsString () +
530
+ " :: " + function. its_namespace ;
531
531
}
532
532
}
533
533
context = context->getParent ();
@@ -576,8 +576,8 @@ class MethodFunctionVisitor
576
576
if (a_class.its_namespace == " " ) {
577
577
a_class.its_namespace = namespaceDecl->getNameAsString ();
578
578
} else {
579
- a_class.its_namespace = a_class. its_namespace + " :: " +
580
- namespaceDecl-> getNameAsString () ;
579
+ a_class.its_namespace = namespaceDecl-> getNameAsString () +
580
+ " :: " + a_class. its_namespace ;
581
581
}
582
582
}
583
583
context = context->getParent ();
0 commit comments