diff options
author | Justin Bogner <mail@justinbogner.com> | 2014-02-04 19:18:37 +0000 |
---|---|---|
committer | Justin Bogner <mail@justinbogner.com> | 2014-02-04 19:18:37 +0000 |
commit | d554a8eb91116cf055f36e3ffe34cb262a110fd5 (patch) | |
tree | 6870d8d8055dcdde2ba408ce299c22365fc0180e /llvm/tools | |
parent | 79c93845f6229465f1b0c710cacc60c21f7b9bf6 (diff) | |
download | bcm5719-llvm-d554a8eb91116cf055f36e3ffe34cb262a110fd5.tar.gz bcm5719-llvm-d554a8eb91116cf055f36e3ffe34cb262a110fd5.zip |
Clean up whitespace checks
In TokenLexer::ExpandFunctionArguments(), CurTok.hasLeadingSpace() is
checked in multiple locations, each time subtly differently. Checking it
early, when the token is seen, and using NextTokGetsSpace exclusively
after that makes the code simpler.
No change in behaviour is intended.
Patch by Harald van Dijk!
llvm-svn: 200788
Diffstat (limited to 'llvm/tools')
0 files changed, 0 insertions, 0 deletions