diff options
author | Daniel Jasper <djasper@google.com> | 2013-01-09 09:33:39 +0000 |
---|---|---|
committer | Daniel Jasper <djasper@google.com> | 2013-01-09 09:33:39 +0000 |
commit | 043835aa876b1edeca0a05def0cc0989faa15892 (patch) | |
tree | 73d24965f53a029a5d8ddd6a155e872ce4411042 /lib/Format/UnwrappedLineParser.cpp | |
parent | 886568dc24eb0a1ccf73bf32d1eafa8fd4008cc6 (diff) |
Allow comments in the middle of statements to be on their own line.
This fixes llvm.org/PR14860.
Before, we messed up the format of:
if (DeclaratorInfo.isFunctionDeclarator() &&
//getDeclSpecContextFromDeclaratorContext(Context) == DSC_top_level &&
Tok.is(tok::semi) && NextToken().is(tok::l_brace)) {
}
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@171961 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Format/UnwrappedLineParser.cpp')
0 files changed, 0 insertions, 0 deletions