diff options
| author | Richard Smith <richard-llvm@metafoo.co.uk> | 2013-09-10 21:34:14 +0000 |
|---|---|---|
| committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2013-09-10 21:34:14 +0000 |
| commit | 812d6bcbd13190e6e5c2c915bf1499038d56b44b (patch) | |
| tree | d3e3a38ed746a70b2bb7887763aa0d79d5257ed8 /lib/CodeGen/CGExpr.cpp | |
| parent | 1507bf55c958bdd4b14a3ee49f66af874f179cf2 (diff) | |
| download | clang-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
