summaryrefslogtreecommitdiffstats
path: root/Utilities/IWYU
Commit message (Collapse)AuthorAgeFilesLines
* IWYU: add a mapping for other `__decay_and_strip` instancesBen Boeckel2020-04-291-0/+2
|
* IWYU: add some mappings found with a newer IWYU buildBen Boeckel2020-04-291-0/+2
|
* cmFileLockPool: enhance items managementMarc Chevrier2019-11-141-0/+2
|
* Refactor: Modernize `foreach` code and fix some bugsAlex Turbov2019-11-061-0/+1
| | | | | | - fix the typo in `foreach` documentation - fix broken `foreach(... IN ITEMS ... LISTS ...)` - add tests of `foreach` for existed functionality and fixes
* cmstd: Modernize CMake system headersMarc Chevrier2019-09-201-1/+0
| | | | | | | | | | | | | | Provide a standardized way to handle the C++ "standard" headers customized to be used with current CMake C++ standard constraints. Offer under directory `cm` headers which can be used as direct replacements of the standard ones. For example: #include <cm/string_view> can be used safely for CMake development in place of the `<string_view>` standard header. Fixes: #19491
* Precompile headers: Add methods to generate PCH sourcesCristian Adam2019-08-281-0/+2
| | | | Co-Author: Daniel Pfeifer <daniel@pfeifer-mail.de>
* Introduce memory management helper: cm_memory.hxxMarc Chevrier2019-07-141-0/+2
|
* IWYU: Fix handling of <memory> standard headerBrad King2019-07-101-2/+9
| | | | | | | | An old workaround for `std::allocator_traits<>::value_type` lints from IWYU on `std::vector<>` usage breaks IWYU's handling of `<memory>`. Convert the workaround to use the same approach we already use for a workaround of `std::__decay_and_strip<>::::__type` lints. Then update the `<memory>` inclusions to follow the now-correct IWYU lints.
* Introduce cmArgumentParserRegina Pfeifer2019-04-041-0/+1
|
* libuv: Update CMake-internal buildsystemBrad King2019-01-171-2/+2
|
* IWYU: Update CMake code for IWYU built with Clang 6Brad King2019-01-151-0/+3
| | | | | IWYU now correctly requires `<utility>` for `std::move`. It also requires a container header when used via a range-based for loop.
* Merge topic 'fileapi'Brad King2018-12-131-0/+2
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | b9c6f08276 Help: Add release note for fileapi feature 4b6b2a571c fileapi: extend codemodel v2 with directory details eb8c7676a4 fileapi: extend codemodel v2 with a project model 42f0125ceb fileapi: Add test for cmakeFiles v1 6615408193 fileapi: add cmakeFiles v1 3f6ee75a66 fileapi: Add test for cache v2 7489e95b8e fileapi: add cache v2 ea0a060168 fileapi: Add test for codemodel v2 ... Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2706
| * fileapi: add codemodel v2Brad King2018-12-121-0/+2
| | | | | | | | | | | | Start with v2 to distinguish it from server-mode v1. Issue: #18398
* | CTest: Remove submit method 'xmlrpc'Regina Pfeifer2018-11-281-3/+0
|/
* IWYU: Fix workaround mapping for std::hashBrad King2018-08-071-1/+1
| | | | | | | | | It is provided by `functional`, not `utility`. Fix the mapping added by commit 276d3c7afe (IWYU: Add workaround mapping for std::hash, 2018-07-31). Also generalize the workaround from commit v3.12.0-rc1~39^2~1 (IWYU: Define a macro to tell code it is preprocessing for iwyu, 2018-05-25) to allow local builds to configure specific flags. This is needed because iwyu behaves differently in different environments.
* IWYU: Add workaround mapping for std::hashBrad King2018-07-311-0/+3
| | | | | When using GCC 8's standard library IWYU thinks that `<system_error>` must be included to get `std::hash`. Add a mapping for `<utility>`.
* IWYU: Add more workaround mappings for internal bitsBrad King2018-01-221-0/+3
| | | | | | | | | Extend our hack section of mappings to work around IWYU incorrectly requiring: * bits/stdint-uintn.h for stdint.h * bits/stdint-intn.h for stdint.h * bits/types/mbstate_t.h for wchar.h
* CTest: convert timeouts to std::chrono::durationWouter Klouwen2017-12-041-0/+1
| | | | | | | | | This commit continues the refactoring of CTest to adopt std::chrono. After the last sets of changes that introduced std::chrono::steady_clock and std::chrono::system_clock respectively, it makes sense to have all the timeouts be stored as std::chrono::duration. No functional change intended.
* IWYU: Add mappings for std::enable_if on chrono durationsBrad King2017-11-281-0/+4
| | | | | | | | IWYU incorrectly classifies this internal STL type as not internal, and suggests including `<type_traits>` for it. Work around the problem by mapping the offending names to a file that we always include. See include-what-you-use issue 434.
* IWYU: Add more mappings for std::__decay_and_stripBrad King2017-11-211-0/+2
| | | | | | | | IWYU incorrectly classifies this internal STL type as not internal, and suggests including `<type_traits>` for it. Work around the problem by mapping the offending names to a file that we always include. See include-what-you-use issue 434.
* Retire std::auto_ptr and its macro CM_AUTO_PTRMatthias Maennich2017-09-251-6/+0
| | | | Signed-off-by: Matthias Maennich <matthias@maennich.net>
* Use C++11 unordered containersDaniel Pfeifer2017-08-221-20/+0
|
* server: Refactor to make the event loop owned by server objectJustin Berger2017-07-111-0/+1
|
* IWYU: update mapping for gcc 7.1Daniel Pfeifer2017-05-301-0/+1
|
* IWYU: add mapping for std::__decay_and_stripDaniel Pfeifer2017-05-241-0/+13
|
* IWYU: map system symbols to libuvDaniel Pfeifer2017-05-051-0/+5
|
* IWYU: add mapping for cm::auto_ptrDaniel Pfeifer2017-05-051-0/+6
|
* Add include-what-you-use mappingDaniel Pfeifer2017-04-131-0/+136