Discussed with Rui on IRC
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
LGTM with a few nits.
| ELF/LinkerScript.cpp | ||
|---|---|---|
| 802 | At this point, we determined we consume a token whether it's a hexadecimal or decimal, so let's move next() here, so that you can remove the following two next()s. | |
| 808 | This should be an unsigned int. Otherwise Value > 255 is always false. | |
| 809 | This can be Tok.substr(1).getAsInteger | |
| ELF/LinkerScript.cpp | ||
|---|---|---|
| 38 | Ignore this #include, it's a leftover from a previous experiment. | |
At this point, we determined we consume a token whether it's a hexadecimal or decimal, so let's move next() here, so that you can remove the following two next()s.