Before:
f("a", "b"
"c");
After:
f("a", "b"
"c");
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@181980
91177308-0d34-0410-b5e6-
96231b3b80d8
State.StartOfStringLiteral = State.Column;
} else if (!Current.isOneOf(tok::comment, tok::identifier, tok::hash,
tok::string_literal)) {
+ State.StartOfStringLiteral = 0;
}
State.Column += Current.FormatTok.TokenLength;
verifyFormat("a = a + \"a\"\n"
" \"a\"\n"
" \"a\";");
+ verifyFormat("f(\"a\", \"b\"\n"
+ " \"c\");");
verifyFormat(
"#define LL_FORMAT \"ll\"\n"