projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aa0b3df
)
Fix warning.
author
Nick Lewycky
<nicholas@mxc.ca>
Fri, 15 May 2009 03:07:14 +0000
(
03:07
+0000)
committer
Nick Lewycky
<nicholas@mxc.ca>
Fri, 15 May 2009 03:07:14 +0000
(
03:07
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@71834
91177308
-0d34-0410-b5e6-
96231b3b80d8
utils/TableGen/Record.cpp
patch
|
blob
|
history
diff --git
a/utils/TableGen/Record.cpp
b/utils/TableGen/Record.cpp
index fc2de1c135ad379331adf4617030b8321f18db03..45804b938cb20ad6a886b946c60c18071d8ff168 100644
(file)
--- 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,