diff options
author | Tobias Grosser <grosser@fim.uni-passau.de> | 2012-01-30 09:07:45 +0000 |
---|---|---|
committer | Tobias Grosser <grosser@fim.uni-passau.de> | 2012-01-30 09:07:45 +0000 |
commit | a1f093465b2e02c5586352398aad3359baf19254 (patch) | |
tree | bde57af8af960f365fd57591fda59103d24c658a /polly/lib/JSON/json_value.cpp | |
parent | acdbe8163798063d625caa28c4137af0f222d328 (diff) | |
download | bcm5719-llvm-a1f093465b2e02c5586352398aad3359baf19254.tar.gz bcm5719-llvm-a1f093465b2e02c5586352398aad3359baf19254.zip |
Disable some clang warnings in imported JSON code.
llvm-svn: 149239
Diffstat (limited to 'polly/lib/JSON/json_value.cpp')
-rw-r--r-- | polly/lib/JSON/json_value.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/polly/lib/JSON/json_value.cpp b/polly/lib/JSON/json_value.cpp index 34acce947ce..04e96ea507d 100644 --- a/polly/lib/JSON/json_value.cpp +++ b/polly/lib/JSON/json_value.cpp @@ -13,6 +13,10 @@ # include "json_batchallocator.h" #endif // #ifndef JSON_USE_SIMPLE_INTERNAL_ALLOCATOR +// Disable warnings. We do not fix these warnings, as this is a file imported +// into Polly and we do not want to diverge from the original source. +#pragma clang diagnostic ignored "-Wcovered-switch-default" + #define JSON_ASSERT_UNREACHABLE assert( false ) #define JSON_ASSERT( condition ) assert( condition ); // @todo <= change this into an exception throw // Do not use throw when exception is disable. |