commit | 3f8c7f3a07df65580a9ca0fe3e956b8a40956a79 | [log] [tgz] |
---|---|---|
author | Manuel Klimek <klimek@google.com> | Thu Jan 10 18:45:26 2013 +0000 |
committer | Manuel Klimek <klimek@google.com> | Thu Jan 10 18:45:26 2013 +0000 |
tree | dbe66addd091b3af502f01a0b40df516d7f4a1ac | |
parent | c8c8a478639f1474f4c53d12befc405934083633 [diff] |
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. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@172083 91177308-0d34-0410-b5e6-96231b3b80d8