[clang-format] Fixup a case of text proto message attributes
authorKrasimir Georgiev <krasimir@google.com>
Mon, 19 Feb 2018 15:31:25 +0000 (15:31 +0000)
committerKrasimir Georgiev <krasimir@google.com>
Mon, 19 Feb 2018 15:31:25 +0000 (15:31 +0000)
commit9b2aa42f00253d5a5fd8153bfb28481a62beb8d9
treea925669d363fc775a07d350c976db8780fa076ae
parentb040fcc693447c3d43dfb4623976a921cb1fa0b8
[clang-format] Fixup a case of text proto message attributes

Summary: This patch fixes a case where a proto message attribute is wrongly identified as an text proto extension.

Subscribers: klimek, cfe-commits

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

llvm-svn: 325509
clang/lib/Format/TokenAnnotator.cpp
clang/unittests/Format/FormatTestProto.cpp