File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
clang/lib/ASTMatchers/Dynamic Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -937,7 +937,7 @@ class MapAnyOfMatcherDescriptor : public MatcherDescriptor {
937
937
public:
938
938
MapAnyOfMatcherDescriptor (ASTNodeKind CladeNodeKind,
939
939
std::vector<ASTNodeKind> NodeKinds)
940
- : CladeNodeKind(CladeNodeKind), NodeKinds(NodeKinds) {}
940
+ : CladeNodeKind(CladeNodeKind), NodeKinds(std::move( NodeKinds) ) {}
941
941
942
942
VariantMatcher create (SourceRange NameRange, ArrayRef<ParserValue> Args,
943
943
Diagnostics *Error) const override {
@@ -1026,7 +1026,7 @@ class MapAnyOfBuilderDescriptor : public MatcherDescriptor {
1026
1026
}
1027
1027
1028
1028
return std::make_unique<MapAnyOfMatcherDescriptor>(CladeNodeKind,
1029
- NodeKinds);
1029
+ std::move ( NodeKinds) );
1030
1030
}
1031
1031
1032
1032
bool isVariadic () const override { return true ; }
You can’t perform that action at this time.
0 commit comments