hokein accepted this revision.
hokein added a comment.

still LG



================
Comment at: clang/test/SemaCXX/recovery-expr-type.cpp:29
   // verify that "field has incomplete type" diagnostic is suppressed.
-  typeof(foo(42)) var; // expected-error {{no matching function}}
+  typeof(foo(42)) var; // expected-error {{no matching function}} \
+                       // expected-error {{use of undeclared identifier 
'typeof'}} \
----------------
oh, `typeof` is a GNU extension, I think `-std=gnu++17` should suppress the new 
diagnostics. 


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D100667

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

Reply via email to