From 45aaa6d93c522b7c125586e1b7b3464ed4275ac7 Mon Sep 17 00:00:00 2001 From: Nick Lewycky Date: Fri, 15 May 2009 03:07:14 +0000 Subject: Fix warning. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@71834 91177308-0d34-0410-b5e6-96231b3b80d8 --- utils/TableGen/Record.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'utils/TableGen/Record.cpp') diff --git a/utils/TableGen/Record.cpp b/utils/TableGen/Record.cpp index fc2de1c..45804b9 100644 --- a/utils/TableGen/Record.cpp +++ b/utils/TableGen/Record.cpp @@ -791,7 +791,7 @@ static Init *ForeachHelper(Init *LHS, Init *MHS, Init *RHS, RecTy *Type, assert(0 && "No typed variable for !foreach"); } - if (MHSd && DagType || MHSl && ListType) { + if ((MHSd && DagType) || (MHSl && ListType)) { if (MHSd) { Init *Val = MHSd->getOperator(); Init *Result = EvaluateOperation(RHSo, LHS, Val, -- cgit v1.1