This is an archive of the discontinued LLVM Phabricator instance.

[clang-tidy][NFC] Add test for Transformer-based checks with diagnostics.
ClosedPublic

Authored by ymandel on Jan 11 2021, 2:30 PM.

Details

Summary

Adds a test that checks the diagnostic output of a tidy built from TransformerClangTidyCheck.

Diff Detail

Event Timeline

ymandel requested review of this revision.Jan 11 2021, 2:30 PM
ymandel created this revision.
Herald added a project: Restricted Project. · View Herald TranscriptJan 11 2021, 2:30 PM
tdl-g accepted this revision.Jan 12 2021, 8:13 AM
This revision is now accepted and ready to land.Jan 12 2021, 8:13 AM
ymandel updated this revision to Diff 316158.Jan 12 2021, 10:20 AM

Discarded API changes, reduced to new clang-tidy lib test.

ymandel retitled this revision from [libTooling] Add function to Transformer for creating a diagnostic-only rule. to [clang-tidy][NFC] Add test for Transformer-based checks with diagnostics..Jan 12 2021, 10:22 AM
ymandel edited the summary of this revision. (Show Details)
ymandel added a project: Restricted Project.

Reworked, per our discussion. PTAL.

tdl-g accepted this revision.Jan 12 2021, 11:39 AM