File include-what-you-use.changes of Package include-what-you-use
-------------------------------------------------------------------
Sat Mar 23 22:20:36 UTC 2024 - Aaron Puchert <aaronpuchert@alice-dsl.net>
- Update to version 0.22, update LLVM/Clang to version 18.
* Improve type analysis for typedefs, aliases and templates.
* Improve analysis of macros expanding macros.
* Improve IWYU driver for better validation and job handling.
* Reject IWYU invocations with precompiled headers (see FAQ).
* Better preserve failure exit codes in iwyu_tool.
* Add mappings for libstdc++ <debug/...> headers.
* Make mappings for POSIX and standard C headers stricter
(more portable).
* Add separate FAQ page for longer descriptions.
- Rebase iwyu_include_picker.patch.
-------------------------------------------------------------------
Sat Nov 25 18:49:09 UTC 2023 - Aaron Puchert <aaronpuchert@alice-dsl.net>
- Tests require at least Python 3.8, so we use a newer Python on
Leap than the system default 3.6.
-------------------------------------------------------------------
Wed Nov 8 22:44:57 UTC 2023 - Aaron Puchert <aaronpuchert@alice-dsl.net>
- Update to version 0.21, update LLVM/Clang to version 17.
* Improve analysis of type aliases (typedef and using).
* Improve analysis of namespace aliases (namespace xyz = foobar).
* Improve support for elaborated forward declarations
(typedef struct Foo Bar).
* Improve handling of "autocast" and function return types,
particularly with complex template types.
* Add new IWYU pragma: always_keep, which lets a header announce
that it should always be kept wherever included.
* Automatically use builtin libc++ mappings if libc++ is the
active standard library.
* Improve mappings for libc++ and posix headers.
- Rebase iwyu_include_picker.patch.
-------------------------------------------------------------------
Tue Apr 4 21:14:23 UTC 2023 - Aaron Puchert <aaronpuchert@alice-dsl.net>
- Update to version 0.20, update LLVM/Clang to version 16.
* Support `IWYU pragma: export` for forward-declarations.
* Silently break cycles in mappings instead of crashing.
* Require full type inside `typeid`.
* Improve template reporting and resugaring.
* Improve reporting of explicit template instantiations.
* Fix a few crashes.
* Improve logging (many small fixes).
* Abandon python2 for scripts in favor of python3.
- Rebase fix-shebang.patch and iwyu_include_picker.patch.
-------------------------------------------------------------------
Sat Jan 28 22:28:52 UTC 2023 - Aaron Puchert <aaronpuchert@alice-dsl.net>
- Update to version 0.19, update LLVM/Clang to version 15.
* New `--comment_style` option to control verbosity of 'why'
comments.
* New `--regex` option to select regex dialect.
* Add support for regex replacement in mappings.
* Add `begin_keep`/`end_keep` pragmas for protecting ranges of
includes or forward-declares.
* Fix several crash bugs for unusual inputs.
* More exhaustive handling of type aliases and enums.
* Recognize IWYU pragmas in CRLF source files.
* Respect configured toolchain on macOS (and overrides via
`-nostdinc++` + `-isystem`).
* In fix_includes.py, recognize namespace alias declarations.
* Improve mappings for POSIX and libc headers.
- Update iwyu_include_picker.patch.
-------------------------------------------------------------------
Mon Dec 5 03:23:01 UTC 2022 - Steve Kowalik <steven.kowalik@suse.com>
- Use autosetup macro.
- Remove unneeded BuildRequires on Python 2.
-------------------------------------------------------------------
Sun Apr 10 17:15:50 UTC 2022 - Aaron Puchert <aaronpuchert@alice-dsl.net>
- Update to version 0.18, update LLVM/Clang to version 14.
* Fix crash on C++20 consteval expressions.
* Use more conventional exit codes. (Breaking change!)
* Fix deprecation warning for python3.
* Fix crash on va_list on AArch64.
* Improved support for using-declarations based on new Clang
design.
-------------------------------------------------------------------
Sun Dec 12 20:01:41 UTC 2021 - Aaron Puchert <aaronpuchert@alice-dsl.net>
- Update to version 0.17, update LLVM/Clang to version 13.
* Improve support for various C++ features (builtins, CTAD,
specializations, type aliases).
* Fix crash on invalid code.
* Remove hard dependency on x86 LLVM target.
* Improve mappings for GNU libc.
* More concise output for clang output format in iwyu_tool.
- Rebase iwyu_include_picker.patch.
- Drop obsolete remove-x86-specific-code.patch, fixed upstream.
-------------------------------------------------------------------
Fri May 28 21:39:05 UTC 2021 - Aaron Puchert <aaronpuchert@alice-dsl.net>
- Update to version 0.16, update LLVM/Clang to version 12.
* Let iwyu_tool accept --load/-l argument for load limiting.
* Let iwyu_tool signal success/failure with exit code.
* Harmonize mapping generators.
* Add mapping generator for CPython.
* Improve mappings for libstdc++ and Boost.
- Rebase iwyu_include_picker.patch.
-------------------------------------------------------------------
Wed Nov 25 22:20:24 UTC 2020 - Aaron Puchert <aaronpuchert@alice-dsl.net>
- Update to version 0.15, update LLVM/Clang to version 11.
* Fix crash due to undefined behavior in AST traversal.
* Improve handling of operator new including C++17 features.
* Improve handling of templates.
* In iwyu_tool, remove known compiler wrappers from the command
list.
* Improve Qt mapping generator.
* Improve boost mappings.
* Improve built-in mappings for <time.h>.
* Add built-in mappings for max_align_t, ptrdiff_t, and wchar_t.
* Support shared LLVM/Clang libraries and other improvements.
- Get rid of obsolete test workaround, which stopped working on
32-bit architectures for some reason. Instead we use plain %ctest
now, but fix the mirror directory on 64-bit architectures.
-------------------------------------------------------------------
Tue May 19 21:48:58 UTC 2020 - Aaron Puchert <aaronpuchert@alice-dsl.net>
- Update to version 0.14, update LLVM/Clang to version 10.
* Report non-builtin enum base types.
* Disable forward-declares for decls in inline namespaces.
* Make C structs forward-declarable again.
* Always keep Qt .moc includes.
* Include binary type traits in analysis.
* In iwyu_tool, fail fast if include-what-you-use is not found.
* In iwyu_tool, print all diagnostic ouptut to stderr.
* In fix_includes, improve file extension detection.
* Add man page for include-what-you-use.
- Rebase fix-shebang.patch.
- Remove upstreamed link-llvm9.patch.
- Use man page from upstream.
- Use %cmake_build for parallel build.
-------------------------------------------------------------------
Fri Apr 10 11:20:39 UTC 2020 - Aaron Puchert <aaronpuchert@alice-dsl.net>
- Use c++_compiler instead of clang to avoid dependence oddities.
-------------------------------------------------------------------
Sat Nov 16 20:32:01 UTC 2019 - Aaron Puchert <aaronpuchert@alice-dsl.net>
- Deactivate ThinLTO on ARM: there are internal linker errors.
-------------------------------------------------------------------
Sat Nov 2 22:57:53 UTC 2019 - Aaron Puchert <aaronpuchert@alice-dsl.net>
- Update to version 0.13, update LLVM/Clang to version 9.
* Improved handling of relative includes in mappings and pragmas
* Path normalization now collapses ..
* Improve --no_fwd_decls not to remove required forward declarations
* Improved handling of builtin templates
* Don't mark forward declarations final
* Tolerate using declarations in precompiled header
* Add script to generate Qt mappings, and new mappings for Qt 5.11
* Use directory from compilation database if available
* Numerous documentation and build improvements
- Add section about pragma comments to man page.
- Add link-llvm9.patch to adapt to packaging changes in LLVM.
- Enable ThinLTO where possible.
- Drop support for SLE12.
-------------------------------------------------------------------
Tue Jul 9 10:19:25 UTC 2019 - Aaron Puchert <aaronpuchert@alice-dsl.net>
- Disable LTO, because -flto=<number> doesn't work with Clang.
-------------------------------------------------------------------
Sun May 26 19:41:55 UTC 2019 - aaronpuchert@alice-dsl.net
- Update to version 0.12, update LLVM/Clang to version 8.
* New command-line option: --keep to mirror IWYU pragma: keep
* New command-line option: --cxx17ns to suggest compact C++17
nested namespaces
* Improve --no_fwd_decls to optimize for minimal number of
redeclarations
* Improved mappings for POSIX types and let mappings apply to
builtins as well
* More principled handling of explicit template instantiations
* Breaking change in iwyu_tool: extra args are no longer
automatically prefixed with -Xiwyu (so you can use them for
Clang args too)
* Better handling of template forward-decls in fix_includes.
- Run test suite in %check.
- Package license file and documentation.
- Remove unnecessary %defattr.
- Update man page.
- Rebase fix-shebang.patch.
-------------------------------------------------------------------
Tue Dec 18 22:08:52 UTC 2018 - aaronpuchert@alice-dsl.net
- Update to version 0.11, update LLVM/Clang to version 7.
* Improved recognition of template and specialization uses.
* Improved CMake build system, see docs for build instructions.
* Improved mappings for Boost, Intel intrinsics and libstdc++.
* Several bug fixes and improvements.
* Add --basedir argument to interpret IWYU output from another
source tree.
* Handle namespaces better.
* Add --only_re switch to filter affected files.
* Add --reorder/--noreorder switch to toggle reordering of
includes.
- Drop obsolete llvm-link.patch.
- Rebase iwyu_include_picker.patch.
- Update man page, sort options alphabetically.
- Remove runtime dependency on clang - the builtin headers are now
included in libclang.
-------------------------------------------------------------------
Tue May 8 21:49:09 UTC 2018 - aaronpuchert@alice-dsl.net
- Update to version 0.10, update LLVM/Clang to version 6.
* Add --no_fwd_decls option to avoid replacing includes with
forward-declarations.
* Treat definitions of free functions as uses of the
corresponding prototypes.
* Support C++11 range-for loops.
* Several template misattribution bugs fixed.
* Better support for non-ASCII encodings in fix_includes.py.
* Remove support for VCS commands from fix_includes.py.
-------------------------------------------------------------------
Sat Mar 17 16:28:32 UTC 2018 - aaronpuchert@alice-dsl.net
- Make tools package "noarch", since it contains only scripts.
-------------------------------------------------------------------
Thu Mar 15 20:12:47 UTC 2018 - aaronpuchert@alice-dsl.net
- Use tarball from website, where it is now available.
There should be no functional change.
-------------------------------------------------------------------
Tue Feb 20 21:20:39 UTC 2018 - aaronpuchert@alice-dsl.net
- Add runtime dependency to clang, because we need the compiler-
specific headers, even when clang is not used for compilation.
-------------------------------------------------------------------
Tue Feb 20 15:21:21 UTC 2018 - aaronpuchert@alice-dsl.net
- Fix build on SLE 12. For some reason the build using Clang
segfaults, but with GCC 6 it doesn't.
- Use GCC 6 only on SLE 12, not on Leap 42.
-------------------------------------------------------------------
Mon Feb 19 22:39:30 UTC 2018 - aaronpuchert@alice-dsl.net
- Add section about mapping files to the man page.
-------------------------------------------------------------------
Tue Feb 6 23:31:16 UTC 2018 - aaronpuchert@alice-dsl.net
- Remove x86-specific code that is required to parse Microsoft
inline assembly. We don't need that, and it breaks the builds
on other architectures.
-------------------------------------------------------------------
Mon Feb 5 01:06:49 UTC 2018 - aaronpuchert@alice-dsl.net
- Use tarball for version 0.9, which is now officially released.
- Add a manual page derived from the `--help` output.
-------------------------------------------------------------------
Sat Feb 3 16:38:34 UTC 2018 - aaronpuchert@alice-dsl.net
- Update to development version of 0.9, which is not officially
released yet.
- Update LLVM/Clang to version 5.
- Build using Clang instead of GCC, since we link against
libclang's C++ API, which is also built with Clang.
- Also remove third_party.imp, which doesn't seem to be made for
the general public.
- Package the Python tools separately.
- Improve description.
-------------------------------------------------------------------
Mon Dec 11 22:59:39 UTC 2017 - aaronpuchert@alice-dsl.net
- Fix malformed patch.
-------------------------------------------------------------------
Mon Dec 11 22:23:18 UTC 2017 - aaronpuchert@alice-dsl.net
- Update mappings in the right place - they are actually hard-coded
into iwyu_include_picker.cc.
- Remove the obsolete mapping files.
-------------------------------------------------------------------
Sun Dec 10 20:15:40 UTC 2017 - aaronpuchert@alice-dsl.net
- Initialized based on version 0.8, which uses Clang 4.0.
- Added llvm-link.patch because openSUSE's libLLVM isn't split up.
- Updated mappings for GNU libc headers in libc-mappings.patch.
- Updated mappings for GNU libstdc++ headers in stl-mappings.patch.