r208176 - clang-format: Be slightly more aggressive on single-line functions.
Tobias Grosser
tobias at grosser.es
Wed May 7 03:53:54 PDT 2014
On 07/05/2014 11:48, Daniel Jasper wrote:
> Author: djasper
> Date: Wed May 7 04:48:30 2014
> New Revision: 208176
>
> URL: http://llvm.org/viewvc/llvm-project?rev=208176&view=rev
> Log:
> clang-format: Be slightly more aggressive on single-line functions.
>
> So that JS functions can also be merged into a single line.
>
> Before:
> var func = function() {
> return 1;
> };
>
> After:
> var func = function() { return 1; };
This change caused the following formatting change in Polly:
/// Create the Cloog AST from this program.
-/struct clast_root *Cloog::getClast() { return (clast_root*)ClastRoot; }
+struct clast_root *Cloog::getClast() {
+ return (clast_root *)ClastRoot;
+}
This does not seem to be intentional.
Cheers,
Tobias
More information about the cfe-commits
mailing list