[all-commits] [llvm/llvm-project] 5b07de: [clang][ASTMatcher] fix hasAnyBase not binding sub...
5chmidti via All-commits
all-commits at lists.llvm.org
Mon Oct 16 11:10:01 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 5b07de1a5faf4a22ae6fd982b877c5e7e3a76559
https://github.com/llvm/llvm-project/commit/5b07de1a5faf4a22ae6fd982b877c5e7e3a76559
Author: 5chmidti <44101708+5chmidti at users.noreply.github.com>
Date: 2023-10-16 (Mon, 16 Oct 2023)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/lib/ASTMatchers/ASTMatchersInternal.cpp
M clang/unittests/ASTMatchers/ASTMatchersTraversalTest.cpp
Log Message:
-----------
[clang][ASTMatcher] fix hasAnyBase not binding submatchers (#67939)
The BoundNodesTreeBuilder used in the BaseSpecMatcher was the original
and was reset to its original state if a match occurred.
The matcher now uses the local copy in the inner matcher.
Fixes https://github.com/llvm/llvm-project/issues/65421
More information about the All-commits
mailing list