PR38095: Allow constant-folding of loads through bitcasted pointers if
authorRichard Smith <richard-llvm@metafoo.co.uk>
Wed, 11 Jul 2018 00:29:05 +0000 (00:29 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Wed, 11 Jul 2018 00:29:05 +0000 (00:29 +0000)
commit81dfef9202e31c018e64bbc762ce42d651384104
tree62b30a24626d9cb1061263fb60dcd4fc69190d47
parenta3405ffcecc6a91efa869812a18866a1c29f6203
PR38095: Allow constant-folding of loads through bitcasted pointers if
the bitcast only changed cvr-qualifications within the pointer type.

llvm-svn: 336746
clang/lib/AST/ExprConstant.cpp
clang/test/Sema/diagnose_if.c