-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Fix #13523 CTU: Mention including cpp file for error in header #7174
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
Merged
Merged
Changes from all commits
Commits
Show all changes
27 commits
Select commit
Hold shift + click to select a range
11a1f22
Fix #13523 Mention including cpp file for error in header
chrchr-github f864c2b
Fix
chrchr-github bf3a994
Fix
chrchr-github f6b31de
Fix
chrchr-github 46239d5
Fix
chrchr-github 12b2dd0
debug
chrchr-github 1ab20e6
debug
chrchr-github 791b066
undo
chrchr-github e04d0a6
Refactor
chrchr-github 706c5ca
Format [skip ci]
chrchr-github 9a57c31
Add -j2
chrchr-github e0a623c
Add file0 in remaining CTU checks
chrchr-github e28646c
xfail
chrchr-github 65e54b5
Use build dir with -j2
chrchr-github 25d1801
Fix, simplify
chrchr-github 7309cf3
xfail
chrchr-github 9a41138
Update cppcheck.cpp
chrchr-github fbe7f87
Update whole-program_test.py
chrchr-github 1a219d8
Update whole-program_test.py
chrchr-github a9b9de4
Update whole-program_test.py
chrchr-github 750b92c
Update whole-program_test.py
chrchr-github f65bc60
Update whole-program_test.py
chrchr-github 33cedb5
Update whole-program_test.py
chrchr-github cc60882
Update whole-program_test.py
chrchr-github 4f288ff
Update whole-program_test.py
chrchr-github 155eea9
Update whole-program_test.py
chrchr-github e6c30a2
Update whole-program_test.py
chrchr-github File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 @@ | ||
| #include "nullpointer1.h" |
This file contains hidden or 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,8 @@ | ||
| #include "nullpointer1_1.h" | ||
|
|
||
| template<typename T> | ||
| void f(T* p) { | ||
| if (sizeof(T) == 4) | ||
| p = nullptr; | ||
| g(p); | ||
| } |
This file contains hidden or 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,4 @@ | ||
| template<typename T> | ||
| void g(T* p) { | ||
| *p = 0; | ||
| }; |
This file contains hidden or 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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.