llvm-project/clang/test/CXX
Matheus Izvekov b8a1b698af
[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: Matheus Izvekov <mizvekov@gmail.com>

Differential Revision: https://reviews.llvm.org/D131802
2022-08-15 17:39:38 +02:00
..
basic [clang] Implement ElaboratedType sugaring for types written bare 2022-07-27 11:10:54 +02:00
class Fix -Wbitfield-constant-conversion on 1-bit signed bitfield 2022-08-09 11:43:50 -04:00
class.access [clang] Implement ElaboratedType sugaring for types written bare 2022-07-27 11:10:54 +02:00
class.derived
conv [clang] Implement ElaboratedType sugaring for types written bare 2022-07-27 11:10:54 +02:00
cpp [clang][WebAssemmbly] Call TargetInfo::adjust in derived method. 2022-02-10 16:04:06 -08:00
dcl [concepts] Implement dcl.decl.general p4: No constraints on non-template funcs 2022-05-17 06:21:51 -07:00
dcl.dcl [clang] Implement ElaboratedType sugaring for types written bare 2022-07-27 11:10:54 +02:00
dcl.decl [clang][sema] Print more information about failed static assertions 2022-08-11 08:44:38 +02:00
drs [c++] implements DR692, DR1395 and tentatively DR1432, about partial ordering of variadic template partial specialization or function template 2022-08-14 14:37:40 -07:00
except [clang] Implement ElaboratedType sugaring for types written bare 2022-07-27 11:10:54 +02:00
expr [clang] Implement ElaboratedType sugaring for types written bare 2022-07-27 11:10:54 +02:00
lex Add type information to integral template argument if required. 2021-05-12 19:00:08 +00:00
module [C++20] [Module] Support reachable definition initially/partially 2022-06-29 12:48:48 +08:00
modules-ts [C++20] [Module] Support reachable definition initially/partially 2022-06-29 12:48:48 +08:00
over [clang] Implement ElaboratedType sugaring for types written bare 2022-07-27 11:10:54 +02:00
special [clang] Implement ElaboratedType sugaring for types written bare 2022-07-27 11:10:54 +02:00
stmt.stmt [clang] Implement ElaboratedType sugaring for types written bare 2022-07-27 11:10:54 +02:00
temp [clang] fix missing initialization of original number of expansions 2022-08-15 17:39:38 +02:00