326e8a8e1b
- Update to 2.0.2: * Drop Python 3.8 * Don't err on non-const references by default * fix(indentation_namespace): false positive for MemInitLists * Fix missing comma between items in _CPP_HEADERS * Fix false positive for indented parameters in namespaces * IWYU: treat stdio.h the same way as cstdio * PEP 621: Migrate from setup.{py, cfg} to pyproject.toml * cpplint_clitest.py: Function names should be lowercase * suppress C++-only categories on C file extensions * You can now specify blocks of code that exclude linting with NOLINTBEGIN and NOLINTEND * The --filter option can now be only applied to a specific file or even a specific line through utilizing colons * NOLINT and NOLINTNEXTLINE comments now support a comma-separated list of categories * NOLINT and NOLINTNEXTLINE will now ignore categories known to be from clang-tidy * build/include-what-you-use no longer supports transitive headers from the header for the current module for parity with the style guide * build/include-what-you-use now supports a plethora of new functions * build/include-what-you-use will no longer err on similarly-named classes from other namespaces * Indented functions inside namespaces will now be correctly erred on * The check for C-style casts now looks for the standard fixed-width integer typenames instead of non-standard ones (e.g. int32_t instead of int32) * readability/braces will realize that C++20 concepts require a semicolon * C++20 headers will no longer be flagged as C headers * Processing C++ files through stdin/piping is now fixed
Steve Kowalik2025-10-31 02:28:31 +00:00
8db7118b10
Accepting request 1291007 from devel:languages:python
Ana Guerrero2025-07-07 12:49:52 +00:00
e0c8b6ae14
- Add drop-sre-compile.patch upstream patch to fix issues with deprecated usage of sre_compile gh#cpplint/cpplint#214 - Update to 1.6.1 * Fix#195 Fix post increment/decrement operator causing a false positive. * Fix#202 .hh files should not be considered sytem headers * Fix#207 Python2 incompatibility for loading CPPLINT.cfg file * Fix#184 NOLINT(clang-analyzer) comments should not cause warnings - 1.6.0 (2022-02-19) * Fix#188: "Include the directory when naming header files" also for header files with other names like "*.hpp" - 1.5.5 (2021-05-20) * Fix#172: Added 'size_t' to typecasts detected by CheckCStyleCast * Fixed wrong CLI help text: Each filter needs + or - * Fix#164: add elif as an exception for CheckSpacingForFunctionCall() * Fix google#346: --root option not working on windows due to slashes in path
Daniel Garcia2023-04-10 12:05:37 +00:00
4aeb0e3522
- Update to 1.5.4: * Fix google#166, Allow space before C++11 attributes * Fix#156: sed/gsed output parameter rejected * Fix#156: sed/gsed output without other stdout information * improvements to regression tests
Steve Kowalik2020-08-31 06:54:39 +00:00
1e3b19ca16
- Add missing BuildRequires on textfixtures.
Steve Kowalik2020-07-01 04:35:45 +00:00
81ebda394f
- Update to 1.5.2: * Fix#83, output formats "sed" and "gsed" to auto-fix some issues * Fix#92, new category "build/namespaces_headers" for unnamed namespaces in header file * Sort list of files before processing * Fix#144 Falso positive for indent when using QT macros "signals" and "slots" * Fix#76 Parsing of class decorators that also use digits * Fix#139 Add message "Relative paths like . and .. are not allowed" * Revert #43 behavior change for include order from 1.5.0, and hide it behind command-line-flag --includeorder=standardcfirst. It turns out there is no easy objective way to tell c system headers from certain c++ library headers, and Google cpplint intentionally classifies some C++ header includes as C system header for simplicity. * Libraries considered as C system headers using --includeorder=standardcfirst now also includes linux-specifc headers (glibc-devel, glibc-kernheaders, linux-libc-dev). * Fix#43 false positives in header include order by checking includes against a list of c headers. Since this interprets certain include lines different than before, output about header include order changes. * Fix#135: allow 'if constexpr' in readability/braces. * Fix runtime warning: Close files after reading contents
Steve Kowalik2020-06-25 04:46:29 +00:00
839c9e9b07
Accepting request 809606 from devel:languages:python
Yuchen Lin2020-05-28 07:19:45 +00:00
f9856803fa
Accepting request 809587 from home:pgajdos:python
Tomáš Chvátal
2020-05-27 14:46:35 +00:00