Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
54 commits
Select commit Hold shift + click to select a range
1883d98
Add readability check to suggest replacement of conditional statement…
11happy Jan 11, 2024
89be4ba
Formatted the code
11happy Jan 11, 2024
e1b65a9
small fix
11happy Jan 11, 2024
042ddc3
Revert "small fix"
11happy Jan 12, 2024
c17b298
Revert "Formatted the code"
11happy Jan 12, 2024
9aad658
Revert "Add readability check to suggest replacement of conditional s…
11happy Jan 12, 2024
2fc0938
Added Suggested Changes
11happy Jan 12, 2024
1139ac4
Formatted the Code
11happy Jan 12, 2024
f73e9f0
Added Release Notes
11happy Jan 12, 2024
faf3312
corrected file name
11happy Jan 12, 2024
5ed9896
corrected title length in docs
11happy Jan 12, 2024
19c4b63
Suggested Changes
11happy Jan 12, 2024
8167787
body indentation
11happy Jan 12, 2024
3a28399
added intialisation,constexpr tests
11happy Jan 13, 2024
2ecd08a
small fixes
11happy Jan 13, 2024
00d4080
Addded Suggested Changes
11happy Jan 15, 2024
6db0820
formatted the code
11happy Jan 15, 2024
5073650
Added Include Check
11happy Jan 15, 2024
c728a39
Formatted the code
11happy Jan 15, 2024
b8202ae
Added tests for macro & if with brackets
11happy Jan 17, 2024
3b57307
Fixed merge Conflict
11happy Jan 17, 2024
5e31665
Added suggested changes
11happy Jan 19, 2024
a2cfcdc
Formatted the code
11happy Jan 19, 2024
f5a0f12
Converted to Lambdas,placed at sorted location
11happy Jan 19, 2024
e239576
Single Lambda
11happy Jan 20, 2024
b868d5b
CamelCase,const auto*
11happy Jan 20, 2024
0797e0c
fixes
11happy Jan 20, 2024
c6028b0
few nits
11happy Jan 21, 2024
6acf645
formatted the code
11happy Jan 21, 2024
0eb4aca
extra checks
11happy Jan 21, 2024
d5b8dc2
ensure if has no else if
11happy Jan 22, 2024
a92160c
correct style issue
11happy Jan 22, 2024
5eafb59
correct docs
11happy Jan 22, 2024
26bfbdc
correct docs
11happy Jan 22, 2024
57bccd6
static functions
11happy Jan 22, 2024
61fd66a
small fix
11happy Jan 22, 2024
a841ebc
style issues
11happy Jan 23, 2024
7d2c085
corrrect style issue
11happy Jan 23, 2024
399c4c5
Merge branch 'SecondPR' of https://github.com/11happy/llvm-project in…
11happy Jan 23, 2024
abec9b5
correct functional bugs
11happy Jan 26, 2024
6a0e495
pass dependent types
11happy Jan 26, 2024
274b55f
filter implicit cast expr
11happy Jan 26, 2024
b7ca014
resolved merge conflict
11happy Jan 26, 2024
8bf8235
Add mising type, optimise
11happy Jan 27, 2024
d8df8c8
removed whitespace
11happy Jan 27, 2024
8a5d585
remove unsed initialisation
11happy Jan 27, 2024
85fb67d
small change
11happy Jan 27, 2024
1214547
simplify
11happy Jan 29, 2024
6aef713
small fix
11happy Jan 30, 2024
f03b2ff
non template alias
11happy Feb 1, 2024
5d504a7
simplify pointer dereference
11happy Feb 5, 2024
19cc1f3
remove extra parentheses
11happy Feb 5, 2024
a316744
use spefici type instead of auto
11happy Feb 5, 2024
f0ef998
use auto for cast kind
11happy Feb 5, 2024
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
resolved merge conflict
Signed-off-by: 11happy <soni5happy@gmail.com>
  • Loading branch information
11happy committed Jan 26, 2024
commit b7ca01449383ca38d17756465b5f56ecf7bed655
103 changes: 0 additions & 103 deletions clang-tools-extra/docs/ReleaseNotes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -100,109 +100,6 @@ Improvements to clang-tidy
New checks
^^^^^^^^^^

