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/VMCore/Constants.cpp | |
parent | 2464810ac27af8dd8b11da7519b719c254854c19 (diff) | |
download | llvm-23946fcaaefaf3c1a9d1ef86a3786f622c005f1a.tar.gz llvm-23946fcaaefaf3c1a9d1ef86a3786f622c005f1a.tar.bz2 llvm-23946fcaaefaf3c1a9d1ef86a3786f622c005f1a.tar.xz |
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/VMCore/Constants.cpp')
-rw-r--r-- | lib/VMCore/Constants.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/VMCore/Constants.cpp b/lib/VMCore/Constants.cpp index ba309d9ca0..a84a046bb9 100644 --- a/lib/VMCore/Constants.cpp +++ b/lib/VMCore/Constants.cpp @@ -105,7 +105,7 @@ Constant *Constant::getNullValue(Type *Ty) { return ConstantAggregateZero::get(Ty); default: // Function, Label, or Opaque type? - assert(!"Cannot create a null constant of that type!"); + assert(0 && "Cannot create a null constant of that type!"); return 0; } } |