================
@@ -1635,6 +1635,14 @@ void TypePrinter::printElaboratedBefore(const 
ElaboratedType *T,
     if (T->getKeyword() != ElaboratedTypeKeyword::None)
       OS << " ";
     NestedNameSpecifier *Qualifier = T->getQualifier();
+    if (Policy.FullyQualifiedName) {
----------------
AaronBallman wrote:

`FullyQualifiedName` controls printing of identifier qualification, not 
elaboration of type names. IOW, it controls printing `Bar` vs `Foo::Bar` rather 
than `B` vs `struct B`.

I think you want to be looking at `!SuppressTagKeyword` right?

https://github.com/llvm/llvm-project/pull/67592
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to