Allow breaking after "::" if absolutely necessary.
authorDaniel Jasper <djasper@google.com>
Fri, 25 Jan 2013 10:57:27 +0000 (10:57 +0000)
committerDaniel Jasper <djasper@google.com>
Fri, 25 Jan 2013 10:57:27 +0000 (10:57 +0000)
commit45797021b7eb5bb762fd9408a8e93497486919e8
treec801ba25ba463f8c8726b841e686fd61197dada0
parent3eb45a03afe8cb667864adb350003f08f15f680d
Allow breaking after "::" if absolutely necessary.

Otherwise, really long nested name specifiers can easily lead to a
violation of the column limit.

Not sure about the rules for indentation in those cases, so input is
appreciated (see tests.).

llvm-svn: 173438
clang/lib/Format/Format.cpp
clang/unittests/Format/FormatTest.cpp