[all-commits] [llvm/llvm-project] 7c18c2: [Concepts] Add null check for TemplateTypeParmType...
Saar Raz via All-commits
all-commits at lists.llvm.org
Fri Mar 6 09:35:07 PST 2020
Branch: refs/heads/release/10.x
Home: https://github.com/llvm/llvm-project
Commit: 7c18c2f709e9a1009c120ff31863799a1279c3b1
https://github.com/llvm/llvm-project/commit/7c18c2f709e9a1009c120ff31863799a1279c3b1
Author: Saar Raz <saar at raz.email>
Date: 2020-03-06 (Fri, 06 Mar 2020)
Changed paths:
M clang/lib/Sema/SemaTemplateInstantiate.cpp
M clang/test/SemaTemplate/instantiate-abbreviated-template.cpp
Log Message:
-----------
[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.
(cherry picked from commit 865456d589e093582acaafd17d58ad1c0cce66af)
More information about the All-commits
mailing list