Commit Graph

1030 Commits

Author SHA1 Message Date
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
d5d9152420
Merge pull request #947 from kvedala/clang-tidy
[improvements] Clang tidy
2020-07-10 22:21:55 -04:00
Krishna Vedala
2ca13dd45a
Revert "test commit"
This reverts commit dc6f322975.
2020-07-10 22:16:14 -04:00
Krishna Vedala
dc6f322975
test commit 2020-07-10 22:00:57 -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
9a5a62cf12
pass multiple files 2020-07-10 21:47:39 -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
github-actions
1fbd0d59ac updating DIRECTORY.md 2020-07-10 21:38:04 +00:00
Krishna Vedala
5fcf15019e
added clang-analyzer checks 2020-07-10 16:41:13 -04:00
Krishna Vedala
05bb23ca27
[enhancement] New Graphics implementation with algorithm for spirograph (#936)
* added spirograph program

* add graphics forlder to cmake

* updating DIRECTORY.md

* enable VNC for GUI programs on gitpod

* fix cpplint error

* fix macro definitions for correct documentation

* fix filename in docs

* move include from namespace to global

* download and build freeglut if not available

* install opengl libraries for build check

* fix syntax error

* fix quotes

* install mesa-utils instead

* use markepplace tool instead of installing

* fix syntax

* undo changes to github actions

* OpenGL not mandatory

* add private option to compile definition

* fix: corrected to compile definitions instead of options

* use the macro USE_GLUT

* compile FREEGLUT as a subdirectory. this maintains a consistency

* build freeglut_static when GLUT library not available

* provide keyboard control

* clang-tidy fixes for cb284bddb2

Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
2020-07-10 12:47:37 -04:00
Ayaan Khan
8067850dfa
Merge pull request #942 from sprintyaf/fibonacci_search
Added Fibonacci search
2020-07-10 21:54:40 +05:30
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
sprintyaf
58099884dd comments added 2020-07-10 19:13:16 +04:00
Rajiv Ranjan Singh
ebd13a7e24
Improved sieve_of_eratosthenes.cpp (#933)
* Update sieve_of_eratosthenes.cpp

* removed unwanted spaces

* removed init function

Co-authored-by: Krishna Vedala <7001608+kvedala@users.noreply.github.com>
2020-07-10 11:02:59 -04:00
Krishna Vedala
bf2dac6de2
enable gitpod for all branches 2020-07-10 10:43:05 -04:00
Krishna Vedala
497d627ebd
[improvement] updated contribution guidelines (#945)
* updated contribution guidelines

* fix case
2020-07-09 18:15:05 -04:00
Krishna Vedala
0e9585d080
remove Copyright from docs 2020-07-08 12:30:13 -04:00
sprintyaf
644524337a copyright removed 2020-07-07 22:53:12 +04:00
sprintyaf
cf6b77a7dc rand fixed 2020-07-07 20:45:03 +04:00
sprintyaf
8216a3267f randomized tests, documentation, back to vector 2020-07-07 20:38:40 +04:00
sprintyaf
4b3749ed49 variable-length arrays fixed 2020-07-07 17:59:49 +04:00
sprintyaf
8e53f4da83 converted from vector to array 2020-07-07 17:54:55 +04:00
sprintyaf
86c6af46e8 doxygen documentation and tests added 2020-07-07 17:27:45 +04:00
sprintyaf
1002126449 min function corrected 2020-07-07 15:05:07 +04:00
sprintyaf
363f43c942 min function implemented 2020-07-07 14:57:57 +04:00
sprintyaf
2c3d72b102 Added fibonacci search 2020-07-07 14:38:58 +04:00
github-actions
5baf1ad89f formatting source-code for 247301c5b5 2020-07-02 12:48:35 +00:00
Krishna Vedala
247301c5b5
Merge pull request #927 from tjgurwara99/master
docs: fixed some documentation issues
2020-07-02 08:47:57 -04:00
Krishna Vedala
9afdd4a309
Merge pull request #930 from kvedala/fixes/929_pull
[fixes] issues from #929
2020-07-01 13:28:06 -04:00
Krishna Vedala
390ee8428e
fix to upper case 2020-07-01 13:08:41 -04:00
Krishna Vedala
4045bcddf3
verb correction 2020-07-01 13:05:52 -04:00
Krishna Vedala
84fd1cb0d0
small case 'e'
Co-authored-by: Ayaan Khan <ayaankhan98@gmail.com>
2020-07-01 13:04:54 -04:00
Krishna Vedala
fed7dd1c13
improved self-tests 2020-07-01 12:37:54 -04:00
Krishna Vedala
69b5c8395a
better rendering of example steps 2020-07-01 10:36:08 -04:00
Krishna Vedala
9b799c93cb
added documentation for new function 2020-07-01 10:19:18 -04:00
Krishna Vedala
957b57cf60
fix issues from #929 2020-07-01 10:10:51 -04:00
Tajmeet Singh
f586ca1b64 docs: fix 2020-07-01 14:56:51 +01:00
Ayaan Khan
3cb693234c
Merge pull request #929 from ayaankhan98/master
Fix: code quality and docs
2020-07-01 16:00:12 +05:30
github-actions
e4c62d28fe formatting source-code for 7af31e32a2 2020-07-01 10:10:51 +00:00
Ayaan Khan
7af31e32a2 Fix for loop formatiing 2020-07-01 15:39:53 +05:30
Ayaan Khan
dd0a07f18a loop formating fix 2020-07-01 15:38:55 +05:30
github-actions
3e1edca024 formatting source-code for efcccd0148 2020-06-30 22:35:45 +00:00
Ayaan Khan
efcccd0148 resolved merge conflict 2020-07-01 04:04:49 +05:30
Ayaan Khan
8179fbfdec test cases added 2020-07-01 04:03:13 +05:30
github-actions
d64f17f94c formatting source-code for 9217b4d8a8 2020-06-30 22:26:08 +00:00
Ayaan Khan
9217b4d8a8 Merge branch 'master' of https://github.com/ayaankhan98/C-Plus-Plus 2020-07-01 03:54:33 +05:30
Ayaan Khan
d3324aaf34 Fix: code quality and Docs 2020-07-01 03:54:01 +05:30