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 | 23946fcaaefaf3c1a9d1ef86a3786f622c005f1a (patch) | |
tree | bd34e99804c9f71db55dcaa7e3cc05ff704268aa /lib/Support/ConstantRange.cpp | |
parent | 2464810ac27af8dd8b11da7519b719c254854c19 (diff) |
Change:
assert(!"error message");
To:
assert(0 && "error message");
which is more consistant across the code base.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@140234 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Support/ConstantRange.cpp')
-rw-r--r-- | lib/Support/ConstantRange.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Support/ConstantRange.cpp b/lib/Support/ConstantRange.cpp index b6f8234652..c29cb53fb9 100644 --- a/lib/Support/ConstantRange.cpp +++ b/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: |