commit | 812d6bcbd13190e6e5c2c915bf1499038d56b44b | [log] [tgz] |
---|---|---|
author | Richard Smith <richard-llvm@metafoo.co.uk> | Tue Sep 10 21:34:14 2013 +0000 |
committer | Richard Smith <richard-llvm@metafoo.co.uk> | Tue Sep 10 21:34:14 2013 +0000 |
tree | d3e3a38ed746a70b2bb7887763aa0d79d5257ed8 | |
parent | 1507bf55c958bdd4b14a3ee49f66af874f179cf2 [diff] |
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