Updates the return types of these matchers' definitions to use
internal::Matcher<LambdaCapture> instead of LambdaCaptureMatcher. This
ensures that they are categorized as traversal matchers, instead of narrowing
matchers.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
LGTM! I had no idea...
(As a follow-up question, should we be removing the using declarations starting around line 141 or so? Many of them are not used, and if the documentation dumper can't look through typedefs and gets the documentation wrong, perhaps we want to discourage using them entirely?)
Comment Actions
Aaron -- at least in our codebase, those are used a fair amount. What about updating the script to understand those typedefs?
Comment Actions
That would also be an effective solution! I was assuming it would be difficult to update the script.