Skip to content

Commit c5b3d7f

Browse files
16bit-ykikoclaude
andcommitted
fix: scan add_library patterns for resource header targets
LLVM 21.1.8 changed clang-resource-headers from add_custom_target to add_library(... INTERFACE ...). Add add_library pattern to header scanning so the validation script can detect it. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 164a64f commit c5b3d7f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

scripts/validate-llvm-components.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
HEADER_PATTERNS = [
3131
re.compile(r"add_llvm_install_targets\(\s*([^\s)]+)"),
3232
re.compile(r"add_custom_target\(\s*([^\s)]+)"),
33+
re.compile(r"add_library\(\s*([^\s)]+)"),
3334
]
3435

3536
# Targets we recognise as header-only distribution components.

0 commit comments

Comments
 (0)