[PATCH] D80409: [MS ABI] Add mangled type for auto template parameter whose argument kind is Integeral

Nico Weber via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon May 25 18:13:37 PDT 2020


thakis added inline comments.


================
Comment at: clang/test/CodeGenCXX/mangle-ms-auto-templates.cpp:17
+  AutoParmTemplate<0> auto_int;
+  // CHECK: call {{.*}} @"??0?$AutoParmTemplate@$H0A@@@QAE at XZ"
+  AutoParmTemplate<false> auto_bool;
----------------
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).


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D80409/new/

https://reviews.llvm.org/D80409





More information about the cfe-commits mailing list