We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 71eb5ea commit 370366fCopy full SHA for 370366f
clang/test/Preprocessor/init.c
@@ -2742,3 +2742,10 @@
2742
// RISCV64-LINUX: #define __unix__ 1
2743
// RISCV64-LINUX: #define linux 1
2744
// RISCV64-LINUX: #define unix 1
2745
+//
2746
+// RUN: %clang_cc1 -dM -triple=aarch64-unknown-uefi -E < /dev/null | FileCheck -match-full-lines -check-prefix UEFI %s
2747
+// RUN: %clang_cc1 -dM -triple=x86_64-unknown-uefi -E /dev/null | FileCheck -match-full-lines -check-prefix UEFI %s
2748
2749
+// UEFI: #define __uefi 1
2750
+// UEFI: #define __uefi__ 1
2751
+// UEFI: #define uefi 1
0 commit comments