[clang] [llvm] [Driver] Rearrange some Apple version testing (PR #94514)

Fangrui Song via cfe-commits cfe-commits at lists.llvm.org
Wed Jun 5 17:43:30 PDT 2024


================
@@ -0,0 +1,31 @@
+// Test triple manipulations.
+
+// RUN: %clang -### -c %s \
+// RUN:     -target i386-apple-darwin10 -mappletvsimulator-version-min=9.0 -arch x86_64 2>&1 | \
----------------
MaskRay wrote:

Perhaps 2-space indentation, which is much more common.

(`-target ` has been deprecated for a long time at least for ELF. I guess Apple OS might want to have an exception since they also have `-arch `)

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


More information about the cfe-commits mailing list