Details
Diff Detail
- Build Status
Buildable 3442 Build 3442: arc lint + arc unit
Event Timeline
utils/TableGen/GlobalISelEmitter.cpp | ||
---|---|---|
294 | For more consistency, maybe this class name should end in "Action", i.e. "MutateOpcodeAction"? |
utils/TableGen/GlobalISelEmitter.cpp | ||
---|---|---|
294 | I agree. I've updated the patch |
utils/TableGen/GlobalISelEmitter.cpp | ||
---|---|---|
330 | The corresponding function addPredicate(Args&&... args) has the same implementation, except for this return statement: return *static_cast<Kind *>(Predicates.back().get()); Any reason why it needs to be different? |
Fixed a silly inconsistency between addPredicate() and addAction(). The return
value isn't used at the moment so I hadn't noticed I'd used MatchAction instead
of Kind.
utils/TableGen/GlobalISelEmitter.cpp | ||
---|---|---|
330 | Thanks for noticing. There's no reason behind it, it's just a silly mistake on my part. I've updated the patch |
utils/TableGen/GlobalISelEmitter.cpp | ||
---|---|---|
330 | Thanks, the patch LGTM now. |
For more consistency, maybe this class name should end in "Action", i.e. "MutateOpcodeAction"?
All of the matcher sub-class names end in "Matcher".