[PATCH] D98738: [clang-tidy] performance-* checks: Match AllowedTypes against qualified type names when they contain "::".

Felix Berger via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Apr 5 08:53:21 PDT 2021


flx updated this revision to Diff 335267.
flx marked an inline comment as done.
flx added a comment.

Create a NameMatcher class that handles matching against the best name variant
(unqualified, qualified, fully qualified) of the NamedDecl.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D98738

Files:
  clang-tools-extra/clang-tidy/utils/Matchers.h
  clang-tools-extra/docs/clang-tidy/checks/performance-for-range-copy.rst
  clang-tools-extra/docs/clang-tidy/checks/performance-unnecessary-copy-initialization.rst
  clang-tools-extra/docs/clang-tidy/checks/performance-unnecessary-value-param.rst
  clang-tools-extra/test/clang-tidy/checkers/performance-for-range-copy-allowed-types.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D98738.335267.patch
Type: text/x-patch
Size: 7554 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210405/55edbffe/attachment.bin>


More information about the cfe-commits mailing list