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:
ffe3e7d
)
Fix warning on windows; use of comparison with bool argument.
author
James Molloy
<james.molloy@arm.com>
Thu, 8 Sep 2011 08:12:01 +0000
(08:12 +0000)
committer
James Molloy
<james.molloy@arm.com>
Thu, 8 Sep 2011 08:12:01 +0000
(08:12 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@139286
91177308
-0d34-0410-b5e6-
96231b3b80d8
utils/TableGen/FixedLenDecoderEmitter.cpp
patch
|
blob
|
history
diff --git
a/utils/TableGen/FixedLenDecoderEmitter.cpp
b/utils/TableGen/FixedLenDecoderEmitter.cpp
index 85f3dbfa5f606efb1b2682aa3e5d299bcc7e4dd5..61a0d614a47ae276323f59f3758e51a4054efe15 100644
(file)
--- a/
utils/TableGen/FixedLenDecoderEmitter.cpp
+++ b/
utils/TableGen/FixedLenDecoderEmitter.cpp
@@
-854,7
+854,7
@@
bool FilterChooser::emitSingletonDecoder(raw_ostream &o, unsigned &Indentation,
}
o.indent(Indentation) << "if (";
- if (emitPredicateMatch(o, Indentation, Opc)
> 0
) {
+ if (emitPredicateMatch(o, Indentation, Opc)) {
o << " &&\n";
o.indent(Indentation+4);
}