205 Commits

Author SHA256 Message Date
f5ae5e3dc3 Accepting request 1311246 from devel:tools
OBS-URL: https://build.opensuse.org/request/show/1311246
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cvise?expand=0&rev=83
2025-10-14 16:09:16 +00:00
b019403fd3 Bumping package version so that it builds on current Tumbleweed. Also had to add some dependencies and account for some binaries being renamed/introduced (see changes to spec file). I've also updated _service file so it takes into account we're on version 2.12.
- Update to version 2.12.0+git.20251010.334b9acf:
  * clangincludegraph: Take makefile paths from MakefilePass (#392)
  * hints: Fix special hint files not being updated (#391)
  * clangincludegraph: Hide the "subordinate" pass from stats (#390)
  * tests: Enforce the multiprocessing forkserver method (#389)
  * Support for LLVM 22 (#373)
  * makefile,cppmap: Configure file patterns in config; skip other passes (#388)
  * passes: Specify params directly to constructor (#387)
  * hints: Reland "Sort hints in all passes" (#386)
  * hints, test_manager: Sanitize and randomize file names (#383)
  * hints: Implement hint subtraction (#384)
  * tests: Add another possible output into test_cvise (#382)
  * Revert "hints: Sort hints in all passes (#378)" (#385)
  * hints: Sort hints in all passes (#378)
  * cli: Stats sort passes by duration too (#381)
  * hints: Add debug printing for PerTypeHintState (#376)
  * signals: Increase timeout in tests (#379)
  * multifile: Print file&dir count in logs (#380)
  * interleaving: Skip states that are subsets of successes (#377)
  * multifile: MakefilePass removes targets (#375)
  * ClexHints: Optimize the Flex scanner for performance (#374)
  * multifile: Encode file paths in vocab in Python code (#371)
  * interleaving: Don't restart passes that only produce special hints (#370)
  * tree-sitter: Delete package-lock.json distrib files (#372)
  * ClangIncludeGraph: Parallelize pass initialization (#369)
  * hints: Use tuples, make frozen and comparable (#368)
  * ClangIncludeGraph: Support Clang Header Modules (#367)
  * Fix Lines to delete last unfinished block in a file (#366)
  * multifile: Fix Clex rm-toks crash on unended comments (#365)
  * multifile: Fix wrong paths in Lines; more robust path handling (#364)
  * multifile: MakefilePass: Fix parsing of args with quotes (#363)
  * multifile: Enable RmUnusedFilesPass in the config (#361)
  * hints: Fix error in advance() when there're only special hints (#362)
  * multifile: Introduce ClangIncludeGraph heuristic (#355)
  * multifile: Assume all Makefiles to be used (#360)
  * multifile: Introduce RmUnusedFiles pass (#359)
  * test_manager: Giveup is per pass, not for whole category (#357)
  * multifile: Enable MakefilePass (#358)
  * multifile: Lines pass processes all files at once (#352)
  * Bump to 2.12.0 (cherry-pick from v2.12.0-release) (#356)
  * multifile: Support caching (#354)
  * multifile: Forbid interestingness script inside test case (#353)
  * hints: Add Makefile heuristic (#341)
  * multifile: Create @fileref in ClangModuleMap (#350)
  * multifile: Fix rm-toks trying to del spaces across files (#348)
  * Observe signals in event loop via future instead of timeout (#347)
  * multifile: Add support to Blank pass (#349)
  * Bump LLVM version in CI to 21 (#242)
  * multifile: Add support to Balanced pass (#351)
  * Fix occasional log spam from signal handlers (#345)
  * cache: Store in temp files; use hashes; limit per LRU (#344)
  * interleaving: Make fair round-robin pass scheduling (#346)
  * multiprocessing: Only do Pebble workaround when needed (#343)
  * hint: Optimize byte ops in i/o and patch applying (#338)
  * hints: Use msgspec structs as optimization  (#339)
  * hints: Introduce "special" hint types (#336)
  * multifile: Add support to Clex::rm-toks pass (#337)
  * hints: Allow a pass to consume hints from another pass (#335)
  * hints: Passes declare output hint types (#334)
  * multiprocessing: Workaround for hung Pebble jobs (#329)
  * subprocesses: Make PID queue robuster to signals (#333)
  * multifile: Add Clang .modulemap heuristic (#331)
  * Fix flaky test_test_manager: wait for mgr shutdown (#332)
  * subprocesses: Kill via PID queue more often (#311)
  * Add timeouts for pass initialization jobs (#330)
  * multiprocessing: Track worker processes and their children (#325)
  * hotkeys: Fix garbled terminal on unclean exit; refactor (#328)
  * multiprocessing: Use forkserver in all tests (#326)
  * multiprocessing: Stop all jobs before doing pool.__exit__ (#327)
  * subprocesses: Signals don't interrupt child spawn (#324)
  * tests: Run pytest tests in parallel (#309)
  * Reland "test_cvise: Use specific worker count (#317)"
  * Fix signals not being retried (#321)
  * subprocesses: Fix spinning after terminating child (#319)
  * tree-sitter: Import 0.25.8 (#318)
  * Revert "test_cvise: Use specific worker count (#317)" (#320)
  * test_cvise: Use specific worker count (#317)
  * multiprocessing: Fix signal recursion in tests (#316)
  * multiprocessing: Don't create pool many times (#297)
  * Use forkserver multiprocessing mode (#305)
  * subprocesses: Strengthen termination (#310)
  * test_cvise: Use a shorter TMPDIR (#308)
  * multifile: Add support to Tree-sitter pass (#315)
  * multiprocessing: Quickly exit worker on signal outside job (#307)
  * logging: Fix breakage when worker logs an exception (#314)
  * Fix colordiff exception (#313)
  * test_manager: Undo unconditional logging
  * multifile: Introduce support into CLI, test_manager, passes (#301)
  * test_manager: Replace files atomically when committing (#304)
  * tree-sitter: Always link statically (#306)
  * Terminate subprocess on exception; robuster PID queue (#303)
  * Gracefully clean up on SIGTERM (#302)
  * test_cvise: Use temp dir instead of in-tree files (#299)
  * test_manager: Refactor chdir asa context manager (#300)
  * multifile: Don't mkdir parents excessively (#298)
  * logging: Collect logs in main process, prune canceled jobs (#295)
  * Fix flakiness in test_cvise.py - trailing line break (#296)
  * multifile: Add support to Lines pass (#294)
  * multifile: Add support to Comments pass (#293)
  * multifile: Implement support in the hint format (#291)
  * interleaving: Choose candidate by size (and other criteria) (#292)
  * Optimize input copying: offload to workers; skip for hint passes (#290)
  * Refactor code to use pathlib for paths (#289)
  * interleaving: Improve fold success rate by banning failures (#287)
  * Make State objects immutable and hashable (#286)
  * tree-sitter: Add RemoveFunction pass (#281)
  * clang_delta: Skip non-dep typedefs in replace-dependent-typedef (#276)
  * tree-sitter: Add EraseNamespace pass (#280)
  * clang_delta: Add tests for replace-dependent-typedef (#275)
  * test_manager: Make extra dir errors non-fatal (#283)
  * Stats show size improvement for each pass (#279)
  * tree-sitter, tree-sitter-cpp: Don't install into system location (#285)
  * hints: Migrate Balanced pass (#277)
  * hints: Use msgspec for faster [de]serialization (#272)
  * clangbinarysearch: Fix TypeError due to byte-str mixup (#273)
  * tree-sitter: Add ReplaceFunctionDefWithDecl pass (#278)
  * interleaving: Reinit finished passes once in a while (#274)
  * cli: Add missing newline after the file name log (#282)
  * hints: Migrate clex::rm-toks pass (#263)
  * tree-sitter-cpp: Build rule (#270)
  * tree-sitter: Build rule (#268)
  * tree-sitter-cpp: Import 0.23.4 (#269)
  * test_manager: Rewind to earliest unfinished on committing (#271)
  * tree-sitter: Import 0.20.8 (#267)
  * test_manager: Tolerate non-UTF-8 in interestingness test (#265)
  * interleaving: Concurrently execute advance_on_success (#261)
  * hints: More informative logs from ClangHints (#264)
  * interleaving: Track timeouts for each pass separately (#258)
  * test_manager: Decouple process_done_futures and job checks (#257)
  * test_manager: Don't override Pebble sleep unit (#266)
  * Override child processes' temp dir (#262)
  * pytype: Check in CI (#251)
  * cli: Send file name log to intended output (#256)
  * pytype: Fix findings (#250)
  * Fix .sh and folding temp files not cleared on exception (#252)
  * interleaving: Fix round-robin order (#253)
  * test_manager: Fix exception on job timeout (#255)
  * interleaving: Report succeeded pass(es) (#247)
  * hints: Add preamble to the bundle file (#246)
  * interleaving: Enable by default (#249)
  * interleaving: Implement folding of multiple discoveries (#245)
  * Support non UTF-8 inputs (#244)
  * test_manager: Proceed on any success, not necessarily the first (#243)
  * test_manager: Know whether pass category is interleaving (#241)
  * interleaving: Support applying multiple hint bundles (#239)
  * test_manager: Further decouple job scheduling (#240)
  * interleaving: Run all Pass.new() concurrently (#238)
  * test_manager: Refactor task loop (#237)
  * clangbinarysearch: Store C++ standard version in state (#236)
  * test_manager: Introduce job type (#235)
  * lines: Fix lines not being removed with arg=None (#234)
  * hints: Fix 't' incorrect place for Blank pass and in Schema (#232)
  * Rename license file to LICENSE. (#233)
  * clang_delta: Use real timeout for old&new passes (#229)
  * hints: Migrate comments pass (#227)
  * Refactor pass runtime state in test manager (#214)
  * hints: Fix type annotations (#231)
  * Refactor arg passing for Pass.advance_on_success() (#228)
  * hints: Debug logging of the state object (#230)
  * hints: Migrate blank pass (#226)
  * lines: Configure Flex to use fast scanning mode (#222)
  * lines: Don't generate hints for whitespace-only blocks (#223)
  * CI: Don't cancel jobs for the master branch (#216)
  * Add SHARE_DIR_SUFFIX variable (#224)
  * hints: Introduce hint type; run independent binsrch per type (#219)
  * hints: Migrate clang_delta ReplaceFunctionDefWithDecl (#210)
  * Add a variable for local tools directory. (#220)
  * hints: Support text replacement patches (#209)
  * Revert "Allow the search for cvise script in the top-level directory. (#215)" (#217)
  * hints: Add bundle class (#208)
  * Allow the search for cvise script in the top-level directory. (#215)
  * passes: Ensure max_transforms is initialized (#213)
  * cli: Don't close stderr (#211)
  * Stop using check_sanity for passes (#212)
  * interleaving: Add support into pass group JSON config (#207)
  * hints: Add ClangHintsPass with RemoveUnusedFunction (#203)
  * Refactor pass category logic of pass group config (#205)
  * hints: Migrate clang_delta logic for RemoveUnusedFunction (#202)
  * Fix --stopping-threshold checked too rarely (#204)
  * Switch to os.path.abspath() instead of os.path.realpath() when searching for external binaries. This is sometimes needed due to the symlinks created by build systems. (#206)
  * hints: Add CLI for applying hints to input (#201)
  * interleaving: Manager can run different passes simultaneously (#199)
  * hints: Support loading uncompressed hint files (#200)
  * Abort active jobs when there's an exception (#197)
  * Add missing headers (#198)
  * Refactor job management in TestManager (#195)
  * Lines: refactor tests for readability (#194)
  * Improve Lines: only remove exactly at given depth (#192)
  * hints: Migrate lines pass (#191)
  * hints: Switch to the zstandard library for compression (#193)
  * hints: Migrate line_markers pass (#186)
  * Add more generic tests for the Lines pass (#187)
  * hints: Skeleton class for hint-based pass (#182)
  * CI: Allow manual trigger of Github Actions (#190)
  * Rename cvise driver to cvise-cli.py to differentiate between the driver and the package. (#189)
  * Refactor line_marker tests (#188)
  * hints: Implement storage (#181)
  * Add support for LLVM 21 as of 2025.06.24 (#183)
  * Address review comment.
  * Add [project] clause to pyproject.toml to improve automated tooling support.
  * hints: Introduce basic hint (text deletion) format & helpers (#175)
  * Refactor arg passing for Pass.new() (#180)
  * CI: Assume Python 3.8 in Ruff (#176)
  * Fix Python 3.8 incompat in lines.py (#177)
  * CI: Stop testing LLVM 17 (#179)

OBS-URL: https://build.opensuse.org/package/show/devel:tools/cvise?expand=0&rev=194
2025-10-13 21:08:46 +00:00
f8afff47ee Accepting request 1274690 from devel:tools
OBS-URL: https://build.opensuse.org/request/show/1274690
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cvise?expand=0&rev=82
2025-05-06 14:41:11 +00:00
Martin Liška
64438954fc Bumping package version so that it builds on current Tumbleweed.
- Update to version 2.11.0+git.20250403.0875824
  * Bump LLVM version in CI (#170)
  * Trim leading/trailing spaces after topformflat (#165)
  * Fix hang when buggy (unaltered) OK comes after STOP (#162)
  * Add tests for LinesPass (#164)
  * Add basic tests for TestManager (#160)
  * Fix unclosed file in is_readable_file (#161)
  * Delete assert of exitcode in TestManager (#158)
  * Port to latest LLVM 20 (drop LLVM 14 and older) (#154)

OBS-URL: https://build.opensuse.org/package/show/devel:tools/cvise?expand=0&rev=192
2025-05-05 19:11:01 +00:00
655d153973 Accepting request 1223158 from devel:tools
- Update to version 2.11.0+git.20241110.d89a535:
  * Bump to 2.11.0
  * CI: make default LLVM version 19
  * Remove unneeded LLVM layout workaround
  * Add -Wno-error=deprecated-declarations (#151)
  * Fix CI for LLVM nightly
  * Add note that the project is seeking for maintainers
  * Use Process::kill instead of terminate function.
  * Port to LLVM 20 (#149)

OBS-URL: https://build.opensuse.org/request/show/1223158
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cvise?expand=0&rev=81
2024-11-11 12:44:46 +00:00
Martin Liška
6c275ae4ad Add missing file.
OBS-URL: https://build.opensuse.org/package/show/devel:tools/cvise?expand=0&rev=190
2024-11-10 10:13:07 +00:00
Martin Liška
72efc5c59e - Update to version 2.11.0+git.20241110.d89a535:
* Bump to 2.11.0
  * CI: make default LLVM version 19
  * Remove unneeded LLVM layout workaround
  * Add -Wno-error=deprecated-declarations (#151)
  * Fix CI for LLVM nightly
  * Add note that the project is seeking for maintainers
  * Use Process::kill instead of terminate function.
  * Port to LLVM 20 (#149)

OBS-URL: https://build.opensuse.org/package/show/devel:tools/cvise?expand=0&rev=189
2024-11-10 10:06:08 +00:00
bbed905ef2 Accepting request 1193848 from devel:tools
- Update to version 2.10.0+git.20240814.7d0ebf0:
  * Catch timeout from Pebble for Python 3.10 and older (#148)
  * Revert "Run on Ubuntu 24.04"
  * Run on Ubuntu 24.04
  * Revert "Try to remove touch command"
  * Try to remove touch command
  * Use llvm 20 as a nightly target

OBS-URL: https://build.opensuse.org/request/show/1193848
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cvise?expand=0&rev=80
2024-08-14 12:16:30 +00:00
Martin Liška
93d649a2ad - Update to version 2.10.0+git.20240814.7d0ebf0:
* Catch timeout from Pebble for Python 3.10 and older (#148)
  * Revert "Run on Ubuntu 24.04"
  * Run on Ubuntu 24.04
  * Revert "Try to remove touch command"
  * Try to remove touch command
  * Use llvm 20 as a nightly target

OBS-URL: https://build.opensuse.org/package/show/devel:tools/cvise?expand=0&rev=187
2024-08-14 08:30:34 +00:00
86ee94e463 Accepting request 1183541 from devel:tools
- Update to version 2.10.0+git.20240603.16a34b2:
  * Fix fallout from ClassTemplateSpecializationDecl::getTypeAsWritten
  * Remove uses of ClassTemplateSpecializationDecl::getTypeAsWritten (#143)
  * Fix deprecated decl (#141)
  * Move to ubuntu:rolling again
  * Add VSCode settings file
  * Add Dockerfile for LLVM tip builds

- Update to version 2.10.0+git.20240506.fd50de2:
  * Manipulate with tempfiles after they are closed (#139)
  * Fix --print-diff after pathlib has been used
  * Apply Ruff format
  * Reduce logging output verbosity
  * Fix Ruff linter issues
  * Stick to Ubuntu 23.10
  * Ensure that clang delta is also compiled with C++17 on Windows
  * Also instruct to install chardet on Windows

OBS-URL: https://build.opensuse.org/request/show/1183541
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cvise?expand=0&rev=79
2024-06-27 14:04:46 +00:00
Martin Liška
5d63663eb5 - Update to version 2.10.0+git.20240603.16a34b2:
* Fix fallout from ClassTemplateSpecializationDecl::getTypeAsWritten
  * Remove uses of ClassTemplateSpecializationDecl::getTypeAsWritten (#143)
  * Fix deprecated decl (#141)
  * Move to ubuntu:rolling again
  * Add VSCode settings file
  * Add Dockerfile for LLVM tip builds

OBS-URL: https://build.opensuse.org/package/show/devel:tools/cvise?expand=0&rev=185
2024-06-27 07:39:57 +00:00
Martin Liška
940b91c3cd - Update to version 2.10.0+git.20240506.fd50de2:
* Manipulate with tempfiles after they are closed (#139)
  * Fix --print-diff after pathlib has been used
  * Apply Ruff format
  * Reduce logging output verbosity
  * Fix Ruff linter issues
  * Stick to Ubuntu 23.10
  * Ensure that clang delta is also compiled with C++17 on Windows
  * Also instruct to install chardet on Windows

OBS-URL: https://build.opensuse.org/package/show/devel:tools/cvise?expand=0&rev=184
2024-05-06 19:26:01 +00:00
229513f224 Accepting request 1169838 from devel:tools
- Update to version 2.10.0+git.20240415.00bdd8c:
  * format: run ruff
  * Implement a stopping threshold
  * Revert removal of restore_mode
  * format: use Ruff
  * Make CVise understand files in a filesystem tree
  * Refactor testing.py to pathlib module
  * Write pass statistics and test-case to --log-file as well
  * Show logs on stdout only when log-file arg is not provided
  * Fixed ruff's warning about too  many blank lines
  * Removed basicConfig & fixed working of --log-file arg
  * Drop -Wno-error=deprecated-declarations option
  * fix deprecation warnings
  * CI: Set default to LLVM 18

OBS-URL: https://build.opensuse.org/request/show/1169838
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cvise?expand=0&rev=78
2024-04-23 16:57:16 +00:00
Martin Liška
440a7d5ff5 - Update to version 2.10.0+git.20240415.00bdd8c:
* format: run ruff
  * Implement a stopping threshold
  * Revert removal of restore_mode
  * format: use Ruff
  * Make CVise understand files in a filesystem tree
  * Refactor testing.py to pathlib module
  * Write pass statistics and test-case to --log-file as well
  * Show logs on stdout only when log-file arg is not provided
  * Fixed ruff's warning about too  many blank lines
  * Removed basicConfig & fixed working of --log-file arg
  * Drop -Wno-error=deprecated-declarations option
  * fix deprecation warnings
  * CI: Set default to LLVM 18

OBS-URL: https://build.opensuse.org/package/show/devel:tools/cvise?expand=0&rev=182
2024-04-23 08:32:07 +00:00
bf605c13e5 Accepting request 1158644 from devel:tools
- Update to version 2.10.0+git.20240313.c860649:
  * Bump to 2.10.0

OBS-URL: https://build.opensuse.org/request/show/1158644
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cvise?expand=0&rev=77
2024-03-17 21:16:34 +00:00
Martin Liška
5afd83f31d Add missing tarball
OBS-URL: https://build.opensuse.org/package/show/devel:tools/cvise?expand=0&rev=180
2024-03-17 05:47:38 +00:00
Martin Liška
5aa45dcf8f - Update to version 2.10.0+git.20240313.c860649:
* Bump to 2.10.0

OBS-URL: https://build.opensuse.org/package/show/devel:tools/cvise?expand=0&rev=179
2024-03-13 20:25:29 +00:00
1a863e37bb Accepting request 1155556 from devel:tools
- Update to version 2.9.0+git.20240306.f0e1387:
  * Fix CI
  * Fix CI
  * CI: install ruff
  * Add TW docker step
  * Add Ruff as a separate job
  * Start using Ruff
  * Reformat the code with Ruff formatter
  * CI refactor
  * Reformat CI configs
  * Simplify CI openSUSE matrix
  * Fix CI package
  * Add missing package for mold action
  * Use mold GH action
  * CI: use checkout@v4
  * Support changes function signature in IncludesPPCallbacks::InclusionDirective
  * Test agains LLVM 19
  * Fix flake8 error:
  * CMakeLists changes to fix macOS build:
  * Fix LLVM 18 build error:
  * Add clang version string to clang_delta --version
  * Disable for now deprecated declarations Werrors
  * Revert "Add CI hack for LLVM nightly"
  * Add CI hack for LLVM nightly
  * cvise.py: call shell vial `/usr/bin/env` indirection instead of `/bin`

OBS-URL: https://build.opensuse.org/request/show/1155556
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cvise?expand=0&rev=76
2024-03-06 22:06:02 +00:00
Martin Liška
a5c332bc57 - Update to version 2.9.0+git.20240306.f0e1387:
* Fix CI
  * Fix CI
  * CI: install ruff
  * Add TW docker step
  * Add Ruff as a separate job
  * Start using Ruff
  * Reformat the code with Ruff formatter
  * CI refactor
  * Reformat CI configs
  * Simplify CI openSUSE matrix
  * Fix CI package
  * Add missing package for mold action
  * Use mold GH action
  * CI: use checkout@v4
  * Support changes function signature in IncludesPPCallbacks::InclusionDirective
  * Test agains LLVM 19
  * Fix flake8 error:
  * CMakeLists changes to fix macOS build:
  * Fix LLVM 18 build error:
  * Add clang version string to clang_delta --version
  * Disable for now deprecated declarations Werrors
  * Revert "Add CI hack for LLVM nightly"
  * Add CI hack for LLVM nightly
  * cvise.py: call shell vial `/usr/bin/env` indirection instead of `/bin`

OBS-URL: https://build.opensuse.org/package/show/devel:tools/cvise?expand=0&rev=177
2024-03-06 13:00:51 +00:00
7f45a66a1c Accepting request 1123668 from devel:tools
- Update to version 2.9.0+git.20231106.cc76e98:
  * Bump to 2.9.0.
  * Support LLVM 18: changes in ElaboratedTypeKeyword
  * add .vscode to .gitignore
  * add --shell argument
  * LLVM 18: port to latest master
  * add LLVM 17 CI target
  * disable -Werror=non-template-friend in llvm/ADT/PagedVector.h:215:59

OBS-URL: https://build.opensuse.org/request/show/1123668
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cvise?expand=0&rev=75
2023-11-06 20:15:06 +00:00
Martin Liška
06019d230f - Update to version 2.9.0+git.20231106.cc76e98:
* Bump to 2.9.0.
  * Support LLVM 18: changes in ElaboratedTypeKeyword
  * add .vscode to .gitignore
  * add --shell argument
  * LLVM 18: port to latest master
  * add LLVM 17 CI target
  * disable -Werror=non-template-friend in llvm/ADT/PagedVector.h:215:59

OBS-URL: https://build.opensuse.org/package/show/devel:tools/cvise?expand=0&rev=175
2023-11-06 18:39:23 +00:00
0f4e50f6d3 Accepting request 1111380 from devel:tools
- Update to version 2.8.0+git.20230914.9f237d6:
  * CMake: port to find_package(Python3)
  * CMake: add minimal version 3.14
  * Moderninze to Python 3.8 and remove Leap CI.
  * Test LLVM 18 again.
  * LLVM nightly: move back to version 17
  * fix pip installation
  * Revert previous change and use Ubuntu 23.04.
  * CI: remove 2 missing LLVM deps for version 18
  * Fix CI.
  * Bump LLVM nightly build to LLVM 18.
  * LLVM 16: add missing header file for toString
  * Remove LLVM 12 from testing matrix as it is removed in TW.
  * Add build to ignored list of folders.
  * LLVM 17: add workaround for a Werror
  * Stop building against LLVM 11 due to a known LLVM issue:
  * Fix build with LLVM 17.
  * LLVM 17: port enum value to c++23.
  * Fix typo in the previous revision for LLVM 17.
  * Fix current LLVM tip branch.
  * Revert a leftover hunk.

OBS-URL: https://build.opensuse.org/request/show/1111380
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cvise?expand=0&rev=74
2023-09-15 20:04:49 +00:00
Martin Liška
4705a2e0ea - Update to version 2.8.0+git.20230914.9f237d6:
* CMake: port to find_package(Python3)
  * CMake: add minimal version 3.14
  * Moderninze to Python 3.8 and remove Leap CI.
  * Test LLVM 18 again.
  * LLVM nightly: move back to version 17
  * fix pip installation
  * Revert previous change and use Ubuntu 23.04.
  * CI: remove 2 missing LLVM deps for version 18
  * Fix CI.
  * Bump LLVM nightly build to LLVM 18.
  * LLVM 16: add missing header file for toString
  * Remove LLVM 12 from testing matrix as it is removed in TW.
  * Add build to ignored list of folders.
  * LLVM 17: add workaround for a Werror
  * Stop building against LLVM 11 due to a known LLVM issue:
  * Fix build with LLVM 17.
  * LLVM 17: port enum value to c++23.
  * Fix typo in the previous revision for LLVM 17.
  * Fix current LLVM tip branch.
  * Revert a leftover hunk.

OBS-URL: https://build.opensuse.org/package/show/devel:tools/cvise?expand=0&rev=173
2023-09-14 15:03:00 +00:00
6f4e828a44 Accepting request 1083436 from devel:tools
- Update to version 2.8.0+git.20230428.7aaa251:
  * Bump to 2.8.0.

OBS-URL: https://build.opensuse.org/request/show/1083436
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cvise?expand=0&rev=73
2023-04-28 14:23:50 +00:00
Martin Liška
a33a51d63d - Update to version 2.8.0+git.20230428.7aaa251:
* Bump to 2.8.0.

OBS-URL: https://build.opensuse.org/package/show/devel:tools/cvise?expand=0&rev=171
2023-04-28 07:05:55 +00:00
5b4af2e3b9 Accepting request 1079869 from devel:tools
- Update to version 2.7.0+git.20230417.6b558fe:
  * Handle cyclic namespace include that leads to inf. recursion.
  * Shorten pass names that use max_transforms property.
  * Fix clang warning:
  * build: factory out common flags and use -pedantic
  * Simplify dump output for BinaryState.
  * Revert "drop unneeded -Wno-error=mismatched-new-delete"
  * drop unneeded -Wno-error=mismatched-new-delete

OBS-URL: https://build.opensuse.org/request/show/1079869
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cvise?expand=0&rev=72
2023-04-17 15:41:31 +00:00
Martin Liška
c321c57341 - Update to version 2.7.0+git.20230417.6b558fe:
* Handle cyclic namespace include that leads to inf. recursion.
  * Shorten pass names that use max_transforms property.
  * Fix clang warning:
  * build: factory out common flags and use -pedantic
  * Simplify dump output for BinaryState.
  * Revert "drop unneeded -Wno-error=mismatched-new-delete"
  * drop unneeded -Wno-error=mismatched-new-delete

OBS-URL: https://build.opensuse.org/package/show/devel:tools/cvise?expand=0&rev=169
2023-04-17 09:06:30 +00:00
24104fdf7e Accepting request 1076474 from devel:tools
- Update to version 2.7.0+git.20230331.62a7391:
  * Fix one -Wdangling-reference and disable -Werror for it.

OBS-URL: https://build.opensuse.org/request/show/1076474
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cvise?expand=0&rev=71
2023-03-31 19:16:18 +00:00
Martin Liška
d02d17855b - Update to version 2.7.0+git.20230331.62a7391:
* Fix one -Wdangling-reference and disable -Werror for it.

OBS-URL: https://build.opensuse.org/package/show/devel:tools/cvise?expand=0&rev=167
2023-03-31 14:09:40 +00:00
d1aa4e1824 Accepting request 1075526 from devel:tools
- Update to version 2.7.0+git.20230330.8b25bd7:
  * Add max-transforms for passes.
  * Add CI tester for LLVM 16.

OBS-URL: https://build.opensuse.org/request/show/1075526
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cvise?expand=0&rev=70
2023-03-30 20:51:39 +00:00
Martin Liška
73b517fb00 - Update to version 2.7.0+git.20230330.8b25bd7:
* Add max-transforms for passes.
  * Add CI tester for LLVM 16.

OBS-URL: https://build.opensuse.org/package/show/devel:tools/cvise?expand=0&rev=165
2023-03-30 09:50:43 +00:00
eb90da9b74 Accepting request 1073778 from devel:tools
- Update to version 2.7.0+git.20230322.994dbe2:
  * add timeout of 10s when we query for instances in clangbinarysearch pass
  * Fix build error with the current LLVM tip.
  * fix clang Werror
  * CI: add LLVM builder
  * CI: fix
  * CI: move cocurrency to top-level scope
  * CI: add concurrency also for llvm-nightly
  * CI: fix concurrency
  * CI: cancel previous builds
  * Use latest LLVM release.
  * Fix clang error: error: variable 'which' set but not used.
  * Use -Wno-error=maybe-uninitialized conditionally.

OBS-URL: https://build.opensuse.org/request/show/1073778
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cvise?expand=0&rev=69
2023-03-22 21:31:37 +00:00
Martin Liška
e45f3fb3c9 - Update to version 2.7.0+git.20230322.994dbe2:
* add timeout of 10s when we query for instances in clangbinarysearch pass
  * Fix build error with the current LLVM tip.
  * fix clang Werror
  * CI: add LLVM builder
  * CI: fix
  * CI: move cocurrency to top-level scope
  * CI: add concurrency also for llvm-nightly
  * CI: fix concurrency
  * CI: cancel previous builds
  * Use latest LLVM release.
  * Fix clang error: error: variable 'which' set but not used.
  * Use -Wno-error=maybe-uninitialized conditionally.

OBS-URL: https://build.opensuse.org/package/show/devel:tools/cvise?expand=0&rev=163
2023-03-22 11:52:59 +00:00
aa5f98ba57 Accepting request 1068630 from devel:tools
- Update to version 2.7.0+git.20230302.ff4e51e:
  * add -Wno-error=dangling-reference for GCC 13+
  * LLVM 17: port DesignatedInitExpr::Designator
  * Fix one more llvm::Optional leftover:
  * port llvm::Optional to std::optional
  * LLVM nightly: use llvm-17
  * bump CMake minimal version

OBS-URL: https://build.opensuse.org/request/show/1068630
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cvise?expand=0&rev=68
2023-03-02 22:04:03 +00:00
Martin Liška
cb6d729264 - Update to version 2.7.0+git.20230302.ff4e51e:
* add -Wno-error=dangling-reference for GCC 13+
  * LLVM 17: port DesignatedInitExpr::Designator
  * Fix one more llvm::Optional leftover:
  * port llvm::Optional to std::optional
  * LLVM nightly: use llvm-17
  * bump CMake minimal version

OBS-URL: https://build.opensuse.org/package/show/devel:tools/cvise?expand=0&rev=161
2023-03-02 08:37:07 +00:00
296d055df6 Accepting request 1044734 from devel:tools
- Update to version 2.7.0+git.20221223.d9e4a50:
  * Bump to 2.7.0.
  * Fix build error with LLVM 16.
  * enable debuginfo in CMAKE_CXX_FLAGS_RELWITHDEBINFO build type
  * Remove extra symlink in LLVM nightly build.

OBS-URL: https://build.opensuse.org/request/show/1044734
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cvise?expand=0&rev=67
2022-12-24 13:51:45 +00:00
Martin Liška
240da160b0 - Update to version 2.7.0+git.20221223.d9e4a50:
* Bump to 2.7.0.
  * Fix build error with LLVM 16.
  * enable debuginfo in CMAKE_CXX_FLAGS_RELWITHDEBINFO build type
  * Remove extra symlink in LLVM nightly build.

OBS-URL: https://build.opensuse.org/package/show/devel:tools/cvise?expand=0&rev=159
2022-12-23 10:39:16 +00:00
ee955b081e Accepting request 1043883 from devel:tools
- Start using mold linker.

OBS-URL: https://build.opensuse.org/request/show/1043883
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cvise?expand=0&rev=66
2022-12-20 19:21:00 +00:00
Martin Liška
885b4f3186 Use mold only on TW.
OBS-URL: https://build.opensuse.org/package/show/devel:tools/cvise?expand=0&rev=157
2022-12-20 09:51:33 +00:00
Martin Liška
d233d84ebb - Start using mold linker.
OBS-URL: https://build.opensuse.org/package/show/devel:tools/cvise?expand=0&rev=156
2022-12-20 09:49:42 +00:00
950ecca1c2 Accepting request 1043436 from devel:tools
- Update to version 2.6.0+git.20221217.f1b5a08:
  * Fixed infinite loop problem with move-definition-to-declaration transformation
  * move-definition-to-declaration transformation learned to move struct, class, union and variable definitions
  * Renamed transformation move-function-body to move-definition-to-declaration

OBS-URL: https://build.opensuse.org/request/show/1043436
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cvise?expand=0&rev=65
2022-12-17 19:36:38 +00:00
Martin Liška
705552ad88 - Update to version 2.6.0+git.20221217.f1b5a08:
* Fixed infinite loop problem with move-definition-to-declaration transformation
  * move-definition-to-declaration transformation learned to move struct, class, union and variable definitions
  * Renamed transformation move-function-body to move-definition-to-declaration

OBS-URL: https://build.opensuse.org/package/show/devel:tools/cvise?expand=0&rev=154
2022-12-17 09:00:46 +00:00
451a22d6cd Accepting request 1043346 from devel:tools
- Update to version 2.6.0+git.20221216.1423ed5:
  * Split remove-base-class transformation into remove-base-class and merge-base-class and supporting templated base classes
  * Update reason comment.
  * Improve LLVM version detection.
  * Add support for skipIf get_llvm_version.

- Update to version 2.6.0+git.20221215.2f76b4f:
  * Added getDescribedTemplateParams for backwards compatibility
  * The move-function-body transformation learned to move class methods, templated functions and methods within templated classes
  * testing: quit if we cannot create bug report
  * Fixed crash in reduce-class-template-param

OBS-URL: https://build.opensuse.org/request/show/1043346
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cvise?expand=0&rev=64
2022-12-16 16:51:37 +00:00
Martin Liška
019ec05b51 - Update to version 2.6.0+git.20221216.1423ed5:
* Split remove-base-class transformation into remove-base-class and merge-base-class and supporting templated base classes
  * Update reason comment.
  * Improve LLVM version detection.
  * Add support for skipIf get_llvm_version.

OBS-URL: https://build.opensuse.org/package/show/devel:tools/cvise?expand=0&rev=152
2022-12-16 14:50:21 +00:00
Martin Liška
dbf524c8da - Update to version 2.6.0+git.20221215.2f76b4f:
* Added getDescribedTemplateParams for backwards compatibility
  * The move-function-body transformation learned to move class methods, templated functions and methods within templated classes
  * testing: quit if we cannot create bug report
  * Fixed crash in reduce-class-template-param

OBS-URL: https://build.opensuse.org/package/show/devel:tools/cvise?expand=0&rev=151
2022-12-15 17:38:22 +00:00
125713761d Accepting request 1042816 from devel:tools
- Update to version 2.6.0+git.20221214.96f841e:
  * Pass instantiate-template-param learned to remove template arguments and parameters

OBS-URL: https://build.opensuse.org/request/show/1042816
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cvise?expand=0&rev=63
2022-12-14 13:11:19 +00:00
Martin Liška
f78e170a56 - Update to version 2.6.0+git.20221214.96f841e:
* Pass instantiate-template-param learned to remove template arguments and parameters

OBS-URL: https://build.opensuse.org/package/show/devel:tools/cvise?expand=0&rev=149
2022-12-14 08:12:50 +00:00
104f58aac6 Accepting request 1042718 from devel:tools
- Update to version 2.6.0+git.20221213.c01d287:
  * Transformation instantiate-template-param did not support replacement of all types (e.g. pointer, reference, arrays were not working)
  * Bugfix: instantiate-template-param transformation used always the type of the first template parameter
  * LLVM 16: stop using deprecated llvm::None.
  * Remove LGTM badges as it will be closed.

- Update to version 2.6.0+git.20221209.b337b9a:
  * Use ubuntu:rolling container
  * Use ubuntu-latest.
  * Improve error message for bad value of `--start-with-pass`.
  * Use -Wno-error=mismatched-new-delete conditionally.

OBS-URL: https://build.opensuse.org/request/show/1042718
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cvise?expand=0&rev=62
2022-12-13 17:57:27 +00:00
Martin Liška
414a4f40c5 - Update to version 2.6.0+git.20221213.c01d287:
* Transformation instantiate-template-param did not support replacement of all types (e.g. pointer, reference, arrays were not working)
  * Bugfix: instantiate-template-param transformation used always the type of the first template parameter
  * LLVM 16: stop using deprecated llvm::None.
  * Remove LGTM badges as it will be closed.

OBS-URL: https://build.opensuse.org/package/show/devel:tools/cvise?expand=0&rev=147
2022-12-13 15:45:04 +00:00
Martin Liška
f109fdf2b4 - Update to version 2.6.0+git.20221209.b337b9a:
* Use ubuntu:rolling container
  * Use ubuntu-latest.
  * Improve error message for bad value of `--start-with-pass`.
  * Use -Wno-error=mismatched-new-delete conditionally.

OBS-URL: https://build.opensuse.org/package/show/devel:tools/cvise?expand=0&rev=146
2022-12-09 08:36:41 +00:00