[PATCH] D141892: [clang-tidy] Implement modernize-use-constraints

Piotr Zegar via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sun Jul 30 13:42:26 PDT 2023


PiotrZSL accepted this revision.
PiotrZSL added inline comments.


================
Comment at: clang-tools-extra/clang-tidy/modernize/UseConstraintsCheck.cpp:42
+void UseConstraintsCheck::registerMatchers(MatchFinder *Finder) {
+  Finder->addMatcher(
+      functionTemplateDecl(
----------------
Would be good to exclude here implicit code. For example with IgnoreUnlessSpelledInSource, maybe in next patch.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D141892



More information about the cfe-commits mailing list