-
-
Notifications
You must be signed in to change notification settings - Fork 446
Test the possibility of using problem matchers for errors/warnings #195
Conversation
Codecov Report
@@ Coverage Diff @@
## main #195 +/- ##
===========================================
- Coverage 80.00% 67.64% -12.36%
===========================================
Files 3 3
Lines 35 34 -1
Branches 18 0 -18
===========================================
- Hits 28 23 -5
- Misses 6 11 +5
+ Partials 1 0 -1
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
Co-authored-by: Amin Yahyaabadi <aminyahyaabadi74@gmail.com>
Does clang uses the same report style as gcc? |
It is very similar, but isn't matching. I'm pretty confused, TBH clang, which doesn't match:
clang-tidy, which does match:
gcc, which does match:
|
I just ran them through a regex tester and don't see what it's not matching |
The gcc matcher is only enabled if the compiler is gcc. If the regex is the same as clang, I can add the same thing to clang and clang-tidy. |
Here it is for llvm: |
clang-tidy is automatically getting picked up, since it's not being run as its own compiler here. it's on my to-do list to have cppcheck output in the appropriate gcc/msvc so it shows up in IDEs as expected, which should also make it get picked up here. |
aminya/project_options#66 to make sure cppcheck is picked up as expected. |
cppcheck integration
…rter_project into enable_problem_matchers
Confirmed @aminya if we merge aminya/project_options#66 then we get all of the warnings now picked up and this PR becomes an interesting artifact https://github.com/cpp-best-practices/cpp_starter_project/pull/195/files |
Awesome! 🎉. I wish I could add similar support for other CI services like GitLab. I don't know if other services have such similar capabilities. |
No description provided.