aboutsummaryrefslogtreecommitdiff
path: root/llvm/unittests/Support/CommandLineTest.cpp
diff options
context:
space:
mode:
authorEli Friedman <efriedma@quicinc.com>2022-03-03 12:29:59 -0800
committerEli Friedman <efriedma@quicinc.com>2022-03-10 14:49:16 -0800
commit27a574962567224d3a36a70cf8abf0ad3d751ec5 (patch)
treecccc05db09f5b0f882e23085cb6164198aa130e4 /llvm/unittests/Support/CommandLineTest.cpp
parentf71f9958b9845878909e005c67970e48b300f991 (diff)
downloadllvm-27a574962567224d3a36a70cf8abf0ad3d751ec5.zip
llvm-27a574962567224d3a36a70cf8abf0ad3d751ec5.tar.gz
llvm-27a574962567224d3a36a70cf8abf0ad3d751ec5.tar.bz2
[Sema][Windows] Don't special-case void* in __unaligned conversions.
As far as I can tell, MSVC allows the relevant conversions for all pointer types. Found compiling a Windows SDK header. I've verified that the updated errors in MicrosoftExtensions.cpp match the ones that MSVC actually emits, except for the one with a FIXME. (Not sure why this wasn't done for the patch that added the tests.) To make up for the missing error, add a warning that triggers on conversions that drop the __unaligned qualfier. Differential Revision: https://reviews.llvm.org/D120936
Diffstat (limited to 'llvm/unittests/Support/CommandLineTest.cpp')
0 files changed, 0 insertions, 0 deletions