This is an archive of the discontinued LLVM Phabricator instance.

[clang-tidy] Add createChecks method that also checks for LangaugeOptions
ClosedPublic

Authored by njames93 on Apr 23 2022, 12:58 AM.

Details

Summary

This method won't add a check if it isn't supported in the Contexts current LanguageOptions.

Diff Detail

Event Timeline

njames93 created this revision.Apr 23 2022, 12:58 AM
njames93 requested review of this revision.Apr 23 2022, 12:58 AM
Herald added a project: Restricted Project. · View Herald TranscriptApr 23 2022, 12:58 AM
Herald added a subscriber: cfe-commits. · View Herald Transcript
njames93 updated this revision to Diff 424694.Apr 23 2022, 1:01 AM

Remove unnecessary copy of LanguageOptions.

aaron.ballman accepted this revision.May 2 2022, 7:04 AM

Just to double-check, this is an NFC change, isn't it (thus there's no tests)? Assuming that's true, this LGTM (though please add NFC to the commit message title).

This revision is now accepted and ready to land.May 2 2022, 7:04 AM