summaryrefslogtreecommitdiffstats
path: root/llvm/utils/unittest/googlemock/include
diff options
context:
space:
mode:
authorEric Christopher <echristo@gmail.com>2019-12-05 14:16:04 -0800
committerEric Christopher <echristo@gmail.com>2019-12-05 14:16:04 -0800
commiteaf6c22bf411b07c17d204a7345fc62833120b0b (patch)
tree3c14afce29660cf57a0d3fd7d4ab67245e8cfc80 /llvm/utils/unittest/googlemock/include
parent4af84d2686a30e30729ef48102009ccdecddc943 (diff)
downloadbcm5719-llvm-eaf6c22bf411b07c17d204a7345fc62833120b0b.tar.gz
bcm5719-llvm-eaf6c22bf411b07c17d204a7345fc62833120b0b.zip
Add a default copy constructor for -Wdeprecated-copy warnings.
Diffstat (limited to 'llvm/utils/unittest/googlemock/include')
-rw-r--r--llvm/utils/unittest/googlemock/include/gmock/gmock-matchers.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/utils/unittest/googlemock/include/gmock/gmock-matchers.h b/llvm/utils/unittest/googlemock/include/gmock/gmock-matchers.h
index ec8c237e254..865cdc7da10 100644
--- a/llvm/utils/unittest/googlemock/include/gmock/gmock-matchers.h
+++ b/llvm/utils/unittest/googlemock/include/gmock/gmock-matchers.h
@@ -3589,6 +3589,8 @@ class BoundSecondMatcher {
GTEST_LOG_(FATAL) << "BoundSecondMatcher should never be assigned.";
}
+ BoundSecondMatcher(const BoundSecondMatcher &) = default;
+
private:
template <typename T>
class Impl : public MatcherInterface<T> {
OpenPOWER on IntegriCloud