[all-commits] [llvm/llvm-project] 0d1881: Fix GH57943: Friend constraint checker didn't hand...
Erich Keane via All-commits
all-commits at lists.llvm.org
Fri Sep 23 12:22:20 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 0d18815baf6dffa682b0966f311041cfc7d8ff6d
https://github.com/llvm/llvm-project/commit/0d18815baf6dffa682b0966f311041cfc7d8ff6d
Author: Erich Keane <erich.keane at intel.com>
Date: 2022-09-23 (Fri, 23 Sep 2022)
Changed paths:
M clang/lib/Sema/SemaTemplate.cpp
A clang/test/SemaTemplate/gh57943.cpp
Log Message:
-----------
Fix GH57943: Friend constraint checker didn't handle null decls.
Apparently TransformDecl in TreeTransform can be called with a nullptr
for a Decl, so my casts were illegal. The fix here is to add an early
exit to my TransformDecl.
More information about the All-commits
mailing list