[PATCH] D80980: [AST] Fix a null initializer crash for InitListExpr

2020-06-02 Thread Haojian Wu via Phabricator via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rG97b8dabba5c5: [AST] Fix a null initializer crash for InitListExpr (authored by hokein). Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D80980/new/ https://rev

[PATCH] D80980: [AST] Fix a null initializer crash for InitListExpr

2020-06-02 Thread Haojian Wu via Phabricator via cfe-commits
hokein created this revision. hokein added a reviewer: sammccall. Herald added a project: clang. hokein marked an inline comment as done. hokein added inline comments. Comment at: clang/lib/Sema/SemaInit.cpp:1640 expr = Result.getAs(); // FIXME: Why are we updating the synt

[PATCH] D80980: [AST] Fix a null initializer crash for InitListExpr

2020-06-02 Thread Haojian Wu via Phabricator via cfe-commits
hokein marked an inline comment as done. hokein added inline comments. Comment at: clang/lib/Sema/SemaInit.cpp:1640 expr = Result.getAs(); // FIXME: Why are we updating the syntactic init list? + if (!VerifyOnly && expr) I have the same question. but if y