Commit Graph

9 Commits

Author SHA1 Message Date
Krishna Vedala
b4bbe9dc4e
[code fix] Fixed trie_tree for code quality and docs & clang-tidy error check (#1059)
* attempt to fix trie-tree code

* clang-tidy fixes

* remove performance-unnecessary-value-param as error - this has auto-fix

* make test() static

* added original author to the description

* added namespace

* doc updates

* fix true spelling

* extended to small & big caps alphabets - 52 characters

* clang-format and clang-tidy fixes for edc2247a

* move const parameter to after the parameters

Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
2020-08-27 12:30:14 -04:00
Krishna Vedala
4e12f03c6c
disable move error + enforce c++11 for clang-tidy 2020-07-11 15:09:00 -04:00
Krishna Vedala
d34bede6f4
disable error on cppcoreguidelines-owning-memory
see https://clang.llvm.org/extra/clang-tidy/checks/cppcoreguidelines-owning-memory.html for details
2020-07-11 09:11:31 -04:00
Krishna Vedala
523475b183
mark all warnings as errors except those that are fixable by clang-tidy 2020-07-10 21:58:22 -04:00
Krishna Vedala
389d50ea14
disable all insecureAPI errors 2020-07-10 19:05:42 -04:00
Krishna Vedala
229334cce6
treat clang-tidy warnings as errors 2020-07-10 18:37:35 -04:00
Krishna Vedala
bade26ecca
disable rand error 2020-07-10 18:25:13 -04:00
Krishna Vedala
5fcf15019e
added clang-analyzer checks 2020-07-10 16:41:13 -04:00
Krishna Vedala
02d947777b
[enhancement] Replace cpplint with clang-tidy (#943)
* test commit for using clang-tidy instead of cpplint

* add suffix -- to clang-tidy & commit

* fixes to git commit

* commenting redundant clang-format as clang-tidy will take care of that

* add clang-tidy config file

* use clang-tidy config file

* test dump config to ensure config is read correctly

* move test to top

* test passed, removing test code

Test link: https://github.com/TheAlgorithms/C-Plus-Plus/pull/943/checks?check_run_id=851231578

* fix clang-tidy config

* set clang-tidy standard to c++11

* provide clang-tidy with compilation details

* fix build path argument & Use clang-9

(cherry picked from commit 5eddf0cd9536f328a6a3485b5ed59705618a1433)

* Merge commit '433568f9fa7c3e7f1b2e0c86c1864e92ad2668c8'

* Use clang-9

* fix subprocess.STDOUT

* remove pipe for stdout

* bumot o clang-tidy-10

* Revert "Merge commit '433568f9fa7c3e7f1b2e0c86c1864e92ad2668c8'"

This reverts commit 2a7462056a.

* add docs
2020-07-10 11:32:37 -04:00