catch (std::exception ex) { }
Was flagged with "catch handler catches a pointer value".
Paths
| Differential D30592
[clang-tidy] Fix diag message for catch-by-value ClosedPublic Authored by fgross on Mar 3 2017, 1:52 PM.
Details Summary catch (std::exception ex) { } Was flagged with "catch handler catches a pointer value".
Diff Detail
Event TimelineThis revision now requires changes to proceed.Mar 3 2017, 3:48 PM This revision is now accepted and ready to land.Mar 4 2017, 11:43 AM Closed by commit rL298608: [clang-tidy] Fix diag message for catch-by-value (authored by alexfh). · Explain WhyMar 23 2017, 8:30 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 92805 clang-tools-extra/trunk/clang-tidy/misc/ThrowByValueCatchByReferenceCheck.cpp
clang-tools-extra/trunk/test/clang-tidy/misc-throw-by-value-catch-by-reference.cpp
|