summaryrefslogtreecommitdiff
path: root/lib/CodeGen/CodeGenFunction.cpp
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
commit6c3521f04533132c1f2e54227917f3b529b473ff (patch)
treeed62fdba26bf0f66a37838df5657c4aed8c83620 /lib/CodeGen/CodeGenFunction.cpp
parent6ee824e41dd3b6ed62dc1fabd4809cef7eb4ea37 (diff)
downloadclang-6c3521f04533132c1f2e54227917f3b529b473ff.tar.gz
clang-6c3521f04533132c1f2e54227917f3b529b473ff.tar.bz2
clang-6c3521f04533132c1f2e54227917f3b529b473ff.tar.xz
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! git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@200788 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions