[lld] [libcxxabi] [openmp] [flang] [clang-tools-extra] [mlir] [libc] [libcxx] [llvm] [clang] [lldb] [libunwind] [polly] [compiler-rt] Make clang report invalid target versions. (PR #75373)

Fangrui Song via cfe-commits cfe-commits at lists.llvm.org
Mon Jan 8 16:41:15 PST 2024


================
@@ -786,4 +786,7 @@ def warn_android_unversioned_fallback : Warning<
   " directories will not be used in Clang 19. Provide a versioned directory"
   " for the target version or lower instead.">,
   InGroup<DiagGroup<"android-unversioned-fallback">>;
+
+def err_android_version_invalid : Error<
----------------
MaskRay wrote:

You can name it `err_triple_version_invalid` in case other OSes want to do the same checking.

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


More information about the cfe-commits mailing list