summaryrefslogtreecommitdiff
path: root/xsd/cxx
diff options
context:
space:
mode:
Diffstat (limited to 'xsd/cxx')
-rw-r--r--xsd/cxx/parser/generator.cxx21
-rw-r--r--xsd/cxx/tree/generator.cxx29
2 files changed, 15 insertions, 35 deletions
diff --git a/xsd/cxx/parser/generator.cxx b/xsd/cxx/parser/generator.cxx
index 8723940..3635730 100644
--- a/xsd/cxx/parser/generator.cxx
+++ b/xsd/cxx/parser/generator.cxx
@@ -1258,12 +1258,9 @@ namespace CXX
hxx << "#endif // " << guard << endl;
if (show_sloc)
- {
- wcerr << hxx_path << ": "
- << hxx_sloc.buffer ().count () << endl;
+ wcerr << hxx_path << ": " << hxx_sloc.buffer ().count () << endl;
- sloc += hxx_sloc.buffer ().count ();
- }
+ sloc += hxx_sloc.buffer ().count ();
}
@@ -1321,12 +1318,9 @@ namespace CXX
<< endl;
if (show_sloc)
- {
- wcerr << ixx_path << ": "
- << ixx_sloc.buffer ().count () << endl;
+ wcerr << ixx_path << ": " << ixx_sloc.buffer ().count () << endl;
- sloc += ixx_sloc.buffer ().count ();
- }
+ sloc += ixx_sloc.buffer ().count ();
}
@@ -1393,12 +1387,9 @@ namespace CXX
<< endl;
if (show_sloc)
- {
- wcerr << cxx_path << ": "
- << cxx_sloc.buffer ().count () << endl;
+ wcerr << cxx_path << ": " << cxx_sloc.buffer ().count () << endl;
- sloc += cxx_sloc.buffer ().count ();
- }
+ sloc += cxx_sloc.buffer ().count ();
}
// HXX impl
diff --git a/xsd/cxx/tree/generator.cxx b/xsd/cxx/tree/generator.cxx
index 19cdd0e..b408c09 100644
--- a/xsd/cxx/tree/generator.cxx
+++ b/xsd/cxx/tree/generator.cxx
@@ -1351,12 +1351,9 @@ namespace CXX
fwd << "#endif // " << guard << endl;
if (show_sloc)
- {
- wcerr << fwd_path << ": "
- << fwd_sloc.buffer ().count () << endl;
+ wcerr << fwd_path << ": " << fwd_sloc.buffer ().count () << endl;
- sloc += fwd_sloc.buffer ().count ();
- }
+ sloc += fwd_sloc.buffer ().count ();
}
// HXX
@@ -1504,12 +1501,9 @@ namespace CXX
hxx << "#endif // " << guard << endl;
if (show_sloc)
- {
- wcerr << hxx_path << ": "
- << hxx_sloc.buffer ().count () << endl;
+ wcerr << hxx_path << ": " << hxx_sloc.buffer ().count () << endl;
- sloc += hxx_sloc.buffer ().count ();
- }
+ sloc += hxx_sloc.buffer ().count ();
}
@@ -1580,12 +1574,9 @@ namespace CXX
ixx << "#endif // " << guard.c_str () << endl;
if (show_sloc)
- {
- wcerr << ixx_path << ": "
- << ixx_sloc.buffer ().count () << endl;
+ wcerr << ixx_path << ": " << ixx_sloc.buffer ().count () << endl;
- sloc += ixx_sloc.buffer ().count ();
- }
+ sloc += ixx_sloc.buffer ().count ();
}
@@ -1732,12 +1723,10 @@ namespace CXX
<< endl;
if (show_sloc)
- {
- wcerr << cxx_paths[part] << ": "
- << cxx_sloc.buffer ().count () << endl;
+ wcerr << cxx_paths[part] << ": " << cxx_sloc.buffer ().count ()
+ << endl;
- sloc += cxx_sloc.buffer ().count ();
- }
+ sloc += cxx_sloc.buffer ().count ();
}
}