From 942982278cba872d0d386d396d55e4a8820d35f9 Mon Sep 17 00:00:00 2001 From: Nick Lewycky Date: Fri, 15 May 2009 03:07:14 +0000 Subject: [PATCH] Fix warning. llvm-svn: 71834 --- llvm/utils/TableGen/Record.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/utils/TableGen/Record.cpp b/llvm/utils/TableGen/Record.cpp index fc2de1c135ad..45804b938cb2 100644 --- a/llvm/utils/TableGen/Record.cpp +++ b/llvm/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,