================
@@ -23630,6 +24004,14 @@ static void checkMappableExpressionList(
 
     Expr *SimpleExpr = RE->IgnoreParenCasts();
 
+    // Skip entries with unnamed decls (can happen with transformed 
expressions)
+    if (const auto *DRE = dyn_cast<DeclRefExpr>(SimpleExpr)) {
+      if (const auto *D = dyn_cast<NamedDecl>(DRE->getDecl())) {
+        if (!D->getDeclName())
+          continue;
----------------
zahiraam wrote:

Removed.

https://github.com/llvm/llvm-project/pull/190832
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to