summaryrefslogtreecommitdiffstats
path: root/tester/covoar
diff options
context:
space:
mode:
authorRyan Long <ryan.long@oarcorp.com>2021-08-05 13:23:20 -0400
committerJoel Sherrill <joel@rtems.org>2021-08-10 17:16:26 -0500
commitf04f5070dd217e0b23d0ca2e99902a3707d34927 (patch)
tree96644b76f4c0c15d746bbf50deb31cf9998d6b04 /tester/covoar
parentGcovData: Convert to C++ (diff)
downloadrtems-tools-f04f5070dd217e0b23d0ca2e99902a3707d34927.tar.bz2
rtems-utils: Change data type definition
Remove typedef of ostream_guard and change datatype of ostream_guards to have the namespace in the variable declarations.
Diffstat (limited to 'tester/covoar')
-rw-r--r--tester/covoar/CoverageMapBase.cc4
-rw-r--r--tester/covoar/ReportsHtml.cc4
-rw-r--r--tester/covoar/ReportsText.cc4
3 files changed, 3 insertions, 9 deletions
diff --git a/tester/covoar/CoverageMapBase.cc b/tester/covoar/CoverageMapBase.cc
index 4de9307..334426b 100644
--- a/tester/covoar/CoverageMapBase.cc
+++ b/tester/covoar/CoverageMapBase.cc
@@ -16,8 +16,6 @@
#include "CoverageMapBase.h"
-typedef rtems::utils::ostream_guard ostream_guard;
-
namespace Coverage {
AddressInfo::AddressInfo ()
@@ -78,7 +76,7 @@ namespace Coverage {
void AddressRange::dump (std::ostream& out, bool show_slots) const
{
- ostream_guard old_state( out );
+ rtems::utils::ostream_guard old_state( out );
out << std::hex << std::setfill('0')
<< "Address range: low = " << std::setw(8) << lowAddress
diff --git a/tester/covoar/ReportsHtml.cc b/tester/covoar/ReportsHtml.cc
index 2ba3463..314f6a4 100644
--- a/tester/covoar/ReportsHtml.cc
+++ b/tester/covoar/ReportsHtml.cc
@@ -13,8 +13,6 @@
#include "DesiredSymbols.h"
#include "ObjdumpProcessor.h"
-typedef rtems::utils::ostream_guard ostream_guard;
-
#if 0
#define TABLE_HEADER_CLASS \
" table-autopage:10 table-page-number:pagenum table-page-count:pages "
@@ -745,7 +743,7 @@ namespace Coverage {
const SymbolInformation& symbolInfo
)
{
- ostream_guard old_state( report );
+ rtems::utils::ostream_guard old_state( report );
// Mark the background color different for odd and even lines.
if ( ( count % 2 ) != 0 ) {
diff --git a/tester/covoar/ReportsText.cc b/tester/covoar/ReportsText.cc
index da42dab..40558d8 100644
--- a/tester/covoar/ReportsText.cc
+++ b/tester/covoar/ReportsText.cc
@@ -11,8 +11,6 @@
#include <rtems-utils.h>
-typedef rtems::utils::ostream_guard ostream_guard;
-
namespace Coverage {
ReportsText::ReportsText(
@@ -162,7 +160,7 @@ bool ReportsText::PutCoverageLine(
{
const Coverage::Explanation* explanation;
- ostream_guard oldState( report );
+ rtems::utils::ostream_guard oldState( report );
report << "============================================" << std::endl
<< "Index : " << range.id << std::endl