| commit | af5ba0ed8cb742475d8de6c6f4e5718b8ebbf34c | [log] [tgz] |
|---|---|---|
| author | Daniel Jasper <djasper@google.com> | Sat Feb 23 07:46:38 2013 +0000 |
| committer | Daniel Jasper <djasper@google.com> | Sat Feb 23 07:46:38 2013 +0000 |
| tree | 89e6dbdab2bb18d20b70e9334d483f42cb072e64 | |
| parent | 4e80d9e853b15e4386d921fb889b1ce8769cc27f [diff] |
Allow splitting between string literals and identifiers.
Also don't break in long include directives as that is not desired.
We can now format:
#include "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa aaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
#define LL_FORMAT "ll"
printf("aaaaa: %d, bbbbbbbbb: %" LL_FORMAT "d, cccccccc: %" LL_FORMAT
"d, ddddddddd: %" LL_FORMAT "d\n");
Before, this led to weird results.
llvm-svn: 175959