summaryrefslogtreecommitdiffstats
path: root/clang-tools-extra/test/clang-tidy/hicpp-no-assembler.cpp
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2017-10-20 22:56:25 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2017-10-20 22:56:25 +0000
commit6f4f0f1865756c531c121b0a57b3e05f52152e05 (patch)
treec5f30d870f062d287082fcf6d90af01c5805062c /clang-tools-extra/test/clang-tidy/hicpp-no-assembler.cpp
parent7b9b30ab56054ba1158f522108d716e705480961 (diff)
downloadbcm5719-llvm-6f4f0f1865756c531c121b0a57b3e05f52152e05.tar.gz
bcm5719-llvm-6f4f0f1865756c531c121b0a57b3e05f52152e05.zip
Implement current CWG direction for support of arrays of unknown bounds in
constant expressions. We permit array-to-pointer decay on such arrays, but disallow pointer arithmetic (since we do not know whether it will have defined behavior). This is based on r311970 and r301822 (the former by me and the latter by Robert Haberlach). Between then and now, two things have changed: we have committee feedback indicating that this is indeed the right direction, and the code broken by this change has been fixed. This is necessary in C++17 to continue accepting certain forms of non-type template argument involving arrays of unknown bound. llvm-svn: 316245
Diffstat (limited to 'clang-tools-extra/test/clang-tidy/hicpp-no-assembler.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud