[PATCH] D10370: clang-format: Implement AlwaysBreakAfterDeclarationReturnType.

Zachary Turner via cfe-commits cfe-commits at lists.llvm.org
Mon Dec 14 13:32:30 PST 2015


zturner added a comment.

In http://reviews.llvm.org/D10370#309789, @djasper wrote:

> I think we can add the option AlwaysBreakAfterReturnType but still be backwards compatible. If clang-format finds only the old option in a configuration file, it can choose the appropriate value of the new option.
>
> I also like using just this one option better than using the one option with the added bool option.


What if it finds both the old option and the new option, but they conflict?  Error out?


http://reviews.llvm.org/D10370





More information about the cfe-commits mailing list