rnk added inline comments.

================
Comment at: test/Sema/implicit-intel-builtin-decl.c:4
@@ +3,3 @@
+void f() {
+  (void)_mm_getcsr(); // expected-warning{{implicitly declaring library 
function '_mm_getcsr'}} \
+  // expected-note{{include the header <xmmintrin.h> or explicitly provide a 
declaration for '_mm_getcsr'}}
----------------
Can you add a C++ test? I think you'll get "undeclared identifier '_mm_getcsr'" 
instead of this helpful diagnostic.


https://reviews.llvm.org/D24330



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

Reply via email to