zequanwu marked an inline comment as done. zequanwu added inline comments.
================ Comment at: clang/test/CodeGenCXX/mangle-ms-auto-templates.cpp:17 + AutoParmTemplate<0> auto_int; + // CHECK: call {{.*}} @"??0?$AutoParmTemplate@$H0A@@@QAE@XZ" + AutoParmTemplate<false> auto_bool; ---------------- thakis wrote: > Are you sure this is correct? MSVC produces a different mangling > (https://godbolt.org/z/VxRfJd) and neither `undname` nor `llvm-undname` / > `demumble` can demangle the symbol here (while they demange the msvc output > according to godbolt fine). I use `x64 msvc v19.24` version, which gives `@"??0?$AutoParmTemplate@$MH0A@@@QAE@XZ"`. The extra `M` might come from qualifier mangling. For `x86 msvc v19.24(WINE)` version, it produces `??0?$AutoParmTemplate@$0A@@@QAE@XZ` for both `AutoParmTemplate<0> auto_int` and `AutoParmTemplate<false> auto_int`. Isn't this a bug? CHANGES SINCE LAST ACTION https://reviews.llvm.org/D80409/new/ https://reviews.llvm.org/D80409 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits