-
Notifications
You must be signed in to change notification settings - Fork 384
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[cli] Fix html output of CodeChecker parse
- Loading branch information
1 parent
eca941c
commit 58825b1
Showing
8 changed files
with
412 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
all: a b | ||
|
||
a: a.cpp | ||
g++ -c a.cpp | ||
|
||
b: b.cpp | ||
g++ -c b.cpp |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
#include "f.h" | ||
|
||
int a() { | ||
foo(); | ||
} |
163 changes: 163 additions & 0 deletions
163
...onverter/tests/projects/inclusion/a.cpp_clang-tidy_a27708837083d600871b542ee70f5ff2.plist
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,163 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
<plist version="1.0"> | ||
<dict> | ||
<key>diagnostics</key> | ||
<array> | ||
<dict> | ||
<key>category</key> | ||
<string>clang</string> | ||
<key>check_name</key> | ||
<string>clang-diagnostic-return-type</string> | ||
<key>description</key> | ||
<string>non-void function does not return a value</string> | ||
<key>issue_hash_content_of_line_in_context</key> | ||
<string>3ab76fd265ab7140c41b3126664b29b8</string> | ||
<key>location</key> | ||
<dict> | ||
<key>col</key> | ||
<integer>1</integer> | ||
<key>file</key> | ||
<integer>0</integer> | ||
<key>line</key> | ||
<integer>5</integer> | ||
</dict> | ||
<key>path</key> | ||
<array> | ||
<dict> | ||
<key>depth</key> | ||
<integer>0</integer> | ||
<key>kind</key> | ||
<string>event</string> | ||
<key>location</key> | ||
<dict> | ||
<key>col</key> | ||
<integer>1</integer> | ||
<key>file</key> | ||
<integer>0</integer> | ||
<key>line</key> | ||
<integer>5</integer> | ||
</dict> | ||
<key>message</key> | ||
<string>non-void function does not return a value</string> | ||
</dict> | ||
</array> | ||
</dict> | ||
<dict> | ||
<key>category</key> | ||
<string>misc</string> | ||
<key>check_name</key> | ||
<string>misc-definitions-in-headers</string> | ||
<key>description</key> | ||
<string>function 'foo' defined in a header file; function definitions in header files can lead to ODR violations</string> | ||
<key>issue_hash_content_of_line_in_context</key> | ||
<string>e5d8516ed0ec25a58c07f5cc15385681</string> | ||
<key>location</key> | ||
<dict> | ||
<key>col</key> | ||
<integer>5</integer> | ||
<key>file</key> | ||
<integer>1</integer> | ||
<key>line</key> | ||
<integer>4</integer> | ||
</dict> | ||
<key>path</key> | ||
<array> | ||
<dict> | ||
<key>depth</key> | ||
<integer>0</integer> | ||
<key>kind</key> | ||
<string>event</string> | ||
<key>location</key> | ||
<dict> | ||
<key>col</key> | ||
<integer>5</integer> | ||
<key>file</key> | ||
<integer>1</integer> | ||
<key>line</key> | ||
<integer>4</integer> | ||
</dict> | ||
<key>message</key> | ||
<string>make as 'inline'</string> | ||
</dict> | ||
<dict> | ||
<key>depth</key> | ||
<integer>0</integer> | ||
<key>kind</key> | ||
<string>event</string> | ||
<key>location</key> | ||
<dict> | ||
<key>col</key> | ||
<integer>5</integer> | ||
<key>file</key> | ||
<integer>1</integer> | ||
<key>line</key> | ||
<integer>4</integer> | ||
</dict> | ||
<key>message</key> | ||
<string>function 'foo' defined in a header file; function definitions in header files can lead to ODR violations</string> | ||
</dict> | ||
</array> | ||
</dict> | ||
<dict> | ||
<key>category</key> | ||
<string>bugprone</string> | ||
<key>check_name</key> | ||
<string>bugprone-sizeof-expression</string> | ||
<key>description</key> | ||
<string>suspicious usage of 'sizeof(K)'; did you mean 'K'?</string> | ||
<key>issue_hash_content_of_line_in_context</key> | ||
<string>cdff7d3bce7ee7f72e99c34e51a242c9</string> | ||
<key>location</key> | ||
<dict> | ||
<key>col</key> | ||
<integer>10</integer> | ||
<key>file</key> | ||
<integer>1</integer> | ||
<key>line</key> | ||
<integer>5</integer> | ||
</dict> | ||
<key>path</key> | ||
<array> | ||
<dict> | ||
<key>depth</key> | ||
<integer>0</integer> | ||
<key>kind</key> | ||
<string>event</string> | ||
<key>location</key> | ||
<dict> | ||
<key>col</key> | ||
<integer>10</integer> | ||
<key>file</key> | ||
<integer>1</integer> | ||
<key>line</key> | ||
<integer>5</integer> | ||
</dict> | ||
<key>message</key> | ||
<string>suspicious usage of 'sizeof(K)'; did you mean 'K'?</string> | ||
</dict> | ||
</array> | ||
</dict> | ||
</array> | ||
<key>files</key> | ||
<array> | ||
<string>$FILE_PATH$/a.cpp</string> | ||
<string>$FILE_PATH$/f.h</string> | ||
</array> | ||
<key>metadata</key> | ||
<dict> | ||
<key>analyzer</key> | ||
<dict> | ||
<key>name</key> | ||
<string>clang-tidy</string> | ||
</dict> | ||
<key>generated_by</key> | ||
<dict> | ||
<key>name</key> | ||
<string>CodeChecker</string> | ||
<key>version</key> | ||
<string>6.19.0</string> | ||
</dict> | ||
</dict> | ||
</dict> | ||
</plist> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
#include "f.h" | ||
|
||
int b() { | ||
foo(); | ||
} |
Oops, something went wrong.