From 4aefd6b7d4dadf8109221a89742725c116d8f8e0 Mon Sep 17 00:00:00 2001 From: Anton Korobeynikov Date: Wed, 20 Feb 2008 12:07:57 +0000 Subject: Fix newly-introduced 4.3 warnings git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47375 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/VMCore/ParameterAttributes.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/VMCore') 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 -- cgit v1.1