[PATCH] Take into account PrintingPolicy::SuppressUnwrittenScope	in NamedDecl::printQualifiedName.
    Richard Smith 
    richard at metafoo.co.uk
       
    Thu May 29 20:04:38 PDT 2014
    
    
  
LGTM
================
Comment at: lib/AST/Decl.cpp:1307
@@ +1306,3 @@
+      if (P.SuppressUnwrittenScope &&
+          (ND->isAnonymousNamespace() || ND->isInlineNamespace()))
+        continue;
----------------
Just use `isInline` here since you already know you've got a namespace.
http://reviews.llvm.org/D3922
    
    
More information about the cfe-commits
mailing list