]> granicus.if.org Git - clang/commit
clang-format: Treat "." in protos like namespace separators.
authorDaniel Jasper <djasper@google.com>
Wed, 22 Jan 2014 08:04:52 +0000 (08:04 +0000)
committerDaniel Jasper <djasper@google.com>
Wed, 22 Jan 2014 08:04:52 +0000 (08:04 +0000)
commitebb8f4d9877a23a25b2253685b7c935f78cf302c
tree9b63ade0e85549cb324403828e34a149e4fce938
parent6c3ae05f55e41634b5940eccb151194a78e51994
clang-format: Treat "." in protos like namespace separators.

Before:
  optional really.really.long.and.qualified.type.aaaaaaa
      .aaaaaaaa another_fiiiiiiiiiiiiiiiiiiiiield = 2;

After:
  optional
     really.really.long.and.qualified.type.aaaaaaa.aaaaaaaa
          another_fiiiiiiiiiiiiiiiiiiiiield = 2;

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@199796 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Format/TokenAnnotator.cpp
unittests/Format/FormatTestProto.cpp