From 0883fd5817e96961c2a5aa1863a545a1cd54c228 Mon Sep 17 00:00:00 2001 From: Ted Kremenek Date: Wed, 26 Sep 2007 20:14:22 +0000 Subject: 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 --- clang/test/Parser/pointer-arithmetic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'clang/test/Parser/pointer-arithmetic.c') diff --git a/clang/test/Parser/pointer-arithmetic.c b/clang/test/Parser/pointer-arithmetic.c index 7c7e3ad0429..4403d20c11e 100644 --- a/clang/test/Parser/pointer-arithmetic.c +++ b/clang/test/Parser/pointer-arithmetic.c @@ -1,4 +1,4 @@ -// RUN: clang -parse-ast-check %s +// RUN: clang -parse-ast -verify %s int *test1(int *a) { return a + 1; } int *test2(int *a) { return 1 + a; } -- cgit v1.2.3