================
@@ -1397,7 +1413,7 @@ bool CodeGenFunction::EmitOMPLastprivateClauseInit(
cast<VarDecl>(cast<DeclRefExpr>(C)->getDecl())->getCanonicalDecl());
}
}
- llvm::DenseSet<const VarDecl *> AlreadyEmittedVars;
+ llvm::DenseSet<const ValueDecl *> AlreadyEmittedVars;
----------------
alexey-bataev wrote:
```suggestion
llvm::SmallDenseSet<const ValueDecl *> AlreadyEmittedVars;
```
https://github.com/llvm/llvm-project/pull/190832
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits