[all-commits] [llvm/llvm-project] f3f495: [Clang] Remove the special-casing for RequiresExpr...
Younan Zhang via All-commits
all-commits at lists.llvm.org
Thu Oct 10 23:02:45 PDT 2024
Branch: refs/heads/release/19.x
Home: https://github.com/llvm/llvm-project
Commit: f3f49528c419e4d7be9df8eeafa57dea2701ac47
https://github.com/llvm/llvm-project/commit/f3f49528c419e4d7be9df8eeafa57dea2701ac47
Author: Younan Zhang <zyn7109 at gmail.com>
Date: 2024-10-11 (Fri, 11 Oct 2024)
Changed paths:
M clang/lib/Sema/SemaExpr.cpp
M clang/lib/Sema/TreeTransform.h
R clang/test/SemaCXX/PR84020.cpp
M clang/test/SemaTemplate/instantiate-requires-expr.cpp
Log Message:
-----------
[Clang] Remove the special-casing for RequiresExprBodyDecl in BuildResolvedCallExpr() after fd87d765c0 (#111277)
The special-casing for RequiresExprBodyDecl caused a regression, as
reported in #110785.
The original fix for #84020 has been superseded by fd87d765c0, which
establishes a `DependentScopeDeclRefExpr` instead of a
`CXXDependentScopeMemberExpr` for the case in issue. So the spurious
diagnostic in #84020 would no longer occur.
This also merges the test for #84020 together with that for #110785 into
clang/test/SemaTemplate/instantiate-requires-expr.cpp.
No release note because I think this merits a backport.
Fixes #110785
(cherry picked from commit 8c1547055eaf65003f3e6fd024195f4926ff2356)
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list