llvm-project/clang/lib/Format
Daniel Jasper 1c22048834 clang-format: Fix spacing for function with ref-qualification ..
.. when using SpacesInCStyleCastParentheses != SpacesInParentheses.

Before:
  FormatStyle Spaces = getLLVMStyle();
  Deleted &operator=(const Deleted &)& = default;

  Spaces.SpacesInParentheses = true;
  Deleted(const Deleted &)& = default;

  Spaces.SpacesInCStyleCastParentheses = true;
  Spaces.SpacesInParentheses= false;
  Deleted( const Deleted & )& = default;

After:
  FormatStyle Spaces = getLLVMStyle();
  Deleted &operator=(const Deleted &)& = default;;

  Spaces.SpacesInParentheses= true;
  Deleted( const Deleted & )& = default;

  Spaces.SpacesInCStyleCastParentheses = true;
  Spaces.SpacesInParentheses= false;
  Deleted(const Deleted &)& = default;

Patch by Jean-Philippe Dufraigne. Thank you!

llvm-svn: 230473
2015-02-25 10:30:06 +00:00
..
BreakableToken.cpp clang-format: Fix crasher when splitting incomplete escape sequences. 2015-01-21 19:50:35 +00:00
BreakableToken.h Fix assertion in BreakableBlockComment (http://llvm.org/PR21916). 2015-01-12 13:11:12 +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: Don't force a break after "endl" if everything fits on one line. 2015-02-17 10:05:15 +00:00
ContinuationIndenter.h clang-format: Revamp nested block formatting. 2014-12-12 09:40:58 +00:00
Encoding.h Header guard canonicalization, clang part. 2014-08-13 16:25:19 +00:00
Format.cpp clang-format: Change location of stashed token 2015-02-24 23:23:24 +00:00
FormatToken.cpp clang-format: Fix crash on invalid code. 2015-01-19 10:51:42 +00:00
FormatToken.h clang-format: [js] Support template strings. 2015-02-20 13:47:38 +00:00
Makefile
TokenAnnotator.cpp clang-format: Fix spacing for function with ref-qualification .. 2015-02-25 10:30:06 +00:00
TokenAnnotator.h Removing LLVM_DELETED_FUNCTION, as MSVC 2012 was the last reason for requiring the macro. NFC; Clang edition. 2015-02-15 22:54:08 +00:00
UnwrappedLineFormatter.cpp clang-format: Format Objective-C try blocks like all the other try blocks. 2015-02-07 01:57:32 +00:00
UnwrappedLineFormatter.h clang-format: [JS] Support classes. 2015-02-18 17:14:05 +00:00
UnwrappedLineParser.cpp clang-format: [js] Support ES6 module exports. 2015-02-19 16:14:18 +00:00
UnwrappedLineParser.h clang-format: [js] Support ES6 module exports. 2015-02-19 16:14:18 +00:00
WhitespaceManager.cpp clang-format: Fix crasher caused by not properly setting dry-run. 2015-01-29 10:47:14 +00:00
WhitespaceManager.h Header guard canonicalization, clang part. 2014-08-13 16:25:19 +00:00