diff options
author | Anton Korobeynikov <asl@math.spbu.ru> | 2008-02-20 12:07:57 +0000 |
---|---|---|
committer | Anton Korobeynikov <asl@math.spbu.ru> | 2008-02-20 12:07:57 +0000 |
commit | 4aefd6b7d4dadf8109221a89742725c116d8f8e0 (patch) | |
tree | b6cea47a8fde646984abfe138325ccc046923420 /lib/VMCore | |
parent | 44a2a79f1865807cf976932fac00648f60edfdbe (diff) | |
download | external_llvm-4aefd6b7d4dadf8109221a89742725c116d8f8e0.zip external_llvm-4aefd6b7d4dadf8109221a89742725c116d8f8e0.tar.gz external_llvm-4aefd6b7d4dadf8109221a89742725c116d8f8e0.tar.bz2 |
Fix newly-introduced 4.3 warnings
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47375 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/VMCore')
-rw-r--r-- | lib/VMCore/ParameterAttributes.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/VMCore/ParameterAttributes.cpp b/lib/VMCore/ParameterAttributes.cpp index c49e14c..f67e60d 100644 --- a/lib/VMCore/ParameterAttributes.cpp +++ b/lib/VMCore/ParameterAttributes.cpp @@ -186,7 +186,7 @@ ParamAttrsList::includeAttrs(const ParamAttrsList *PAL, // For now, say we can't change a known alignment. ParameterAttributes OldAlign = OldAttrs & ParamAttr::Alignment; ParameterAttributes NewAlign = attrs & ParamAttr::Alignment; - assert(!OldAlign || !NewAlign || OldAlign == NewAlign && + assert((!OldAlign || !NewAlign || OldAlign == NewAlign) && "Attempt to change alignment!"); #endif |