Clean up the misc/formater.hh file.
* src/misc/formater.hh (formater::format, formater::prime): Move ... * src/misc/formater.cc: ... in this new file. * src/misc/Makefile.am: Add it. * src/sanity/style.test: Allow <iostream> in headers where << or >> are used.
This commit is contained in:
parent
f6dc6412d3
commit
3f5e6102dc
4 changed files with 64 additions and 35 deletions
|
|
@ -198,7 +198,7 @@ for dir in "${INCDIR-..}" "${INCDIR-..}"/../iface; do
|
|||
|
||||
case $file in
|
||||
*.hh | *.hxx)
|
||||
if egrep '(cout|cerr|clog)' $tmp >/dev/null; then
|
||||
if egrep '(<<|>>)' $tmp >/dev/null; then
|
||||
:
|
||||
else
|
||||
grep '#.*include.*<iostream>' $tmp &&
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue