[clang] [clang] Factor out OpenACC part of `Sema` (PR #84184)

via cfe-commits cfe-commits at lists.llvm.org
Thu Mar 7 04:56:58 PST 2024


================
@@ -1162,6 +1162,11 @@ class Sema final {
   /// CurContext - This is the current declaration context of parsing.
   DeclContext *CurContext;
 
+  SemaOpenACC &OpenACC() {
+    assert(OpenACCPtr);
----------------
cor3ntin wrote:

In the current design, the assert does nothing useful.

https://github.com/llvm/llvm-project/pull/84184


More information about the cfe-commits mailing list