- New :doc:`bugprone-casting-through-void
<clang-tidy/checks/bugprone/casting-through-void>` check.

Detects unsafe or redundant two-step casting operations involving ``void*``.

- New :doc:`bugprone-compare-pointer-to-member-virtual-function
<clang-tidy/checks/bugprone/compare-pointer-to-member-virtual-function>` check.

Detects equality comparison between pointer to member virtual function and
anything other than null-pointer-constant.

- New :doc:`bugprone-inc-dec-in-conditions
<clang-tidy/checks/bugprone/inc-dec-in-conditions>` check.

Detects when a variable is both incremented/decremented and referenced inside
a complex condition and suggests moving them outside to avoid ambiguity in
the variable's value.

- New :doc:`bugprone-incorrect-enable-if
<clang-tidy/checks/bugprone/incorrect-enable-if>` check.

Detects incorrect usages of ``std::enable_if`` that don't name the nested
``type`` type.

- New :doc:`bugprone-multi-level-implicit-pointer-conversion
<clang-tidy/checks/bugprone/multi-level-implicit-pointer-conversion>` check.

Detects implicit conversions between pointers of different levels of
indirection.

- New :doc:`bugprone-optional-value-conversion
<clang-tidy/checks/bugprone/optional-value-conversion>` check.

Detects potentially unintentional and redundant conversions where a value is
extracted from an optional-like type and then used to create a new instance
of the same optional-like type.

- New :doc:`bugprone-unused-local-non-trivial-variable
<clang-tidy/checks/bugprone/unused-local-non-trivial-variable>` check.

Warns when a local non trivial variable is unused within a function.

- New :doc:`cppcoreguidelines-no-suspend-with-lock
<clang-tidy/checks/cppcoreguidelines/no-suspend-with-lock>` check.

Flags coroutines that suspend while a lock guard is in scope at the
suspension point.

- New :doc:`hicpp-ignored-remove-result
<clang-tidy/checks/hicpp/ignored-remove-result>` check.

Ensure that the result of ``std::remove``, ``std::remove_if`` and
``std::unique`` are not ignored according to rule 17.5.1.

- New :doc:`misc-coroutine-hostile-raii
<clang-tidy/checks/misc/coroutine-hostile-raii>` check.

Detects when objects of certain hostile RAII types persists across suspension
points in a coroutine. Such hostile types include scoped-lockable types and
types belonging to a configurable denylist.

- New :doc:`modernize-use-constraints
<clang-tidy/checks/modernize/use-constraints>` check.

Replace ``enable_if`` with C++20 requires clauses.

- New :doc:`modernize-use-starts-ends-with
<clang-tidy/checks/modernize/use-starts-ends-with>` check.

Checks whether a ``find`` or ``rfind`` result is compared with 0 and suggests
replacing with ``starts_with`` when the method exists in the class. Notably,
this will work with ``std::string`` and ``std::string_view``.

- New :doc:`modernize-use-std-numbers
<clang-tidy/checks/modernize/use-std-numbers>` check.

Finds constants and function calls to math functions that can be replaced
with C++20's mathematical constants from the ``numbers`` header and
offers fix-it hints.

- New :doc:`performance-enum-size
<clang-tidy/checks/performance/enum-size>` check.

Recommends the smallest possible underlying type for an ``enum`` or ``enum``
class based on the range of its enumerators.

- New :doc:`readability-avoid-nested-conditional-operator
<clang-tidy/checks/readability/avoid-nested-conditional-operator>` check.

Identifies instances of nested conditional operators in the code.

- New :doc:`readability-avoid-return-with-void-value
<clang-tidy/checks/readability/avoid-return-with-void-value>` check.

Finds return statements with ``void`` values used within functions with
``void`` result types.

- New :doc:`readability-reference-to-constructed-temporary
<clang-tidy/checks/readability/reference-to-constructed-temporary>` check.

Detects C++ code where a reference variable is used to extend the lifetime
of a temporary object that has just been constructed.

- New :doc:`readability-use-std-min-max
<clang-tidy/checks/readability/use-std-min-max>` check.

Expand Down
You are viewing a condensed version of this merge commit. You can view the full changes here.