-
-
Notifications
You must be signed in to change notification settings - Fork 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
Cc sema #125
Open
Supercip971
wants to merge
13
commits into
main
Choose a base branch
from
cc-sema
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Cc sema #125
Commits on May 23, 2022
-
- now we detect int / bool / char ... - fixed this case: ```c int v = 0; // as int was not a recognized type, this was resulting in an empty expr ``` - fixed cc dump of argument
Configuration menu - View commit details
-
Copy full SHA for 03a212f - Browse repository at this point
Copy the full SHA 03a212fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 690d578 - Browse repository at this point
Copy the full SHA 690d578View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2859615 - Browse repository at this point
Copy the full SHA 2859615View commit details -
cc: added SrcRef support for each ast entry
- now we store a range of position note: we can't just use a range because we may do later on macro expansion in it: ```c test b; // ---- error 2 | test b; | ^^^ in expansion of macro test | | 1 | #define test (void* aaaa) | ^^^^ invalid identifier in type ```
Configuration menu - View commit details
-
Copy full SHA for 2ec4d22 - Browse repository at this point
Copy the full SHA 2ec4d22View commit details -
- used because global variable are handled differently than local variable
Configuration menu - View commit details
-
Copy full SHA for c4f9a22 - Browse repository at this point
Copy the full SHA c4f9a22View commit details -
+ added sema_scope _reset + added pass in sema + remove visit_statement + format code
Configuration menu - View commit details
-
Copy full SHA for 562dfe5 - Browse repository at this point
Copy the full SHA 562dfe5View commit details -
Configuration menu - View commit details
-
Copy full SHA for eec7270 - Browse repository at this point
Copy the full SHA eec7270View commit details -
Configuration menu - View commit details
-
Copy full SHA for 822dbec - Browse repository at this point
Copy the full SHA 822dbecView commit details -
- use a simpler structure - reformat code - removed CREF macro
Configuration menu - View commit details
-
Copy full SHA for 1ebbfd5 - Browse repository at this point
Copy the full SHA 1ebbfd5View commit details -
parse: moved src ref in an other file
+ put scan_srcref_info in it
Configuration menu - View commit details
-
Copy full SHA for 1d390aa - Browse repository at this point
Copy the full SHA 1d390aaView commit details -
parse: moved csema report in a parse specific translation unit
- also moved cc error dumping in the parse error handling translation unit - simplified code of error dumping (even if it is still a little bit cursed) - renamed struct of srcref to make simpler to understad what is a characted index and what is a line index
Configuration menu - View commit details
-
Copy full SHA for e864986 - Browse repository at this point
Copy the full SHA e864986View commit details -
Configuration menu - View commit details
-
Copy full SHA for fff11cd - Browse repository at this point
Copy the full SHA fff11cdView commit details -
Configuration menu - View commit details
-
Copy full SHA for b2196ac - Browse repository at this point
Copy the full SHA b2196acView commit details
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.