Skip to content

Commit

Permalink
Fix errors and allow for unlimited errors in C++
Browse files Browse the repository at this point in the history
  • Loading branch information
Mis1eader-dev committed Apr 21, 2024
1 parent e9b4bbe commit 4a59766
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .config/clangd/config.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
If:
PathMatch: [.*\.c, .*\.h]
CompileFlags:
Compile: gcc
Compiler: gcc
Add: [-ferror-limit=0]

---

If:
PathMatch: [.*\.cpp, .*\.hpp, .*\.h]
CompileFlags:
Compiler: g++
Add: [-std=c++2b]
Add: [-std=c++2b, -ferror-limit=0]

0 comments on commit 4a59766

Please sign in to comment.