cb424d7448
verify-patch-sanity.py validates every active recipe .patch has internally- consistent hunk line counts — catching the 'malformed patch at line N' failure at commit/CI/preflight time instead of hours into a cook. This cycle hit that class three times (qtwaylandscanner, sddm, xwayland), each only discovered when cookbook tried to apply the patch. Running it across the repo found 29 latent malformed patches (validated against GNU patch: e.g. relibc/P3-sysv-ipc reproduces 'malformed patch at line 22'). They were harmless only because they sit in vendored recipes (baked, not re- applied) — but would fail on any version-bump re-derivation. --fix recounts the hunk headers (body untouched) and repaired all 29. Wired into build-preflight.sh (Phase 1.0D) and redbear-ci.yml, with a unit test (test-patch-sanity.sh). Skips archived/legacy trees and unvalidatable formats (empty placeholders, bare-@@ git hunks).
24 lines
1.1 KiB
Plaintext
24 lines
1.1 KiB
Plaintext
-*- llvm/utils/vim/README -*-
|
|
|
|
This directory contains settings for the vim editor to work on llvm *.ll and
|
|
tablegen *.td files. It comes with filetype detection rules in the (ftdetect),
|
|
syntax highlighting (syntax), some minimal sensible default settings (ftplugin)
|
|
and indentation plugins (indent).
|
|
|
|
To install copy all subdirectories to your $HOME/.vim or if you prefer create
|
|
symlinks to the files here. Do not copy the vimrc file here it is only meant as
|
|
an inspiration and starting point for those working on llvm c++ code.
|
|
|
|
Note: If you notice missing or incorrect syntax highlighting, please contact
|
|
<llvm-bugs [at] lists.llvm.org>; if you wish to provide a patch to improve the
|
|
functionality, it will be most appreciated. Thank you.
|
|
|
|
If you find yourself working with LLVM Makefiles often, but you don't get syntax
|
|
highlighting (because the files have names such as Makefile.rules or
|
|
TEST.nightly.Makefile), add the following to your ~/.vimrc:
|
|
|
|
" LLVM Makefile highlighting mode
|
|
augroup filetype
|
|
au! BufRead,BufNewFile *Makefile* set filetype=make
|
|
augroup END
|