[ASTMatchers] Matcher macros with params move params instead of copying
authorNathan James <n.james93@hotmail.co.uk>
Tue, 25 Feb 2020 02:07:45 +0000 (02:07 +0000)
committerNathan James <n.james93@hotmail.co.uk>
Tue, 25 Feb 2020 07:50:34 +0000 (07:50 +0000)
commit3e9a7b2ba470bbe9cf3de3e4b15ba09dcfd206aa
treebcc95d2c2ca7b940f7bb482682afc399cacc06f1
parent55d4b0d7dd70d5ecc9e641d93fbf234bb7104d1a
[ASTMatchers] Matcher macros with params move params instead of copying

Summary: Use move semantics instead of copying for AST Matchers with parameters

Reviewers: aaron.ballman, gribozavr2

Reviewed By: gribozavr2

Subscribers: cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D75096
clang/include/clang/ASTMatchers/ASTMatchersMacros.h