You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/tmp/name-mismatch.cpp:2:10: warning: function 'A::foo' has a definition with different parameter names [readability-inconsistent-declaration-parameter-name]
void foo(int bar);
^
/tmp/name-mismatch.cpp:5:9: note: the definition seen here
void A::foo(int baz) {
^
/tmp/name-mismatch.cpp:2:10: note: differing parameters are named here: ('bar'), in definition: ('baz')
void foo(int bar);
^
The text was updated successfully, but these errors were encountered:
I see you are using almost the same setup as me. I am trying to use clang-tidy, Jenkins, sonarqube and gerrit as a combo for my project. What is your experience with them ? What is your compile_commmands.json generator tool ? Have you find problems with it, clang-tidy and the parser of sonarscanner ?
Thank you in advance.
clang-tidy often provides additional context for its diagnostic in the form of notes. These are currently lost when parsing a clang-tidy log file.
SonarQube supports issue flows, which seem like the appropriate way to display that information. See https://docs.sonarqube.org/display/SONARQUBE67/Issues , section "Understanding issue context"
Example 1:
clang-tidy output:
Example 2:
clang-tidy output:
The text was updated successfully, but these errors were encountered: