aboutsummaryrefslogtreecommitdiff
path: root/clang-tools-extra/test/clang-tidy/checkers/modernize/use-equals-default-copy.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang-tools-extra/test/clang-tidy/checkers/modernize/use-equals-default-copy.cpp')
-rw-r--r--clang-tools-extra/test/clang-tidy/checkers/modernize/use-equals-default-copy.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/clang-tools-extra/test/clang-tidy/checkers/modernize/use-equals-default-copy.cpp b/clang-tools-extra/test/clang-tidy/checkers/modernize/use-equals-default-copy.cpp
index 9639e0e..3afa4a4 100644
--- a/clang-tools-extra/test/clang-tidy/checkers/modernize/use-equals-default-copy.cpp
+++ b/clang-tools-extra/test/clang-tidy/checkers/modernize/use-equals-default-copy.cpp
@@ -1,4 +1,4 @@
-// RUN: %check_clang_tidy --match-partial-fixes %s modernize-use-equals-default %t -- \
+// RUN: %check_clang_tidy %s modernize-use-equals-default %t -- \
// RUN: -config="{CheckOptions: {modernize-use-equals-default.IgnoreMacros: false}}" \
// RUN: -- -fno-delayed-template-parsing -fexceptions -Wno-error=return-type
@@ -35,7 +35,7 @@ struct IL {
// Skip unions.
union NU {
NU(const NU &Other) : Field(Other.Field) {}
- // CHECK-FIXES: NU(const NU &Other) :
+ // CHECK-FIXES: NU(const NU &Other) : Field(Other.Field) {}
NU &operator=(const NU &Other) {
Field = Other.Field;
return *this;
@@ -47,7 +47,7 @@ union NU {
// Skip structs/classes containing anonymous unions.
struct SU {
SU(const SU &Other) : Field(Other.Field) {}
- // CHECK-FIXES: SU(const SU &Other) :
+ // CHECK-FIXES: SU(const SU &Other) : Field(Other.Field) {}
SU &operator=(const SU &Other) {
Field = Other.Field;
return *this;