diff options
Diffstat (limited to 'clang-tools-extra/test/clang-tidy/misc-throw-by-value-catch-by-reference.cpp')
-rw-r--r-- | clang-tools-extra/test/clang-tidy/misc-throw-by-value-catch-by-reference.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang-tools-extra/test/clang-tidy/misc-throw-by-value-catch-by-reference.cpp b/clang-tools-extra/test/clang-tidy/misc-throw-by-value-catch-by-reference.cpp index 4bf4f33d3b8..120b07eecc7 100644 --- a/clang-tools-extra/test/clang-tidy/misc-throw-by-value-catch-by-reference.cpp +++ b/clang-tools-extra/test/clang-tidy/misc-throw-by-value-catch-by-reference.cpp @@ -62,7 +62,7 @@ void catchByValue() { try { testThrowFunc(); } catch (logic_error e) { - // CHECK-MESSAGES: :[[@LINE-1]]:12: warning: catch handler catches a pointer value; should throw a non-pointer value and catch by reference instead [misc-throw-by-value-catch-by-reference] + // CHECK-MESSAGES: :[[@LINE-1]]:12: warning: catch handler catches by value; should catch by reference instead [misc-throw-by-value-catch-by-reference] } } |