#
b3b84b49 |
| 23-Aug-2024 |
Pavithra Barithaya <pavithrabarithaya07@gmail.com> |
clang-tidy: Enable modernize-deprecated-headers check
Some headers from C library were deprecated in C++ and are no longer welcome in C++ codebases. Some have no effect in C++ [1].
[1]: https://rel
clang-tidy: Enable modernize-deprecated-headers check
Some headers from C library were deprecated in C++ and are no longer welcome in C++ codebases. Some have no effect in C++ [1].
[1]: https://releases.llvm.org/13.0.1/tools/clang/tools/extra/docs/clang-tidy/checks/modernize-deprecated-headers.html
Change-Id: Ia3b1df10175e2e661c8fffb82e357c9db81b2e9c Signed-off-by: Pavithra Barithaya <pavithrabarithaya07@gmail.com>
show more ...
|
#
f6f6cda3 |
| 20-Aug-2024 |
Pavithra Barithaya <pavithrabarithaya07@gmail.com> |
clang-tidy: Add some modernize and misc checks
This commit adds some modernize tidy checks to enable usage of modern way of using c++ styles.
Change-Id: I815210abe304f3224f29ac90845788d415945ceb Si
clang-tidy: Add some modernize and misc checks
This commit adds some modernize tidy checks to enable usage of modern way of using c++ styles.
Change-Id: I815210abe304f3224f29ac90845788d415945ceb Signed-off-by: Pavithra Barithaya <pavithrabarithaya07@gmail.com>
show more ...
|
#
ea438db1 |
| 20-Aug-2024 |
Pavithra Barithaya <pavithrabarithaya07@gmail.com> |
clang-tidy: Add clang-analyzer checks
Ref: https://clang.llvm.org/extra/clang-tidy/checks/list.html
Change-Id: If4079cbb65f35d4fb78aa69af315e403108ae19d Signed-off-by: Pavithra Barithaya <pavithrab
clang-tidy: Add clang-analyzer checks
Ref: https://clang.llvm.org/extra/clang-tidy/checks/list.html
Change-Id: If4079cbb65f35d4fb78aa69af315e403108ae19d Signed-off-by: Pavithra Barithaya <pavithrabarithaya07@gmail.com>
show more ...
|
#
9948a7d7 |
| 20-Aug-2024 |
Pavithra Barithaya <pavithrabarithaya07@gmail.com> |
clang-tidy: Add cert checks
This check corresponds to the CERT C++ Coding Standard rule.
Change-Id: Ib9b4f3981c35b9491d44b1d4f44b2bca6e342840 Signed-off-by: Pavithra Barithaya <pavithrabarithaya07@
clang-tidy: Add cert checks
This check corresponds to the CERT C++ Coding Standard rule.
Change-Id: Ib9b4f3981c35b9491d44b1d4f44b2bca6e342840 Signed-off-by: Pavithra Barithaya <pavithrabarithaya07@gmail.com>
show more ...
|
#
ca041a8a |
| 28-Aug-2024 |
Pavithra Barithaya <pavithrabarithaya07@gmail.com> |
clang-tidy: Enable bugprone-branch-clone check
This checks for repeated branches in if/else if/else chains, consecutive repeated branches in switch statements and identical true and false branches i
clang-tidy: Enable bugprone-branch-clone check
This checks for repeated branches in if/else if/else chains, consecutive repeated branches in switch statements and identical true and false branches in conditional operators.
Change-Id: I8776742c25f3f8c97617976ec4f6fc799aa249ae Signed-off-by: Pavithra Barithaya <pavithrabarithaya07@gmail.com>
show more ...
|
#
5d86cdfb |
| 20-Aug-2024 |
Pavithra Barithaya <pavithrabarithaya07@gmail.com> |
clang-tidy: Enable bugprone-string-literal-with-embedded-nul check
This check finds occurrences of string literal with embedded NUL character and validates their usage. The check is ignored on the l
clang-tidy: Enable bugprone-string-literal-with-embedded-nul check
This check finds occurrences of string literal with embedded NUL character and validates their usage. The check is ignored on the line because the test case has a requirement to verify if the NUL terminator is removed or not by the method.
Change-Id: I919bfed7d9c0b3a43933621bda32cd31c876ff02 Signed-off-by: Pavithra Barithaya <pavithrabarithaya07@gmail.com>
show more ...
|
#
03b02d59 |
| 11-Jul-2023 |
Pavithra Barithaya <pavithra.b@ibm.com> |
clang-tidy: Enable bugprone-too-small-loop-variable check
This check detects those for loops that have a loop variable with a “too small” type which means this type can’t represent all values which
clang-tidy: Enable bugprone-too-small-loop-variable check
This check detects those for loops that have a loop variable with a “too small” type which means this type can’t represent all values which are part of the iteration range.
Change-Id: I9052bfd819ab78970b929411a08d77796c353465 Signed-off-by: Pavithra Barithaya <pavithra.b@ibm.com>
show more ...
|
#
1170a547 |
| 31-Jul-2024 |
Pavithra Barithaya <pavithrabarithaya07@gmail.com> |
Add clang-tidy to PLDM repo
The commit adds clang-tidy support with few of the clang-tidy checks enabled. This adds the 'bugprone-' clang-tidy checks.
Change-Id: I52d5fe3bb62466c4b354084f6b3ed1a2ba
Add clang-tidy to PLDM repo
The commit adds clang-tidy support with few of the clang-tidy checks enabled. This adds the 'bugprone-' clang-tidy checks.
Change-Id: I52d5fe3bb62466c4b354084f6b3ed1a2bad5a643 Signed-off-by: Pavithra Barithaya <pavithrabarithaya07@gmail.com>
show more ...
|