erichkeane added inline comments.

================
Comment at: test/Misc/target-invalid-cpu-note.c:1
+// RUN: not %clang_cc1 -triple armv5--- -target-cpu not-a-cpu -fsyntax-only %s 
2>&1 | FileCheck %s --check-prefix ARM
+// ARM: error: unknown target CPU 'not-a-cpu'
----------------
erichkeane wrote:
> Hahnfeld wrote:
> > Is there a reason you don't use `-verify=<prefix>` in this test? That's 
> > what I've usually seen for checking errors and notes...
> Um... wow... TIL.
Sadly, -verify= doesn't seem to have a way to specify things that happen 
without a line-number, so I wasn't able to do it :/


https://reviews.llvm.org/D42978



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

Reply via email to