summaryrefslogtreecommitdiffstats
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2018-07-18 20:13:36 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2018-07-18 20:13:36 +0000
commit5407d4f9be1192087e4f208677cd52eb04951d8b (patch)
tree93ae76f2fa891fe6e8eae9ffc346cc2023a4822d /clang/lib/Frontend/CompilerInvocation.cpp
parentd8aa717bf7a34e93572ca9c53ab9611d3a16d3e9 (diff)
downloadbcm5719-llvm-5407d4f9be1192087e4f208677cd52eb04951d8b.tar.gz
bcm5719-llvm-5407d4f9be1192087e4f208677cd52eb04951d8b.zip
DR330: when determining whether a cast casts away constness, consider
qualifiers from all levels matching a multidimensional array. For example, this allows casting from pointer to array of array of const volatile int to pointer to const pointer to volatile pointer to int because the multidimensional array part of the source type corresponds to a part of the destination type that contains both 'const' and 'volatile'. Differential Revision: https://reviews.llvm.org/D49457 llvm-svn: 337422
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud