diff options
author | Ted Kremenek <kremenek@apple.com> | 2007-09-26 20:14:22 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2007-09-26 20:14:22 +0000 |
commit | 9f3d942e9970bc8f51add390b2a2c46b5a2ab747 (patch) | |
tree | a29754e7dfd73c6f7cf374eb249918c5502f3e45 /test/Sema/enum.c | |
parent | 41193e4464818d5c4809a8a4140bb0bf26d7733f (diff) |
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.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@42365 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Sema/enum.c')
-rw-r--r-- | test/Sema/enum.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Sema/enum.c b/test/Sema/enum.c index 1ba3977a78..1787c4b6f8 100644 --- a/test/Sema/enum.c +++ b/test/Sema/enum.c @@ -1,4 +1,4 @@ -// RUN: clang %s -parse-ast-check -pedantic +// RUN: clang %s -parse-ast -verify -pedantic enum e {A, B = 42LL << 32, // expected-warning {{ISO C restricts enumerator values to range of 'int'}} |