alexey-bataev wrote:

The codegen for each(virtual) directive should live on codegen. But(!) Sema 
should emit separate (specific) CapturedStmts for each such virtual region. 
Check, how the combined directives work. Sema defines multiple CapturedStmt for 
each combined directive, and then codegen emits the code for each(virtual) 
standalone directive, using CapturedStmt for this particular (virtual) 
standalone directive. The list of captures of each sub-directives might be 
different, so Sema should provide different CapturedStmt for each emitted 
sub-directive.

https://github.com/llvm/llvm-project/pull/131838
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to