Commit Graph
59 Commits
Author SHA1 Message Date
Adrià aa5f15f296 Merge pull request #13917 from MarcZX10/fix/tools-default-base
fix(tools): check against upstream/main by default in check_conventions and check_compile
2026-11-01 11:08:10 +01:00
MarcZX10 b175ca4e89 fix(tools): check against upstream/main by default in check_compile 2026-10-31 12:46:05 +00:00
xXPBSXxandClaude Sonnet 5.5 48f7b2e933 fix(tools): catch the recursion error only where compile commands JSON is decoded
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
2026-10-31 13:14:13 +01:00
xXPBSXxandClaude Sonnet 5.5 820e43ad7e fix(tools): report deeply nested compile commands JSON as a usage error
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
2026-10-31 11:14:10 +01:00
rooklz c2ffdbdab6 fix(tools): use realpath for check_compile syntax-only source path 2026-10-30 16:34:42 +00:00
GiannisandClaude Opus 5.5 151625b9d2 fix(tools): check sources whose compile command runs through cmake -E env
CMake writes a launcher that sets environment variables as a leading
`cmake -E env NAME=VALUE ... <launcher> <compiler>`, as the AGC
execution tests' ccache launcher does. check_compile took cmake for the
compiler, inserted -fsyntax-only before -E and dropped -E as a
preprocessing option, so every such source failed with
"CMake Error: Unknown argument". Keep the env prefix (NAME=VALUE,
--unset=, --modify and --) and rewrite only the command after it;
reject its other options and a prefix without a command.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-29 19:55:22 +02:00
rooklz b9ec5081e2 fix(tools): report check_compile symbolic link loops as usage errors 2026-10-28 23:34:17 +00:00
Dean c9520deefe Merge pull request #11522 from StoneDC/fix/check-compile-driver-modes
fix(tools): reject compiler driver queries during syntax checks
2026-10-29 12:06:04 +13:00
rooklz fe80227fce fix(tools): reject unmodeled save-temps modes in syntax checks 2026-10-27 10:14:45 +00:00
StoneDC fe38b580a9 fix(tools): reject Clang CPU help queries 2026-10-27 10:35:42 +08:00
StoneDC 6c247b1b21 fix(tools): reject compiler driver queries during syntax checks 2026-10-27 10:31:25 +08:00
shurhundo d935d073e1 Merge remote-tracking branch 'origin/main' into fix/check-compile-response-files-rebased
# Conflicts:
#	CMakeLists.txt
#	tools/check_compile.py
#	tools/tests/test_check_compile.py
#	tools/tests/test_check_compile_preprocessor.py
2026-10-26 17:55:05 +08:00
Kovalev Vladislav 19db55c64b fix(tools): strip save-temps flags from syntax checks 2026-10-25 20:18:35 +01:00
Jamie 18ee716d53 fix(tools): strip forwarded dependency flags from syntax checks 2026-10-25 14:18:39 +00:00
Queuze 1948b80df3 test(check-compile): guard forwarded response operands 2026-10-25 07:49:11 -03:00
Queuze 225b6072fc fix(check-compile): reject forwarded response operands 2026-10-25 07:47:42 -03:00
Queuze d342a58981 test(check-compile): validate forwarded action integration 2026-10-25 07:41:05 -03:00
Queuze 454eb1f46a fix(check-compile): preserve safe forwarded operands 2026-10-25 07:40:23 -03:00
Queuze c2273c8a7e fix(check-compile): reject forwarded compiler actions 2026-10-25 07:23:12 -03:00
Queuze 699337abfd fix(check-compile): keep one syntax action 2026-10-24 21:31:23 -03:00
Queuze cea2536efe fix(check-compile): preserve positional inputs 2026-10-24 21:31:23 -03:00
Queuze e5fcbb775d fix(check-compile): enforce syntax mode 2026-10-24 21:31:23 -03:00
Queuze 348c6fd80b test(check-compile): combine syntax fixes 2026-10-24 21:18:08 -03:00
Queuze 5694ca0181 fix(check-compile): keep one syntax action 2026-10-24 21:16:21 -03:00
Queuze 023b6e7948 fix(check-compile): preserve positional inputs 2026-10-24 21:12:22 -03:00
Queuze b38b41aa8a fix(check-compile): enforce syntax mode 2026-10-24 21:10:27 -03:00
Queuze 7746a77b87 chore: validate response and preprocessor fixes 2026-10-24 20:17:16 -03:00
Queuze dc15446739 fix(check-compile): reject text-mode ambiguities 2026-10-24 20:15:22 -03:00
Queuze a0f155e10f chore: combine response and output safety tests 2026-10-24 19:22:32 -03:00
Queuze 034bc58613 fix(check-compile): parse GNU response options 2026-10-24 19:21:38 -03:00
shurhundo 7221249a9a fix(check-compile): expand response files recursively with cycle and depth protection 2026-10-24 21:53:05 +08:00
shurhundo f12344718a fix(check-compile): expand response files before syntax checks 2026-10-24 15:45:44 +08:00
Luka Petrovic a0ce5788b3 fix(tools): validate compilation database entries 2026-10-23 19:38:59 +02:00
Kovalev Vladislav 34349949dd fix(tools): strip save-temps flags from syntax checks 2026-10-23 12:15:22 +06:00
Jamie ef2646f79e fix(tools): strip forwarded dependency flags from syntax checks 2026-10-23 05:07:38 +01:00
emirplus 8cded11b59 fix(tools): decode compile commands JSON with utf-8-sig in check_compile 2026-10-21 21:41:47 +03:00
Dean aac52270ff Merge pull request #8515 from xTRACKGOD/fix/tools-check-compile-external-sources
fix(tools): find compile commands for sources outside checkout
2026-10-21 17:47:53 +13:00
xTRACKGOD dc9a15aede fix(tools): find compile commands for sources outside checkout 2026-10-20 19:58:22 +05:30
Henryisdjfunkyho 42701b2906 fix(tools): reject unexpanded response files in syntax checks 2026-10-19 22:49:45 -07:00
Dean d6b03aa8fa Merge pull request #8031 from orezraey/fix/check-compile-ninja-encoding
fix(tools): decode check_compile's Ninja commands in the build-file encoding
2026-10-20 18:33:55 +13:00
Dean a020d02560 Merge pull request #7718 from To3akaRin/codex/fix-syntax-check-dependency-flags
fix(tools): strip dependency options before syntax checks
2026-10-20 15:53:38 +13:00
orezraeyandClaude Opus 5.5 6c039bd3e2 fix(tools): report a failed Ninja wincodepage query in check_compile
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-19 15:10:53 -03:00
orezraeyandClaude Opus 5.5 26a7d9c8ec fix(tools): decode check_compile's Ninja commands in the build-file encoding
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-19 15:10:52 -03:00
To3akaRin 7e8aa10ae6 fix(tools): strip dependency options before syntax checks 2026-10-19 10:43:00 +08:00
MrMha 3e906dce25 feat: run independent syntax checks with configurable concurrency 2026-10-18 10:17:24 +04:00
Kaua 316ad40b46 fix(tools): write check_compile output as UTF-8 2026-10-17 21:07:01 -03:00
Dean 027cc4efc9 Merge pull request #6577 from GalaxyGamingFR/fix/check-compile-merge-base
fix(check_compile): take changed units from the merge base
2026-10-18 12:56:47 +13:00
Dean f25a3d8596 Merge pull request #7232 from Lyrilika/fix/check-compile-all-configurations
fix(tools): check every compilation configuration
2026-10-18 10:12:15 +13:00
Lyrilika 6f4ffeecc0 fix(tools): check every compilation configuration 2026-10-17 20:17:55 +02:00
MrMha d33f0371a2 fix: expand Ninja response files before syntax checks 2026-10-17 18:39:37 +04:00