================
@@ -33,8 +33,8 @@ class TestClass1 {
DISALLOW_COPY_AND_ASSIGN(TestClass1);
};
// CHECK-MESSAGES-DEFAULT: :[[@LINE-2]]:3: warning: prefer deleting copy
constructor and assignment operator over using macro 'DISALLOW_COPY_AND_ASSIGN'
[modernize-replace-disallow-copy-and-assign-macro]
-// CHECK-FIXES-DEFAULT: {{^}} TestClass1(const TestClass1 &) =
delete;{{$}}
-// CHECK-FIXES-DEFAULT-NEXT: {{^}} const TestClass1 &operator=(const
TestClass1 &) = delete;{{$}}
+// CHECK-FIXES-DEFAULT: TestClass1(const TestClass1 &) = delete;
----------------
nicovank wrote:
Indentation.
https://github.com/llvm/llvm-project/pull/162293
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits