Skip to content

Downmerge v66 - #48

Merged
hschlichter merged 275 commits into
masterfrom
downmerge-v66
Dec 4, 2017
Merged

hschlichter merged 275 commits into
masterfrom
downmerge-v66

Conversation

@spuppala-rythmos

Copy link
Copy Markdown

All regressions are passing after down-merging.

guy-maurel and others added 30 commits September 17, 2017 18:14
A new run in the loop is necessary.
The current test cases don't accurately test what these
options are supposed to do, and the current implementation
doesn't work correctly either. This fixes both the
implementation and test cases so that they correctly format
the newline between the function name and open paren. Also
adds the options that these override, to prove they do in
fact override them.

Change-Id: Ibe2e45d254b558cbe9820769ffa5ed0e5a446532
Type: Bug Fix
This adds extra options for aligning parameter definitions
in function on parameter name:
align_func_params_span
align_func_params_thresh
align_func_params_gap.
Aligning variables does not work correctly
in the following case:
float & c;
double &     d;

This commit fix it.
In AlignStack::Add() the threshold check is moved
after reducing the space between 'ref' and 'start'.
…pen_paren

Fix newline between function name and open paren
…options

Add options for align_func_params (span, thresh, gap)
Fix alignment with extra spaces after the * or &.
fix regression of nl_func_type_name / nl_func_proto_type_name when return type is a reference
Some mode debug lines
This adds two options:
*nl_func_call_empty - same as nl_func_decl_empty but for
function calls
*nl_func_call_paren_empty - same as nl_func_def_paren_empty
but for function calls

Change-Id: Ib49ca03b18043368ceeb96e2c6f4fcfed3928ccb
@spuppala-rythmos

Copy link
Copy Markdown
Author

unity-diff-checker test this please

@spuppala-rythmos

Copy link
Copy Markdown
Author

unity-diff-checker test this please

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.