summaryrefslogtreecommitdiffstats
path: root/clang/test/Parser/pointer-arithmetic.c
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/Parser/pointer-arithmetic.c
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/Parser/pointer-arithmetic.c')
-rw-r--r--clang/test/Parser/pointer-arithmetic.c2
1 files changed, 1 insertions, 1 deletions
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; }
OpenPOWER on IntegriCloud