Skip to content

Commit 8364585

Browse files
committed
format
1 parent 5ee539b commit 8364585

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

llvm/utils/TableGen/GlobalISelCombinerEmitter.cpp

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -806,14 +806,12 @@ bool CombineRuleBuilder::parseAll() {
806806

807807
if (Act0Op == "match" && Act1Op == "apply") {
808808
if (!Parser.parsePatternList(
809-
Act0,
810-
[this](auto Pat) { return addMatchPattern(std::move(Pat)); },
809+
Act0, [this](auto Pat) { return addMatchPattern(std::move(Pat)); },
811810
"match", (RuleDef.getName() + "_match").str()))
812811
return false;
813812

814813
if (!Parser.parsePatternList(
815-
Act1,
816-
[this](auto Pat) { return addApplyPattern(std::move(Pat)); },
814+
Act1, [this](auto Pat) { return addApplyPattern(std::move(Pat)); },
817815
"apply", (RuleDef.getName() + "_apply").str()))
818816
return false;
819817

@@ -830,12 +828,13 @@ bool CombineRuleBuilder::parseAll() {
830828
return false;
831829

832830
if (MatchPats.empty() || ApplyPats.empty()) {
833-
PrintError("'combine' action needs at least one pattern to match, and C++ code to apply");
831+
PrintError("'combine' action needs at least one pattern to match, and "
832+
"C++ code to apply");
834833
return false;
835834
}
836835
} else {
837836
PrintError("Expected both a 'match' and 'apply' action in combine rule, "
838-
"or a single 'combine' action");
837+
"or a single 'combine' action");
839838
return false;
840839
}
841840

0 commit comments

Comments
 (0)