llvm.org GIT mirror llvm / 2bb2152
Silence C4709 in MSVC because it is buggy. The diagnostic will trigger on code that does not have any comma operator, but instead default-constructs an object with an explicitly defaulted constructor as the array index argument. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@347345 91177308-0d34-0410-b5e6-96231b3b80d8 Aaron Ballman 10 months ago
1 changed file(s) with 4 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
512512 # Update 1. Re-evaluate the usefulness of this diagnostic with Update 2.
513513 -wd4592 # Suppress ''var': symbol will be dynamically initialized (implementation limitation)
514514 -wd4319 # Suppress ''operator' : zero extending 'type' to 'type' of greater size'
515 # C4709 is disabled because of a bug with Visual Studio 2017 as of
516 # v15.8.8. Re-evaluate the usefulness of this diagnostic when the bug
517 # is fixed.
518 -wd4709 # Suppress comma operator within array index expression
515519
516520 # Ideally, we'd like this warning to be enabled, but MSVC 2013 doesn't
517521 # support the 'aligned' attribute in the way that clang sources requires (for