Revert "[ASTMatchers] Matcher macros with params move params instead of copying"
authorHans Wennborg <hans@chromium.org>
Fri, 27 Nov 2020 13:43:14 +0000 (14:43 +0100)
committerHans Wennborg <hans@chromium.org>
Fri, 27 Nov 2020 13:51:27 +0000 (14:51 +0100)
commit0ce32a79825f307d2f46b8a5823489a67d6d072f
treea0f98f8b905c265dd0a144809d1a12422a5fc93d
parenta2016dc887c5fce33f5a41eefadf0b15a02b08b6
Revert "[ASTMatchers] Matcher macros with params move params instead of copying"

This broke some clang matcher tests in 32-bit MSVC builds; see PR46781.

> 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

This reverts commit 3e9a7b2ba470bbe9cf3de3e4b15ba09dcfd206aa.
clang/include/clang/ASTMatchers/ASTMatchersMacros.h