[clang] [Clang] Fix handling of brace ellison when building deduction guides (PR #94889)
Haojian Wu via cfe-commits
cfe-commits at lists.llvm.org
Tue Jun 11 06:34:14 PDT 2024
================
@@ -305,14 +305,32 @@ namespace {
/// structured list even in 'verify only' mode, so that we can track which
/// elements need 'empty' initializtion.
class InitListChecker {
+public:
+ struct CandidateParamTypesForAggregateDeduction {
----------------
hokein wrote:
nit: instead of using two pointers pointing to the external storage, I'd suggest storing value in this struct, and use a pointer of `CandidateParamTypesForAggregateDeduction` in the `InitListChecker`.
https://github.com/llvm/llvm-project/pull/94889
More information about the cfe-commits
mailing list