diff options
| author | Richard Trieu <rtrieu@google.com> | 2011-09-21 03:09:09 +0000 |
|---|---|---|
| committer | Richard Trieu <rtrieu@google.com> | 2011-09-21 03:09:09 +0000 |
| commit | a318b8dce6f37ee22339646726f7b03cb40b2282 (patch) | |
| tree | c836b420ea8aed824806835e1a88cc4534232c4c /llvm/lib/Support | |
| parent | 3d673cc3234568339bf3455e865427d9dab0cf00 (diff) | |
| download | bcm5719-llvm-a318b8dce6f37ee22339646726f7b03cb40b2282.tar.gz bcm5719-llvm-a318b8dce6f37ee22339646726f7b03cb40b2282.zip | |
Change:
assert(!"error message");
To:
assert(0 && "error message");
which is more consistant across the code base.
llvm-svn: 140234
Diffstat (limited to 'llvm/lib/Support')
| -rw-r--r-- | llvm/lib/Support/ConstantRange.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Support/ConstantRange.cpp b/llvm/lib/Support/ConstantRange.cpp index b6f82346526..c29cb53fb9c 100644 --- a/llvm/lib/Support/ConstantRange.cpp +++ b/llvm/lib/Support/ConstantRange.cpp @@ -55,7 +55,7 @@ ConstantRange ConstantRange::makeICmpRegion(unsigned Pred, uint32_t W = CR.getBitWidth(); switch (Pred) { - default: assert(!"Invalid ICmp predicate to makeICmpRegion()"); + default: assert(0 && "Invalid ICmp predicate to makeICmpRegion()"); case CmpInst::ICMP_EQ: return CR; case CmpInst::ICMP_NE: |

