-
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 10 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,17 +1,16 @@ | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
/** This is a very ugly test code (doomed to fail linting) */ | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Check notice on line 1 in src/demo.cpp
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
#include "demo.hpp" | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Check warning on line 2 in src/demo.cpp
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
#include <cstdio> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
#include <cstddef> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
// using size_t from cstddef | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
size_t dummyFunc(size_t i) { return i; } | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Check warning on line 7 in src/demo.cpp
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
2bndy5 marked this conversation as resolved.
Show resolved
Hide resolved
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
int main() | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Check warning on line 9 in src/demo.cpp
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
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
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; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Check warning on line 11 in src/demo.cpp
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
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.
Show resolved
Hide resolved
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-format suggestions
Suggested change
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-format suggestions
Suggested change
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-format suggestions
Suggested change
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-format suggestions
Suggested change
clang-tidy diagnostic(s)
Suggested change
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
printf("Hello world!\n"); | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Check warning on line 13 in src/demo.cpp
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
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
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 diagnosticsrc/demo.cpp:13:5 warning: [cppcoreguidelines-pro-type-vararg]
13 | printf("Hello world!\n");
| ^ 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 diagnosticsrc/demo.cpp:13:5 warning: [cppcoreguidelines-pro-type-vararg]
13 | printf("Hello world!\n");
| ^ 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 diagnosticsrc/demo.cpp:13:5 warning: [cppcoreguidelines-pro-type-vararg]
13 | printf("Hello world!\n");
| ^ |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
return 0; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
} |
Original file line number | Diff line number | Diff line change | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
@@ -1,4 +1,4 @@ | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
#pragma once | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Check notice on line 1 in src/demo.hpp
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
@@ -7,9 +7,9 @@ | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
int numb; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
public: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
void *not_usefull(char *str){ | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
void *not_useful(char *str){ | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Check warning on line 10 in src/demo.hpp
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
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
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
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
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
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
useless = str; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
return 0; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Check warning on line 12 in src/demo.hpp
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
} | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
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.
Show resolved
Hide resolved
2bndy5 marked this conversation as resolved.
Show resolved
Hide resolved
2bndy5 marked this conversation as resolved.
Show resolved
Hide resolved
Comment on lines
+10
to
13
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
Comment on lines
+10
to
13
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
Comment on lines
+10
to
13
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
Comment on lines
+10
to
13
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
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
}; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Uh oh!
There was an error while loading. Please reload this page.