]> granicus.if.org Git - clang/commit
fix a minor bug I noticed while work with Jordy's patch for PR6101,
authorChris Lattner <sabre@nondot.org>
Mon, 12 Apr 2010 23:04:41 +0000 (23:04 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 12 Apr 2010 23:04:41 +0000 (23:04 +0000)
commit515f43f9f23de50d155b481b8774ec40bdfd7ff2
tree71b150d7544f6672664cc6a678778e523a0d0180
parent987aa87cf47811c44ac93afd1913c33f2829ed92
fix a minor bug I noticed while work with Jordy's patch for PR6101,
in an input file like this:

# 42
int x;

we were emitting:

# <something>
 int x;

(with a space before the int) because we weren't clearing the leading
whitespace flag properly after the \n from the directive was handled.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@101084 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Lex/Lexer.cpp