Cosmetics.
* src/sanity/style.test: Catch extra space around operator declarations. * src/ltlast/automatop.hh, src/ltlast/multop.hh, src/tgba/tgbabddcoredata.cc, src/tgba/tgbabddcoredata.hh, src/tgbaalgos/simulation.cc: Fix them.
This commit is contained in:
parent
cffbb7b498
commit
aa2374c5a2
6 changed files with 23 additions and 13 deletions
|
|
@ -131,15 +131,25 @@ for dir in "${INCDIR-..}" "${INCDIR-..}"/../iface; do
|
|||
|
||||
# The 'r' allows operator&&
|
||||
grep '[^ r]&&[^ ]' $tmp &&
|
||||
diag 'Space arround binary operators.'
|
||||
diag 'Space around binary operators.'
|
||||
|
||||
# The 'r' allows operator||
|
||||
grep '[^ r]||[^ ]' $tmp &&
|
||||
diag 'Space arround binary operators.'
|
||||
diag 'Space around binary operators.'
|
||||
|
||||
# The 'r' allows operator==
|
||||
grep '[^ r][!<>=]=[^ ]' $tmp &&
|
||||
diag 'Space arround binary operators.'
|
||||
grep '[^ r<>][!<>=]=[^ ]' $tmp &&
|
||||
diag 'Space around binary operators.'
|
||||
|
||||
# The 'r' allows operator<<=
|
||||
grep '[^ r][<>][<>]=[^ ]' $tmp &&
|
||||
diag 'Space around binary operators.'
|
||||
|
||||
grep 'operator[^a-zA-Z0-9_(]*[ ][^a-zA-Z0-9_(]*(' $tmp &&
|
||||
diag 'Write operatorXX(...) without spaces around XX.'
|
||||
|
||||
grep 'operator[^(]* (' $tmp &&
|
||||
diag 'No space before ('
|
||||
|
||||
grep '[ ]default:[^:].*;' $tmp &&
|
||||
diag 'Label should be on their own line.'
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
// Copyright (C) 2009, 2011 Laboratoire de Recherche et Développement de
|
||||
// l'Epita (LRDE).
|
||||
// Copyright (C) 2009, 2011, 2012 Laboratoire de Recherche et
|
||||
// Développement de l'Epita (LRDE).
|
||||
// Copyright (C) 2003 Laboratoire d'Informatique de Paris 6 (LIP6),
|
||||
// département Systèmes Répartis Coopératifs (SRC), Université Pierre
|
||||
// et Marie Curie.
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
// Copyright (C) 2009, 2011 Laboratoire de Recherche et Développement de
|
||||
// l'Epita (LRDE).
|
||||
// Copyright (C) 2009, 2011, 2012 Laboratoire de Recherche et
|
||||
// Développement de l'Epita (LRDE).
|
||||
// Copyright (C) 2003, 2005 Laboratoire d'Informatique de Paris 6 (LIP6),
|
||||
// département Systèmes Répartis Coopératifs (SRC), Université Pierre
|
||||
// et Marie Curie.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue