[PATCH] D143971: [clang-tidy] Flag code with both string constructor arguments implicitly casted

Chris Cotter via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Feb 13 19:55:57 PST 2023


ccotter updated this revision to Diff 497189.
ccotter added a comment.

- Add more cases to swapped params


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D143971/new/

https://reviews.llvm.org/D143971

Files:
  clang-tools-extra/clang-tidy/bugprone/StringConstructorCheck.cpp
  clang-tools-extra/docs/ReleaseNotes.rst
  clang-tools-extra/docs/clang-tidy/checks/bugprone/string-constructor.rst
  clang-tools-extra/test/clang-tidy/checkers/bugprone/string-constructor.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D143971.497189.patch
Type: text/x-patch
Size: 13213 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230214/2e1db569/attachment.bin>


More information about the cfe-commits mailing list