[PATCH] D75134: [clang-tidy] Improved renamer check logic

Nathan James via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Feb 25 12:10:54 PST 2020


njames93 created this revision.
njames93 added reviewers: aaron.ballman, Eugene.Zelenko, gribozavr2, alexfh, hokein.
Herald added subscribers: cfe-commits, xazax.hun.
Herald added a project: clang.

Factored out some similar code in add_new_check.py and rename_check.py.
Made rename_check.py less error prone by targetting string replacements
Haven't linted the code as that is a can of worms given the 100+ different style options currently used in the python files


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D75134

Files:
  clang-tools-extra/clang-tidy/add_new_check.py
  clang-tools-extra/clang-tidy/rename_check.py
  clang-tools-extra/clang-tidy/utils/__init__.py
  clang-tools-extra/clang-tidy/utils/modify_check.py

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D75134.246529.patch
Type: text/x-patch
Size: 19743 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200225/86e502f2/attachment-0001.bin>


More information about the cfe-commits mailing list