We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1b79150 commit 8a5a782Copy full SHA for 8a5a782
mlir/lib/Query/Matcher/VariantValue.cpp
@@ -35,7 +35,7 @@ class VariantMatcher::VariadicOpPayload : public VariantMatcher::Payload {
35
36
std::optional<DynMatcher> getDynMatcher() const override {
37
std::vector<DynMatcher> dynMatchers;
38
- for (auto variantMatcher : args) {
+ for (const auto &variantMatcher : args) {
39
std::optional<DynMatcher> dynMatcher = variantMatcher.getDynMatcher();
40
if (dynMatcher)
41
dynMatchers.push_back(dynMatcher.value());
0 commit comments