Pulling formatFirstToken one level up.
authorManuel Klimek <klimek@google.com>
Thu, 10 Jan 2013 18:45:26 +0000 (18:45 +0000)
committerManuel Klimek <klimek@google.com>
Thu, 10 Jan 2013 18:45:26 +0000 (18:45 +0000)
commit0b689fd68dc11099fb4af75a98875ee98337e690
tree1a56272ec2398772c60c697c7b44604a4bb0b978
parentf0615c71fae8bf7d7aa81629fa92643d8cf65be7
Pulling formatFirstToken one level up.

This prepares the code for single line optimizations and changes the
dependencies between single-line-formats to the indent of the first
token.

Conceptually, the first token is "between" the lines anyway, as the
whitespace for the first token includes the previous end-of-line, which
needs to be escaped when inside a preprocessor directive.

llvm-svn: 172083
clang/lib/Format/Format.cpp