Yeah, I thought about it already. Hope to prepare a fix for it today

Best regards,
Alexey Bataev
=============
Software Engineer
Intel Compiler Team

20.05.2015 20:03, John McCall пишет:
Sema doesn't know much about the "shareds" structure, either.  To be sure, it 
builds it as part of building the CapturedStmt, but it's not like Sema creates 
MemberRefExprs that point into it whenever you refer to a captured variable.  It's not 
even like lambdas, where that struct type is visible in the enclosing AST.  It's purely 
an implementation detail.

It should be possible to have EmitDeclRefLValue just delegate to the current 
CapturedStmtInfo, and then the OpenMP implementations can map privates however 
they're implemented.


http://reviews.llvm.org/D9550

EMAIL PREFERENCES
   http://reviews.llvm.org/settings/panel/emailpreferences/




_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to