diff options
author | Richard Smith <richard-llvm@metafoo.co.uk> | 2012-06-28 07:51:56 +0000 |
---|---|---|
committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2012-06-28 07:51:56 +0000 |
commit | 608c0b65d78531d1713a02f34a9b876deefb4943 (patch) | |
tree | bb5896cb8c9ac22d95f5d2371956fc27c6a14b18 /clang/test/Misc/warning-flags-enabled.c | |
parent | 420a4ed6528b1422ae624fbbc501a6cd2d3dabb5 (diff) | |
download | bcm5719-llvm-608c0b65d78531d1713a02f34a9b876deefb4943.tar.gz bcm5719-llvm-608c0b65d78531d1713a02f34a9b876deefb4943.zip |
Add warning flag -Winvalid-pp-token for preprocessing-tokens which have
undefined behaviour, and move the diagnostic for '' from an Error into
an ExtWarn in this group. This is important for some users of the preprocessor,
and is necessary for gcc compatibility.
llvm-svn: 159335
Diffstat (limited to 'clang/test/Misc/warning-flags-enabled.c')
-rw-r--r-- | clang/test/Misc/warning-flags-enabled.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/Misc/warning-flags-enabled.c b/clang/test/Misc/warning-flags-enabled.c index 1c1c38f864d..7ef5c94dbc8 100644 --- a/clang/test/Misc/warning-flags-enabled.c +++ b/clang/test/Misc/warning-flags-enabled.c @@ -3,9 +3,9 @@ // This shows warnings which are on by default. // We just check a few to make sure it's doing something sensible. // +// CHECK: ext_unterminated_string // CHECK: warn_condition_is_assignment // CHECK: warn_null_arg -// CHECK: warn_unterminated_string // RUN: diagtool show-enabled -Wno-everything %s | count 0 |