[all-commits] [llvm/llvm-project] 80c1ad: [clang] Invalidate a non-dependent-type RecordDecl...
Haojian Wu via All-commits
all-commits at lists.llvm.org
Thu May 20 06:33:35 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 80c1adfd18b5308422827f8372c28cc2ecfaa015
https://github.com/llvm/llvm-project/commit/80c1adfd18b5308422827f8372c28cc2ecfaa015
Author: Haojian Wu <hokein.wu at gmail.com>
Date: 2021-05-20 (Thu, 20 May 2021)
Changed paths:
M clang/lib/Sema/SemaDeclCXX.cpp
M clang/test/SemaTemplate/temp_class_spec.cpp
Log Message:
-----------
[clang] Invalidate a non-dependent-type RecordDecl when it has any dependent-type base class specifier.
This happens during the error-recovery, and it would esacpe all
dependent-type check guards in getTypeInfo/constexpr-evaluator code
paths, which lead to crashes.
Differential Revision: https://reviews.llvm.org/D102773
More information about the All-commits
mailing list