================ @@ -63,17 +67,17 @@ void Sema::ActOnOpenACCConstruct(OpenACCDirectiveKind K, // here as these constructs do not take any arguments. break; default: - Diag(StartLoc, diag::warn_acc_construct_unimplemented) << K; + Sema.Diag(StartLoc, diag::warn_acc_construct_unimplemented) << K; ---------------- erichkeane wrote:
I've seen this enough... I wonder if the 'sub' types should have a 'Diag' reference as well? WDYT? https://github.com/llvm/llvm-project/pull/84184 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits