summaryrefslogtreecommitdiffstats
path: root/clang/test/Lexer
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2007-09-26 20:14:22 +0000
committerTed Kremenek <kremenek@apple.com>2007-09-26 20:14:22 +0000
commit0883fd5817e96961c2a5aa1863a545a1cd54c228 (patch)
treecbf73c45006e3c50802e0284c684e775e37bc800 /clang/test/Lexer
parenta054c5bedd0f0e6efb9938e4ac9a174304612cb7 (diff)
downloadbcm5719-llvm-0883fd5817e96961c2a5aa1863a545a1cd54c228.tar.gz
bcm5719-llvm-0883fd5817e96961c2a5aa1863a545a1cd54c228.zip
Removed option "-parse-ast-check" from clang driver. This is now implemented
using "-parse-ast -verify". Updated all test cases (using a sed script) that invoked -parse-ast-check to now use -parse-ast -verify. Fixed a bug where using "-verify" instead of "-parse-ast-check" would not correctly create the DiagClient needed to accumulate diagnostics. llvm-svn: 42365
Diffstat (limited to 'clang/test/Lexer')
-rw-r--r--clang/test/Lexer/block_cmt_end.c2
-rw-r--r--clang/test/Lexer/constants.c2
-rw-r--r--clang/test/Lexer/cxx0x_keyword.cpp2
3 files changed, 3 insertions, 3 deletions
diff --git a/clang/test/Lexer/block_cmt_end.c b/clang/test/Lexer/block_cmt_end.c
index 20d90452213..444500d03d3 100644
--- a/clang/test/Lexer/block_cmt_end.c
+++ b/clang/test/Lexer/block_cmt_end.c
@@ -3,7 +3,7 @@
RUN: clang -E %s | grep foo &&
RUN: clang -E %s | not grep abc &&
RUN: clang -E %s | not grep xyz &&
- RUN: clang -parse-ast-check %s
+ RUN: clang -parse-ast -verify %s
*/
// This is a simple comment, /*/ does not end a comment, the trailing */ does.
diff --git a/clang/test/Lexer/constants.c b/clang/test/Lexer/constants.c
index f7e4cd02fbb..5d0f301b8d9 100644
--- a/clang/test/Lexer/constants.c
+++ b/clang/test/Lexer/constants.c
@@ -1,4 +1,4 @@
-/* RUN: clang -parse-ast-check %s
+/* RUN: clang -parse-ast -verify %s
*/
int x = 000000080; /* expected-error {{invalid digit}} */
diff --git a/clang/test/Lexer/cxx0x_keyword.cpp b/clang/test/Lexer/cxx0x_keyword.cpp
index f3a8a7add28..267416af28c 100644
--- a/clang/test/Lexer/cxx0x_keyword.cpp
+++ b/clang/test/Lexer/cxx0x_keyword.cpp
@@ -1,2 +1,2 @@
-// RUN: clang -parse-ast-check -std=c++0x %s 2>&1
+// RUN: clang -parse-ast -verify -std=c++0x %s 2>&1
int static_assert; /* expected-error {{expected identifier or '('}}} */
OpenPOWER on IntegriCloud