[PATCH] D85193: [clang] Do not use an invalid expression to update the initializer.
Aaron Ballman via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Aug 11 09:40:07 PDT 2020
aaron.ballman added inline comments.
================
Comment at: clang/lib/Sema/SemaInit.cpp:3088
// No structured initializer list to update
if (!StructuredList)
return;
----------------
I would move the check up to here as the only time we should get a null expression is if something else has gone wrong (and update the comment as well).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D85193/new/
https://reviews.llvm.org/D85193
More information about the cfe-commits
mailing list