================ @@ -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 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
