cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From agri...@apache.org
Subject [9/11] ios commit: Update uncrustify rules for ternary operators.
Date Thu, 04 Oct 2012 19:55:58 GMT
Update uncrustify rules for ternary operators.


Project: http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/commit/5c41ef61
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/tree/5c41ef61
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/diff/5c41ef61

Branch: refs/heads/master
Commit: 5c41ef616d397d02d214e976ccb56dbc37505af6
Parents: c8ac3c2
Author: Andrew Grieve <agrieve@chromium.org>
Authored: Thu Oct 4 14:56:29 2012 -0400
Committer: Andrew Grieve <agrieve@chromium.org>
Committed: Thu Oct 4 14:57:50 2012 -0400

----------------------------------------------------------------------
 bin/uncrustify.cfg |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/blob/5c41ef61/bin/uncrustify.cfg
----------------------------------------------------------------------
diff --git a/bin/uncrustify.cfg b/bin/uncrustify.cfg
index 31487e7..d52ce33 100644
--- a/bin/uncrustify.cfg
+++ b/bin/uncrustify.cfg
@@ -312,7 +312,7 @@ sp_inside_angle                          = remove   # ignore/add/remove/force
 sp_after_angle                           = remove   # ignore/add/remove/force
 
 # Add or remove space between '<>' and '(' as found in 'new List<byte>();'
-sp_angle_paren                           = force    # ignore/add/remove/force
+sp_angle_paren                           = remove   # ignore/add/remove/force
 
 # Add or remove space between '<>' and a word as in 'List<byte> m;'
 sp_angle_word                            = force    # ignore/add/remove/force
@@ -603,10 +603,10 @@ sp_before_oc_block_caret                 = ignore   # ignore/add/remove/force
 sp_after_oc_block_caret                  = ignore   # ignore/add/remove/force
 
 # Add or remove space around the ':' in 'b ? t : f'
-sp_cond_colon                            = ignore   # ignore/add/remove/force
+sp_cond_colon                            = add # ignore/add/remove/force
 
 # Add or remove space around the '?' in 'b ? t : f'
-sp_cond_question                         = ignore   # ignore/add/remove/force
+sp_cond_question                         = add # ignore/add/remove/force
 
 # Fix the spacing between 'case' and the label. Only 'ignore' and 'force' make sense here.
 sp_case_label                            = ignore   # ignore/add/remove/force


Mime
View raw message