================
@@ -109,14 +126,15 @@ class OpenACCClauseCIREmitter final
}
void VisitDeviceTypeClause(const OpenACCDeviceTypeClause &clause) {
+ lastDeviceTypeClause = &clause;
----------------
erichkeane wrote:
Its owned by the AST, so its lifetime lasts until the AST is destroyed, which
is after frontend codegen.
https://github.com/llvm/llvm-project/pull/136578
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits