[clang] [Serialization] Handle uninitialized type constraints (PR #110496)
Florian Albrechtskirchinger via cfe-commits
cfe-commits at lists.llvm.org
Mon Oct 7 06:28:13 PDT 2024
================
@@ -2674,7 +2674,7 @@ void ASTDeclReader::VisitTemplateTypeParmDecl(TemplateTypeParmDecl *D) {
D->setDeclaredWithTypename(Record.readInt());
- if (D->hasTypeConstraint()) {
+ if (Record.readBool() && D->hasTypeConstraint()) {
----------------
falbrechtskirchinger wrote:
Sure. Just waiting on a final verdict, on whether this is still needed.
https://github.com/llvm/llvm-project/pull/110496
More information about the cfe-commits
mailing list