[PATCH] D21666: [Tooling] Add optional argument to getFullyQualifiedName to prepend "::".

Siva Chandra via cfe-commits cfe-commits at lists.llvm.org
Fri Jun 24 14:14:36 PDT 2016


sivachandra added a comment.

PTAL


================
Comment at: lib/Tooling/Core/QualTypeNames.cpp:435
@@ -399,1 +434,3 @@
+  // Create a nested name specifier if needed.
   Prefix = createNestedNameSpecifierForScopeOf(Ctx, QT.getTypePtr(),
+                                               true /*FullyQualified*/,
----------------
WithGlobalNsPrefix has been added to every function in this file :)

This eliminates the need for the Prepend function. 


http://reviews.llvm.org/D21666





More information about the cfe-commits mailing list