probinson added a comment.

I guess first I'm confused about why the type would be undeduced in the first 
place, given that it is actually instantiated.
And if undeduced is correct, wouldn't we rather emit these with 
DW_TAG_unspecified_type?



================
Comment at: clang/test/CodeGenCXX/pr42710.cpp:2
+// RUN: %clang %s -DTYPE=auto -emit-llvm -S -g -o - -std=c++17
+// expected-no-diagnostics
+// RUN: %clang %s -DTYPE=int -emit-llvm -S -g -o - -std=c++17
----------------
I believe you would use `expected-no-diagnostics` only if you run clang with 
`-verify`.  So, please remove those two directives.


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

https://reviews.llvm.org/D70537



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to