Unverified Commit dbb97498 authored by Ding Fei's avatar Ding Fei Committed by GitHub
Browse files

[ASTMatchers] fix captureVars assertion failure on capturesVariables (#76619)

Matcher `capturesVar` should check for `capturesVariables()` before
calling `getCaptureVar()` since it asserts this `LambdaCapture` does
capture a variable.

Fixes #76425
parent 51089e36
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment