summaryrefslogtreecommitdiffstats
path: root/llvm/tools
diff options
context:
space:
mode:
authorJustin Bogner <mail@justinbogner.com>2014-02-04 19:18:37 +0000
committerJustin Bogner <mail@justinbogner.com>2014-02-04 19:18:37 +0000
commitd554a8eb91116cf055f36e3ffe34cb262a110fd5 (patch)
tree6870d8d8055dcdde2ba408ce299c22365fc0180e /llvm/tools
parent79c93845f6229465f1b0c710cacc60c21f7b9bf6 (diff)
downloadbcm5719-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
OpenPOWER on IntegriCloud