[clang] [clang-cl] Fix value of __FUNCTION__ in MSVC mode. (PR #67592)
    Aaron Ballman via cfe-commits 
    cfe-commits at lists.llvm.org
       
    Fri Feb 16 05:15:12 PST 2024
    
    
  
================
@@ -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
    
    
More information about the cfe-commits
mailing list