[clang-format] Fix comment indentation in text protos
authorKrasimir Georgiev <krasimir@google.com>
Mon, 12 Feb 2018 15:49:09 +0000 (15:49 +0000)
committerKrasimir Georgiev <krasimir@google.com>
Mon, 12 Feb 2018 15:49:09 +0000 (15:49 +0000)
commitc8b461b37f5886eeee104143255f1bb3edd83974
treea800b7f66cb582e8b073911dd1d787bbd570329d
parent8ea7ede7251c4a3784087bc345e036785b22dedd
[clang-format] Fix comment indentation in text protos

Summary: This patch fixes a bug where the comment indent of comments in text protos gets messed up because by default paren states get created with AlignColons = true (which makes snese for ObjC).

Subscribers: klimek, cfe-commits

Differential Revision: https://reviews.llvm.org/D43194

llvm-svn: 324896
clang/lib/Format/ContinuationIndenter.cpp
clang/unittests/Format/FormatTestTextProto.cpp