================ @@ -109,14 +126,15 @@ class OpenACCClauseCIREmitter final } void VisitDeviceTypeClause(const OpenACCDeviceTypeClause &clause) { + lastDeviceTypeClause = &clause; ---------------- andykaylor wrote:
What's the lifetime of this object? Who owns it? https://github.com/llvm/llvm-project/pull/136578 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits