[all-commits] [llvm/llvm-project] 7457e2: [clang][ASTMatcher] Add matchers for isExplicitObj...
Balazs Benics via All-commits
all-commits at lists.llvm.org
Fri Mar 8 04:57:48 PST 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 7457e2c1535acd548d2619dfb34eb93d27d15908
https://github.com/llvm/llvm-project/commit/7457e2c1535acd548d2619dfb34eb93d27d15908
Author: Balazs Benics <benicsbalazs at gmail.com>
Date: 2024-03-08 (Fri, 08 Mar 2024)
Changed paths:
M clang/docs/LibASTMatchersReference.html
M clang/docs/ReleaseNotes.rst
M clang/include/clang/ASTMatchers/ASTMatchers.h
M clang/include/clang/Testing/CommandLineArgs.h
M clang/include/clang/Testing/TestClangConfig.h
M clang/lib/ASTMatchers/Dynamic/Registry.cpp
M clang/lib/Testing/CommandLineArgs.cpp
M clang/unittests/ASTMatchers/ASTMatchersNarrowingTest.cpp
M clang/unittests/ASTMatchers/ASTMatchersNodeTest.cpp
M clang/unittests/ASTMatchers/ASTMatchersTest.h
Log Message:
-----------
[clang][ASTMatcher] Add matchers for isExplicitObjectMemberFunction() (#84446)
Note that this patch will be necessary to fix
`forEachArgumentWithParam()` and `forEachArgumentWithParamType()`
matchers for deducing "this"; which is my true motivation. There the bug
is that with explicit obj params, one should not adjust the number of
arguments in presence of `CXXMethodDecls`, and this causes a mismatch
there mapping the argument to the wrong param. But, I'll come back there
once we have this matcher.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list