[PATCH] D138329: [-Wunsafe-buffer-usage] Add a new recursive matcher to replace `forEachDescendant` in unsafe buffer check

Nico Weber via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jan 4 17:02:18 PST 2023


thakis added a comment.

The `clang` binary should not depend on `ASTMatchers`.

I see this isn't new in this patch, but `ASTMatchers` should only be used from clang-tidy, not from the compiler itself.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D138329



More information about the cfe-commits mailing list