Skip to content
Commit 80c1adfd authored by Haojian Wu's avatar Haojian Wu
Browse files

[clang] Invalidate a non-dependent-type RecordDecl when it has any...

[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
parent 80836ee5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment