From 7ed13a5fafd2a7b8b4aabeaea5a4eeabc7c0cbee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=AE=B8=E6=9D=B0=E5=8F=8B=20Jieyou=20Xu=20=28Joe=29?= <39484203+jieyouxu@users.noreply.github.com> Date: Thu, 14 Nov 2024 22:16:16 +0800 Subject: [PATCH] Document `max-llvm-major-version` directive (#2129) --- src/tests/directives.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/tests/directives.md b/src/tests/directives.md index 409a7eac..b8fba7a6 100644 --- a/src/tests/directives.md +++ b/src/tests/directives.md @@ -189,6 +189,8 @@ The following directives will check LLVM support: value - `min-system-llvm-version: 12.0` — ignored if using a system LLVM and its version is less than the given value +- `max-llvm-major-version: 19` — ignored if the LLVM major version is higher + than the given major version - `ignore-llvm-version: 9.0` — ignores a specific LLVM version - `ignore-llvm-version: 7.0 - 9.9.9` — ignores LLVM versions in a range (inclusive)