[PATCH] D94453: [libTooling] Add function to Transformer for creating a diagnostic-only rule.

Yitzhak Mandelbaum via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Jan 11 14:30:18 PST 2021


ymandel created this revision.
ymandel added a reviewer: tdl-g.
ymandel requested review of this revision.
Herald added a project: clang.

Adds a convenience function for creating a rule that only generates a
diagnostic, without any correpsonding edits.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D94453

Files:
  clang-tools-extra/unittests/clang-tidy/TransformerClangTidyCheckTest.cpp
  clang/include/clang/Tooling/Transformer/RewriteRule.h
  clang/unittests/Tooling/TransformerTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D94453.315938.patch
Type: text/x-patch
Size: 5572 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210111/34e43904/attachment.bin>


More information about the cfe-commits mailing list