OSDN Git Service

[AST][RecoveryExpr] Preserve the AST for invalid conditions.
authorHaojian Wu <hokein.wu@gmail.com>
Mon, 20 Jul 2020 12:53:29 +0000 (14:53 +0200)
committerHaojian Wu <hokein.wu@gmail.com>
Mon, 20 Jul 2020 12:58:36 +0000 (14:58 +0200)
commit684e416ef1361fc3cc93bebbee1466b844751497
treef3db5978c2bb1de49d33df22bf3ed9b027108136
parent9199457bfb5a77121a950df5417fadbf8174cdde
[AST][RecoveryExpr] Preserve the AST for invalid conditions.

Adjust an existing diagnostic test, which is an improvement of secondary diagnostic.

Differential Revision: https://reviews.llvm.org/D81163
clang/lib/Sema/SemaExpr.cpp
clang/test/AST/ast-dump-recovery.cpp
clang/test/SemaTemplate/instantiate-expr-3.cpp