diff options
Diffstat (limited to 'clang-tools-extra/test/clang-tidy/checkers/modernize/replace-auto-ptr.cpp')
-rw-r--r-- | clang-tools-extra/test/clang-tidy/checkers/modernize/replace-auto-ptr.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang-tools-extra/test/clang-tidy/checkers/modernize/replace-auto-ptr.cpp b/clang-tools-extra/test/clang-tidy/checkers/modernize/replace-auto-ptr.cpp index dea0857..2281c1a 100644 --- a/clang-tools-extra/test/clang-tidy/checkers/modernize/replace-auto-ptr.cpp +++ b/clang-tools-extra/test/clang-tidy/checkers/modernize/replace-auto-ptr.cpp @@ -1,4 +1,4 @@ -// RUN: %check_clang_tidy --match-partial-fixes %s modernize-replace-auto-ptr %t -- -- -I %S/Inputs/replace-auto-ptr +// RUN: %check_clang_tidy %s modernize-replace-auto-ptr %t -- -- -I %S/Inputs/replace-auto-ptr // CHECK-FIXES: #include <utility> @@ -15,7 +15,7 @@ std::auto_ptr<Derived> create_derived_ptr(); // Test function return values (declaration) std::auto_ptr<char> f_5(); // CHECK-MESSAGES: :[[@LINE-1]]:6: warning: auto_ptr is deprecated -// CHECK-FIXES: std::unique_ptr<char> f_5() +// CHECK-FIXES: std::unique_ptr<char> f_5(); // Test function parameters. |