diff options
| author | Michael Kruse <llvm@meinersbur.de> | 2018-04-05 18:30:44 +0000 |
|---|---|---|
| committer | Michael Kruse <llvm@meinersbur.de> | 2018-04-05 18:30:44 +0000 |
| commit | ae180b95b0a291bdfa93bd1d53b6bba9fefcc772 (patch) | |
| tree | 998f1c7250ee7830d5643298003e9e27e238b528 /polly/lib/External | |
| parent | 665f74414d83118e5682e379d5acadfc86341d25 (diff) | |
| download | bcm5719-llvm-ae180b95b0a291bdfa93bd1d53b6bba9fefcc772.tar.gz bcm5719-llvm-ae180b95b0a291bdfa93bd1d53b6bba9fefcc772.zip | |
Silence msvc warning on isl. NFC.
The warning is:
isl_union_map.c(2041): warning C4221: nonstandard extension used: 'filter_user': cannot be initialized using address of automatic variable 'data'
for the following code (and others)
struct isl_un_op_drop_user_data data = { &isl_set_is_wrapping };
struct isl_un_op_control control = {
.filter = &un_op_filter_drop_user,
.filter_user = &data,
.fn_map = &isl_set_wrapped_domain_map,
};
llvm-svn: 329328
Diffstat (limited to 'polly/lib/External')
| -rw-r--r-- | polly/lib/External/CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/polly/lib/External/CMakeLists.txt b/polly/lib/External/CMakeLists.txt index 7492127bd2b..97fd28e4b05 100644 --- a/polly/lib/External/CMakeLists.txt +++ b/polly/lib/External/CMakeLists.txt @@ -352,6 +352,7 @@ if (MSVC) -wd4200 # nonstandard extension used: zero-sized array in struct/union -wd4201 # nonstandard extension used: nameless struct/union -wd4334 # 'operator': result of 32-bit shift implicitly converted to 64 bits (was 64-bit shift intended?) + -wd4221 # nonstandard extension used : 'identifier' : cannot be initialized using address of automatic variable ) if (POLLY_BUNDLED_ISL) target_compile_options(PollyISL PRIVATE ${DISABLE_WARNING_FLAGS}) |

