GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||||||||
GeezerVison is showing github.com — Fix #613: support binary literals in preprocessor checks by ludviggunne · Pull Request #628 · cppcheck-opensource/simplecpp Conversation
Collaborator
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
|
|
Please rebase. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
I rebased it, adjusted the expected test result and fixed a clang-tidy warning but it still needs more work... |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| d = 10 + c - 'A'; | ||
| } else { | ||
| throw std::runtime_error("invalid integer literal"); | ||
| // TODO: handle suffix |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Please add a ticket if do not plan to address this in this PR.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
I think a pretty big change is needed to handle integer conversions/overflow correctly (such as in expr_usual_conversions.c). So I could either keep that file excluded for this PR or tackle the bigger issue before this. Either way I'll create an issue.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
I couldn't find a way to add a label, maybe I don't have permissions
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
support binary literals in preprocessor checks
There was an error while loading. Please reload this page.