[all-commits] [llvm/llvm-project] 9769e1: [Concepts] Fix incorrect DeclContext for transform...
Saar Raz via All-commits
all-commits at lists.llvm.org
Tue Mar 10 14:19:38 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 9769e1ee9acc33638449b50ac394b5ee2d4efb60
https://github.com/llvm/llvm-project/commit/9769e1ee9acc33638449b50ac394b5ee2d4efb60
Author: Saar Raz <saar at raz.email>
Date: 2020-03-10 (Tue, 10 Mar 2020)
Changed paths:
M clang/lib/Sema/TreeTransform.h
M clang/test/SemaTemplate/instantiate-requires-expr.cpp
Log Message:
-----------
[Concepts] Fix incorrect DeclContext for transformed RequiresExprBodyDecl
We would assign the incorrect DeclContext when transforming the RequiresExprBodyDecl, causing incorrect
handling of 'this' inside RequiresExprBodyDecls (bug #45162).
Assign the current context as the DeclContext of the transformed decl.
More information about the All-commits
mailing list