[clang] [clang-tools-extra] Move isLocal AST matcher to ASTMatchers (PR #117521)

2024-11-25 Thread via cfe-commits
github-actions[bot] wrote: :warning: C/C++ code formatter, clang-format found issues in your code. :warning: You can test this locally with the following command: ``bash git-clang-format --diff a0ef12c64284abf59bc092b2535cce1247d5f9a4 ee0c3b11c93dc8d95f521cda7c2ac9acc7c184f7 --e

[clang] [clang-tools-extra] Move isLocal AST matcher to ASTMatchers (PR #117521)

2024-11-25 Thread via cfe-commits
github-actions[bot] wrote: ⚠️ We detected that you are using a GitHub private e-mail address to contribute to the repo. Please turn off [Keep my email addresses private](https://github.com/settings/emails) setting in your account. See [LLVM Discourse](https://discourse.llvm.org/t/hidden-email

[clang] [clang-tools-extra] Move isLocal AST matcher to ASTMatchers (PR #117521)

2024-11-25 Thread Aaron Ballman via cfe-commits
AaronBallman wrote: > * Try to search usage of `isLocalVarDecl` in other checks and replace them > with this one. > > * Add some test cases of this matcher. Also, please be sure to add the matcher to `clang/lib/ASTMatchers/Dynamic/Registry.cpp` and a release note to `clang/docs/ReleaseNo

[clang] [clang-tools-extra] Move isLocal AST matcher to ASTMatchers (PR #117521)

2024-11-24 Thread Congcong Cai via cfe-commits
https://github.com/HerrCai0907 commented: - Try to search usage of `isLocalVarDecl` in other checks and replace them with this one. - Add some test cases of this matcher. https://github.com/llvm/llvm-project/pull/117521 ___ cfe-commits mailing list cf

[clang] [clang-tools-extra] Move isLocal AST matcher to ASTMatchers (PR #117521)

2024-11-24 Thread Marie Zhussupova via cfe-commits
https://github.com/phychee edited https://github.com/llvm/llvm-project/pull/117521 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang-tools-extra] Move isLocal AST matcher to ASTMatchers (PR #117521)

2024-11-24 Thread Marie Zhussupova via cfe-commits
https://github.com/phychee edited https://github.com/llvm/llvm-project/pull/117521 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits