[Mlir-commits] [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 llvmlistbot at llvm.org
Mon Jan 8 16:56:35 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<
+  "Version %0 in triple %1 is invalid.">;
----------------
MaskRay wrote:

Perhaps `version '%0' in target triple '%1' is invalid`

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


More information about the Mlir-commits mailing list