[clang] [clang][TypePrinter] Replace AppendScope with printNestedNameSpecifier (PR #168534)

Michael Buch via cfe-commits cfe-commits at lists.llvm.org
Tue Nov 18 06:13:47 PST 2025


================
@@ -1241,7 +1241,7 @@ namespace cwg686 { // cwg686: 3.0
 #endif
     struct N {
       operator struct O{}(){};
-      // expected-error at -1 {{'N::O' cannot be defined in a type specifier}}
+      // expected-error at -1 {{'cwg686::f()::N::O' cannot be defined in a type specifier}}
----------------
Michael137 wrote:

Based on local testing it would yes. But yea worth an extra test-case

https://github.com/llvm/llvm-project/pull/168534


More information about the cfe-commits mailing list