[all-commits] [llvm/llvm-project] 4bf6cc: GH60642: Fix ICE when checking a lambda defined in...
Erich Keane via All-commits
all-commits at lists.llvm.org
Fri Feb 17 06:10:05 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 4bf6cc63aa77a7fea7e410f7d45899abcde2b58a
https://github.com/llvm/llvm-project/commit/4bf6cc63aa77a7fea7e410f7d45899abcde2b58a
Author: Erich Keane <erich.keane at intel.com>
Date: 2023-02-17 (Fri, 17 Feb 2023)
Changed paths:
M clang/lib/Sema/TreeTransform.h
M clang/test/SemaTemplate/concepts-lambda.cpp
Log Message:
-----------
GH60642: Fix ICE when checking a lambda defined in a concept definition
As reported in GH60642, we asserted when there was a lambda defined in a
template arguments inside of a concept, which caused us to not properly
set up the list of instantiation args. This patch ensures that the
'lambda context decl' correctly falls-through the template argument
instantiation, so that it is available when instantiating the lambda,
and thus, when setting up the lambda instantiation args list.
More information about the All-commits
mailing list