summaryrefslogtreecommitdiff
path: root/lib/CodeGen/CGExpr.cpp
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2013-09-10 21:34:14 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2013-09-10 21:34:14 +0000
commit812d6bcbd13190e6e5c2c915bf1499038d56b44b (patch)
treed3e3a38ed746a70b2bb7887763aa0d79d5257ed8 /lib/CodeGen/CGExpr.cpp
parent1507bf55c958bdd4b14a3ee49f66af874f179cf2 (diff)
downloadclang-812d6bcbd13190e6e5c2c915bf1499038d56b44b.tar.gz
clang-812d6bcbd13190e6e5c2c915bf1499038d56b44b.tar.bz2
clang-812d6bcbd13190e6e5c2c915bf1499038d56b44b.tar.xz
PR5683: Issue a warning when subtracting pointers to types of zero size, and
treat such subtractions as being non-constant. Patch by Serge Pavlov! With a few tweaks by me. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@190439 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExpr.cpp')
0 files changed, 0 insertions, 0 deletions