[PATCH] D19382: [OpenMP] Improve mappable expressions Sema.
Alexey Bataev via cfe-commits
cfe-commits at lists.llvm.org
Mon Apr 25 04:44:36 PDT 2016
ABataev added inline comments.
================
Comment at: lib/AST/OpenMPClause.cpp:546
@@ +545,3 @@
+ for (auto *D : Declarations) {
+ if (Cache.count(D))
+ continue;
----------------
I think you'd better to count and to store canonical decls rather than the decls themselves. It will resolves issues for decls, where one decl is declared as an alias to another decl
http://reviews.llvm.org/D19382
More information about the cfe-commits
mailing list