Lines Matching full:by

1 // RUN: %check_clang_tidy %s misc-throw-by-value-catch-by-reference %t -- -- -fcxx-exceptions
25 throw new logic_error("by pointer"); in testThrowFunc()
26 …ows a pointer; it should throw a non-pointer value instead [misc-throw-by-value-catch-by-reference] in testThrowFunc()
27 logic_ptr tmp = new logic_error("by pointer"); in testThrowFunc()
29 …expression should throw anonymous temporary values instead [misc-throw-by-value-catch-by-reference] in testThrowFunc()
30 …ows a pointer; it should throw a non-pointer value instead [misc-throw-by-value-catch-by-reference] in testThrowFunc()
31 throw logic_error("by value"); in testThrowFunc()
38 …expression should throw anonymous temporary values instead [misc-throw-by-value-catch-by-reference] in testThrowFunc()
39 …ows a pointer; it should throw a non-pointer value instead [misc-throw-by-value-catch-by-reference] in testThrowFunc()
42 …expression should throw anonymous temporary values instead [misc-throw-by-value-catch-by-reference] in testThrowFunc()
47 …expression should throw anonymous temporary values instead [misc-throw-by-value-catch-by-reference] in testThrowFunc()
57 … value; should throw a non-pointer value and catch by reference instead [misc-throw-by-value-catch… in catchByPointer()
65 …-1]]:12: warning: catch handler catches by value; should catch by reference instead [misc-throw-by in catchByValue()
87 … value; should throw a non-pointer value and catch by reference instead [misc-throw-by-value-catch… in catchTypedef()
140 … value; should throw a non-pointer value and catch by reference instead [misc-throw-by-value-catch… in additionalTests()
154 …expression should throw anonymous temporary values instead [misc-throw-by-value-catch-by-reference] in f()