Unverified Commit b8a1b698 authored by Matheus Izvekov's avatar Matheus Izvekov
Browse files

[clang] fix missing initialization of original number of expansions



When expanding undeclared function parameters, we should initialize
the original number of expansions, if known, before trying to expand
them, otherwise a length mismatch with an outer pack might not be
diagnosed.

Fixes PR56094.

Signed-off-by: default avatarMatheus Izvekov <mizvekov@gmail.com>

Differential Revision: https://reviews.llvm.org/D131802
parent b8ecf32f
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