[Lldb-commits] [lldb] [clang] [libc] [llvm] [clang-tools-extra] [libcxx] [lld] [flang] [OpenACC] Initial commits to support OpenACC (PR #70234)

Alexey Bataev via lldb-commits lldb-commits at lists.llvm.org
Tue Nov 7 12:59:14 PST 2023


================
@@ -0,0 +1,14 @@
+// RUN: %clang -S -### -fopenacc %s 2>&1 | FileCheck %s --check-prefix=CHECK-DRIVER
+// CHECK-DRIVER: "-cc1" {{.*}} "-fopenacc"
+
+// RUN: %clang -S -### -fopenacc -fexperimental-openacc-macro-override=202211 %s 2>&1 | FileCheck %s --check-prefix=CHECK-MACRO-OVERRIDE
+// RUN: %clang -S -### -fopenacc -fexperimental-openacc-macro-override 202211 %s 2>&1 | FileCheck %s --check-prefix=CHECK-MACRO-OVERRIDE
----------------
alexey-bataev wrote:

Why do you need this new option fexperimental-openacc-macro-override? Can you just rely on -D_OPENACC instead?

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


More information about the lldb-commits mailing list