Quuxplusone added inline comments.

================
Comment at: clang/test/SemaCXX/warn-unused-local-typedef.cpp:246
+      typedef int Int; // no-diag
+      typedef char Char; // expected-warning {{unused typedef 'Char'}}
+      Int m;
----------------
I haven't tried to understand the main point of this PR, but FWIW, have you 
seen https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61596 ? This looks 
suspiciously like that exact case. (I just filed its dup 
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104792 the other day.)


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D114382

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

Reply via email to