diff options
author | Erich Keane <erich.keane@intel.com> | 2021-01-06 06:46:01 -0800 |
---|---|---|
committer | Erich Keane <erich.keane@intel.com> | 2021-01-06 07:17:12 -0800 |
commit | 3fa6cedb6be809092f8a8b27e63bd4f6dc526a08 (patch) | |
tree | b41e7d76ac5b855eb3a1d019272c1bb279d505b8 /flang/lib/Frontend/CompilerInvocation.cpp | |
parent | 0c41b1c9f93c09966b87126820d3cf41d8eebbf9 (diff) | |
download | llvm-3fa6cedb6be809092f8a8b27e63bd4f6dc526a08.zip llvm-3fa6cedb6be809092f8a8b27e63bd4f6dc526a08.tar.gz llvm-3fa6cedb6be809092f8a8b27e63bd4f6dc526a08.tar.bz2 |
Fix MaterializeTemporaryExpr's type when its an incomplete array.
Like the VarDecl that gets its type updated based on an init-list, this
patch corrects the MaterializeTemporaryExpr's type to make sure it isn't
creating an incomplete type, which leads to a handful of CodeGen crashes
(see PR 47636).
Based on @rsmith 's comments on D88236
Differential Revision: https://reviews.llvm.org/D88298
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions