llvm-project/clang/lib/Format
Daniel Jasper f901a57cda clang-format: Make wrapping after "./->" cheaper, even if the element
before it is not a closing parenthesis.

Otherwise, this frequently leads to "hanging" indents that users
perceive as "weird".

Before:
  return !soooooooooooooome_map.insert(
                                   aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa)
              .second;

After:
  return !soooooooooooooome_map
              .insert(aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa)
              .second;

llvm-svn: 254933
2015-12-07 19:50:48 +00:00
..
BreakableToken.cpp clang-format: clang-format (NFC) 2015-06-17 13:08:06 +00:00
BreakableToken.h Roll-back r250822. 2015-10-20 13:23:58 +00:00
CMakeLists.txt clang-format: Factor out UnwrappedLineFormatter into a separate file. 2014-12-10 19:00:42 +00:00
ContinuationIndenter.cpp clang-format: Make it possible to turn off comment reflowing. 2015-12-01 13:28:53 +00:00
ContinuationIndenter.h [clang-format] Use in-class initializers to simplify constructor. 2015-06-12 14:39:08 +00:00
Encoding.h clang-format: Fix crasher when a UTF8 character is found in an escape 2015-07-20 23:28:07 +00:00
Format.cpp clang-format: Make it possible to turn off comment reflowing. 2015-12-01 13:28:53 +00:00
FormatToken.cpp clang-format: Add an additional value to AlignAfterOpenBracket: AlwaysBreak. 2015-10-27 12:38:37 +00:00
FormatToken.h clang-format: treat Q_SIGNALS as an access modifier 2015-12-01 12:05:04 +00:00
Makefile
TokenAnnotator.cpp clang-format: Make wrapping after "./->" cheaper, even if the element 2015-12-07 19:50:48 +00:00
TokenAnnotator.h clang-format: NFC. Add a function to test whether an annotated line 2015-06-17 09:43:56 +00:00
UnwrappedLineFormatter.cpp clang-format: treat Q_SIGNALS as an access modifier 2015-12-01 12:05:04 +00:00
UnwrappedLineFormatter.h clang-format: clang-format (NFC) 2015-06-17 13:08:06 +00:00
UnwrappedLineParser.cpp clang-format: treat Q_SIGNALS as an access modifier 2015-12-01 12:05:04 +00:00
UnwrappedLineParser.h Roll-back r250822. 2015-10-20 13:23:58 +00:00
WhitespaceManager.cpp This fixes https://llvm.org/bugs/show_bug.cgi?id=25329, as well as 2015-12-01 12:00:43 +00:00
WhitespaceManager.h This fixes https://llvm.org/bugs/show_bug.cgi?id=25329, as well as 2015-12-01 12:00:43 +00:00