[PATCH] D150602: [clang-tidy] Move formatDereference to FixitHintUtils

Mike Crowe via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon May 15 12:28:22 PDT 2023


mikecrowe created this revision.
mikecrowe added reviewers: njames93, carlosgalvezp, PiotrZSL.
Herald added a subscriber: xazax.hun.
Herald added a project: All.
mikecrowe requested review of this revision.
Herald added a project: clang-tools-extra.
Herald added a subscriber: cfe-commits.

I'd like to use RedundantStringCStrCheck's formatDereference function
from the up-coming modernize-use-std-print check. Let's move it to
FixItHintUtils so that the implementation can be shared.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D150602

Files:
  clang-tools-extra/clang-tidy/readability/RedundantStringCStrCheck.cpp
  clang-tools-extra/clang-tidy/utils/FixItHintUtils.cpp
  clang-tools-extra/clang-tidy/utils/FixItHintUtils.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D150602.522296.patch
Type: text/x-patch
Size: 5461 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230515/95394764/attachment.bin>


More information about the cfe-commits mailing list