diff options
| author | Richard Trieu <rtrieu@google.com> | 2011-08-11 22:38:21 +0000 |
|---|---|---|
| committer | Richard Trieu <rtrieu@google.com> | 2011-08-11 22:38:21 +0000 |
| commit | aee9e76722d03a8a196d1c9b51243d1e618dd12c (patch) | |
| tree | 4fddbe631f9916592410652ed6f5b55f1379652e /llvm/test/Transforms/LoopUnroll/basic.ll | |
| parent | aa07cb6a98b3f63e1afe7b241227ce5b6aa66177 (diff) | |
| download | bcm5719-llvm-aee9e76722d03a8a196d1c9b51243d1e618dd12c.tar.gz bcm5719-llvm-aee9e76722d03a8a196d1c9b51243d1e618dd12c.zip | |
The current warning in -Wnull-arithmetic for comparisons between NULL and non-pointers is not very helpful. This patch will update the wording to be more helpful to users.
Old warning:
warning: use of NULL in arithmetic operation [-Wnull-arithmetic]
return 10 <= NULL;
^ ~~~~
New warning:
warning: comparison between NULL and non-pointer ('int' and NULL) [-Wnull-arithmetic]
return 10 <= NULL;
~~ ^ ~~~~
llvm-svn: 137377
Diffstat (limited to 'llvm/test/Transforms/LoopUnroll/basic.ll')
0 files changed, 0 insertions, 0 deletions

