[nemiver/varobjs-support] Allow one one-line if clauses without braces



commit eb62031fb68d7cd4ada9380d57ff80760a647761
Author: Dodji Seketeli <dodji redhat com>
Date:   Sat Apr 18 19:08:01 2009 +0200

    Allow one one-line if clauses without braces
    
    	* coding-style.txt: Allow one one-line if clauses without braces.
---
 coding-style.txt |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/coding-style.txt b/coding-style.txt
index aeda174..8b4110e 100644
--- a/coding-style.txt
+++ b/coding-style.txt
@@ -106,7 +106,6 @@ Braces
       }
 
    3. If/else statements â?? as above, but if there is an else clause, the close brace should go on the same line as the else.
-      Also, even one-line if or else clauses should get braces.
 
       Right:
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]