diff options
author | Nick Lewycky <nicholas@mxc.ca> | 2009-05-15 03:07:14 +0000 |
---|---|---|
committer | Nick Lewycky <nicholas@mxc.ca> | 2009-05-15 03:07:14 +0000 |
commit | c98a77d078ab5ec443576facb1402025c093f64a (patch) | |
tree | fc0714767afb5355a53c0bb0022af394bcd31d8f /utils/TableGen/Record.cpp | |
parent | aa0b3df5a03304cf6fbc27d95a0d95717a3a61d0 (diff) | |
download | llvm-c98a77d078ab5ec443576facb1402025c093f64a.tar.gz llvm-c98a77d078ab5ec443576facb1402025c093f64a.tar.bz2 llvm-c98a77d078ab5ec443576facb1402025c093f64a.tar.xz |
Fix warning.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@71834 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/TableGen/Record.cpp')
-rw-r--r-- | utils/TableGen/Record.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/TableGen/Record.cpp b/utils/TableGen/Record.cpp index fc2de1c135..45804b938c 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, |