aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-ssa-loop-manip.c
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2021-08-05 11:34:51 +0000
committerGitHub <noreply@github.com>2021-08-05 11:34:51 +0000
commit074c070c02e61033694f2f969a33a795036ad540 (patch)
tree221102b7325afba5619dbb61c8b80f9a27e24346 /gcc/tree-ssa-loop-manip.c
parent15635e68bb65d5ce6963ce0c820719a06ca794cd (diff)
parentaf7cd8a9854c7949bfb2015d80387e75f556e034 (diff)
downloadgcc-074c070c02e61033694f2f969a33a795036ad540.zip
gcc-074c070c02e61033694f2f969a33a795036ad540.tar.gz
gcc-074c070c02e61033694f2f969a33a795036ad540.tar.bz2
Merge #608
608: Add `parse_items()` function from `parse_crate()` r=philberty a=CohenArthur In order to support multiple file parsing, we will need to be able to parse items from a file without specifically parsing an entire crate. This PR splits up the `parse_crate()` function in two and exposes the `parse_items()` function. The function was previously hidden and didn't have the exact same behavior as the main loop of `parse_crate()`. This will be especially useful when trying to expand ```rust mod <file>; ``` to ```rust mod <file> { <items> } ``` in the AST as we will need to parse the items present in the file. Co-authored-by: CohenArthur <arthur.cohen@epita.fr>
Diffstat (limited to 'gcc/tree-ssa-loop-manip.c')
0 files changed, 0 insertions, 0 deletions