[clang] [clang] Factor out OpenACC part of `Sema` (PR #84184)
Erich Keane via cfe-commits
cfe-commits at lists.llvm.org
Wed Mar 6 08:01:40 PST 2024
================
@@ -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:
Hmm... thats a good point. Perhaps `Diag` is just over represented here.
https://github.com/llvm/llvm-project/pull/84184
More information about the cfe-commits
mailing list