-
Notifications
You must be signed in to change notification settings - Fork 1
prepare for rust pkg tests #42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
a9f1753
fd0c510
09938a8
38a5304
eae925c
89b3bad
1be32b6
c61ad92
574be43
0b4a40f
f46a3a6
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| @@ -1,4 +1,4 @@ | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| /** This is a very ugly test code (doomed to fail linting) */ | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| #include "demo.hpp" | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| #include <cstdio> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| #include <cstddef> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
@@ -8,8 +8,7 @@ | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| int main() | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
2bndy5 marked this conversation as resolved.
Show resolved
Hide resolved
2bndy5 marked this conversation as resolved.
Show resolved
Hide resolved
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. clang-tidy diagnostic(s)
Suggested change
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. clang-tidy diagnostic(s)
Suggested change
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. clang-tidy diagnostic(s)
Suggested change
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| for (;;) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| break; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| for (;;) break; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
2bndy5 marked this conversation as resolved.
Show resolved
Hide resolved
2bndy5 marked this conversation as resolved.
Show resolved
Hide resolved
2bndy5 marked this conversation as resolved.
Show resolved
Hide resolved
2bndy5 marked this conversation as resolved.
Show resolved
Hide resolved
2bndy5 marked this conversation as resolved.
Show resolved
Hide resolved
2bndy5 marked this conversation as resolved.
Show resolved
Hide resolved
2bndy5 marked this conversation as resolved.
Show resolved
Hide resolved
2bndy5 marked this conversation as resolved.
Show resolved
Hide resolved
2bndy5 marked this conversation as resolved.
Show resolved
Hide resolved
2bndy5 marked this conversation as resolved.
Show resolved
Hide resolved
2bndy5 marked this conversation as resolved.
Show resolved
Hide resolved
2bndy5 marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
2bndy5 marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
2bndy5 marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. clang-format suggestions
Suggested change
clang-tidy diagnostic(s)
Suggested change
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| for (;;) break; | |
| for (;;) | |
| break; |
clang-tidy diagnostic(s)
| for (;;) break; | |
| for (;;) { | |
| break; | |
| } |
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
clang-format suggestions
| for (;;) break; | |
| for (;;) | |
| break; |
clang-tidy diagnostic(s)
| for (;;) break; | |
| for (;;) { | |
| break; | |
| } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
clang-format suggestions
| for (;;) break; | |
| for (;;) | |
| break; |
clang-tidy diagnostic(s)
| for (;;) break; | |
| for (;;) { | |
| break; | |
| } |
2bndy5 marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
2bndy5 marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
2bndy5 marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
clang-tidy diagnostic
src/demo.cpp:13:5 warning: [cppcoreguidelines-pro-type-vararg]
do not call c-style vararg functions
13 | printf("Hello world!\n");
| ^
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
clang-tidy diagnostic
src/demo.cpp:13:5 warning: [cppcoreguidelines-pro-type-vararg]
do not call c-style vararg functions
13 | printf("Hello world!\n");
| ^
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
clang-tidy diagnostic
src/demo.cpp:13:5 warning: [cppcoreguidelines-pro-type-vararg]
do not call c-style vararg functions
13 | printf("Hello world!\n");
| ^| Original file line number | Diff line number | Diff line change | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| @@ -1,4 +1,4 @@ | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| #pragma once | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
@@ -7,7 +7,7 @@ | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| int numb; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| public: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| void *not_usefull(char *str){ | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| void *not_useful(char *str){ | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
2bndy5 marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
2bndy5 marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
2bndy5 marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
Comment on lines
9
to
+10
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. clang-format suggestions
Suggested change
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| public: | |
| void *not_usefull(char *str){ | |
| void *not_useful(char *str){ | |
| public: | |
| void* not_useful(char* str) | |
| { |
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
clang-format suggestions
| public: | |
| void *not_usefull(char *str){ | |
| void *not_useful(char *str){ | |
| public: | |
| void* not_useful(char* str) | |
| { |
2bndy5 marked this conversation as resolved.
Show resolved
Hide resolved
2bndy5 marked this conversation as resolved.
Show resolved
Hide resolved
2bndy5 marked this conversation as resolved.
Show resolved
Hide resolved
2bndy5 marked this conversation as resolved.
Show resolved
Hide resolved
2bndy5 marked this conversation as resolved.
Show resolved
Hide resolved
2bndy5 marked this conversation as resolved.
Show resolved
Hide resolved
2bndy5 marked this conversation as resolved.
Show resolved
Hide resolved
2bndy5 marked this conversation as resolved.
Show resolved
Hide resolved
2bndy5 marked this conversation as resolved.
Show resolved
Hide resolved
2bndy5 marked this conversation as resolved.
Show resolved
Hide resolved
2bndy5 marked this conversation as resolved.
Show resolved
Hide resolved
2bndy5 marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
2bndy5 marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
2bndy5 marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
clang-tidy diagnostic(s)
| void *not_useful(char *str){ | |
| useless = str; | |
| return 0; | |
| } | |
| auto not_useful(char* str) -> void* | |
| { | |
| useless = str; | |
| return nullptr; | |
| } |
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
clang-tidy diagnostic(s)
| void *not_useful(char *str){ | |
| useless = str; | |
| return 0; | |
| } | |
| auto not_useful(char* str) -> void* | |
| { | |
| useless = str; | |
| return nullptr; | |
| } |
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
clang-tidy diagnostic(s)
| void *not_useful(char *str){ | |
| useless = str; | |
| return 0; | |
| } | |
| auto not_useful(char* str) -> void* | |
| { | |
| useless = str; | |
| return nullptr; | |
| } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
clang-format suggestions
| void *not_useful(char *str){ | |
| useless = str; | |
| return 0; | |
| } | |
| void* not_useful(char* str) | |
| { | |
| useless = str; | |
| return 0; | |
| } |
clang-tidy diagnostic(s)
| void *not_useful(char *str){ | |
| useless = str; | |
| return 0; | |
| } | |
| auto not_useful(char* str) -> void* | |
| { | |
| useless = str; | |
| return 0; | |
| } |
Uh oh!
There was an error while loading. Please reload this page.