[clang] [llvm] [Clang][OpenMP] Support for dispatch construct (Sema & Codegen) support (PR #131838)
via cfe-commits
cfe-commits at lists.llvm.org
Thu Apr 24 01:50:00 PDT 2025
================
@@ -423,8 +423,8 @@ static void instantiateOMPDeclareVariantAttr(
auto *FD = cast<FunctionDecl>(New);
auto *ThisContext = dyn_cast_or_null<CXXRecordDecl>(FD->getDeclContext());
- auto &&SubstExpr = [FD, ThisContext, &S, &TemplateArgs](Expr *E) {
- if (auto *DRE = dyn_cast<DeclRefExpr>(E->IgnoreParenImpCasts()))
+ auto &&SubstExpr = [FD, ThisContext, &S, &TemplateArgs, New](Expr *E) {
----------------
SunilKuravinakop wrote:
Sorry, this was not deleted properly. I was attempting to include another change but, I subsequently rolled it back for this patch. Thanks for pointing it out.
https://github.com/llvm/llvm-project/pull/131838
More information about the cfe-commits
mailing list