HomePhabricator

[Concepts] Add null check for TemplateTypeParmType::getDecl() in…

Authored by saar.raz on Mar 6 2020, 8:45 AM.

Description

[Concepts] Add null check for TemplateTypeParmType::getDecl() in GetContainedInventedTypeParmVisitor

GetContainedInventedTypeParmVisitor would not account for the case where TemplateTypeParmType::getDecl() is
nullptr, causing bug #45102.

Add the nullptr check.

Details

Committed
saar.razMar 6 2020, 9:32 AM
Parents
rGfb8149cac8b0: [X86] Add CMOV to i686 BMI/TBM tests
Branches
Unknown
Tags
Unknown