HomePhabricator

[clang-tidy] RenamerClangTidy wont emit fixes in scratch space

Authored by njames93 on Jun 22 2020, 10:26 AM.

Description

[clang-tidy] RenamerClangTidy wont emit fixes in scratch space

Prevent fixes being displayed if usages are found in the scratch buffer.
See Fix-It hints are being generated in the ScratchBuffer.
It may be wise down the line to put in a general fix in clang-tidy to prevent ScratchBuffer replacements being applied, but for now this will help.

Reviewed By: aaron.ballman

Differential Revision: https://reviews.llvm.org/D82162

Details

Committed
njames93Jun 22 2020, 10:26 AM
Reviewer
aaron.ballman
Differential Revision
D82162: [clang-tidy] RenamerClangTidy wont emit fixes in scratch space
Parents
rG9a8b04114480: [clang-tidy] llvm-twine-local ignores parameters
Branches
Unknown
Tags
Unknown