efriedma added inline comments.

================
Comment at: clang/test/Sema/attr-target.c:26
+//expected-warning@+1 {{unsupported tune 'hiss' in the 'target' attribute 
string; 'target' attribute ignored}}
+int __attribute__((target("tune=hiss,tune=woof"))) apple_tree() { return 4; }
+
----------------
"unsupported tune" seems a little weird. For the command-line flag, we print 
something like "unknown target CPU 'hiss'"; can we use similar wording here, so 
it's clear why it's not supported?


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

https://reviews.llvm.org/D86187

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

Reply via email to