This is an archive of the discontinued LLVM Phabricator instance.

[clang-tidy] Simplify throw keyword missing check
ClosedPublic

Authored by steveire on Feb 5 2021, 6:16 AM.

Details

Summary

Extend test to verify that it does not match in template instantiations.

Diff Detail

Event Timeline

steveire created this revision.Feb 5 2021, 6:16 AM
steveire requested review of this revision.Feb 5 2021, 6:16 AM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 5 2021, 6:16 AM
Herald added a subscriber: cfe-commits. · View Herald Transcript
njames93 added inline comments.Feb 20 2021, 7:43 AM
clang-tools-extra/test/clang-tidy/checkers/bugprone-throw-keyword-missing.cpp
97–107

Can I ask what the reason for these extra tests are.

steveire added inline comments.Feb 20 2021, 9:28 AM
clang-tools-extra/test/clang-tidy/checkers/bugprone-throw-keyword-missing.cpp
97–107

Did you miss the commit message/MR description?

steveire added inline comments.Feb 20 2021, 9:29 AM
clang-tools-extra/test/clang-tidy/checkers/bugprone-throw-keyword-missing.cpp
97–107

Ah, sorry, the local commit message I have wasn't here. I'll add it now.

steveire edited the summary of this revision. (Show Details)Feb 20 2021, 9:30 AM
njames93 accepted this revision.Feb 20 2021, 1:41 PM
This revision is now accepted and ready to land.Feb 20 2021, 1:41 PM
This revision was landed with ongoing or failed builds.Feb 20 2021, 2:07 PM
This revision was automatically updated to reflect the committed changes.