[clang] [Clang][AArch64] set default mtune for macOS (PR #179136)

Jon Roelofs via cfe-commits cfe-commits at lists.llvm.org
Tue Feb 10 12:51:54 PST 2026


================
@@ -13,6 +13,7 @@
 #include "llvm/Option/ArgList.h"
 #include "llvm/TargetParser/AArch64TargetParser.h"
 #include "llvm/TargetParser/Host.h"
+#include <optional>
----------------
jroelofs wrote:

`AArch66.cpp` implements interfaces declared by `AArch64.h`. `AArch64.h` includes `<optional>` in order to declare `aarch64::getAArch64TargetTuneCPU`, therefore `AArch64.cpp` does not need to, and should not need to include `<optional>` itself.

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


More information about the cfe-commits mailing list