[all-commits] [llvm/llvm-project] 566b49: [clang] Set the error-bit for ill-formed semantic ...
Haojian Wu via All-commits
all-commits at lists.llvm.org
Tue Jul 21 00:50:36 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 566b49884d69f88147c1ca18fd4512f73a3c15e3
https://github.com/llvm/llvm-project/commit/566b49884d69f88147c1ca18fd4512f73a3c15e3
Author: Haojian Wu <hokein.wu at gmail.com>
Date: 2020-07-21 (Tue, 21 Jul 2020)
Changed paths:
M clang-tools-extra/clangd/unittests/HoverTests.cpp
M clang/include/clang/AST/DependenceFlags.h
M clang/include/clang/AST/Expr.h
M clang/lib/AST/ComputeDependence.cpp
M clang/lib/Sema/SemaInit.cpp
Log Message:
-----------
[clang] Set the error-bit for ill-formed semantic InitListExpr.
When a semantic checking fails on a syntactic InitListExpr, we will
get an ill-formed semantic InitListExpr (e.g. some inits are nullptr),
using this semantic InitListExpr in clang (without setting the err-bits) is crashy.
Differential Revision: https://reviews.llvm.org/D84140
More information about the All-commits
mailing list