summaryrefslogtreecommitdiffstats
path: root/tester/covoar/ReportsBase.h
diff options
context:
space:
mode:
authorAlex White <alex.white@oarcorp.com>2021-04-05 11:29:25 -0500
committerJoel Sherrill <joel@rtems.org>2021-04-07 10:32:31 -0500
commitde185fe1a97d9640810d9e882cae511f512bc992 (patch)
treec5cfce20b76a58086c71c8a39e1df1d46cb0f064 /tester/covoar/ReportsBase.h
parentcovoar: Eliminate tabs (diff)
downloadrtems-tools-de185fe1a97d9640810d9e882cae511f512bc992.tar.bz2
covoar: Use range-based for loops in ReportsBase
Some of the loops in the ReportsBase::Write* methods contained both regular and range-based for loops. This changes them to use only range- based for loops. Closes #4374
Diffstat (limited to '')
-rw-r--r--tester/covoar/ReportsBase.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/tester/covoar/ReportsBase.h b/tester/covoar/ReportsBase.h
index 5eff76c..ab8f8dd 100644
--- a/tester/covoar/ReportsBase.h
+++ b/tester/covoar/ReportsBase.h
@@ -328,14 +328,14 @@ class ReportsBase {
* @param[in] number identifies the line number.
* @param[in] symbolName is the symbol's name.
* @param[in] symbolInfo is the symbol's information.
- * @param[in] rangePtr is a pointer to the range information.
+ * @param[in] range is the range information.
*/
virtual bool PutBranchEntry(
FILE* report,
unsigned int number,
const std::string& symbolName,
const SymbolInformation& symbolInfo,
- Coverage::CoverageRanges::ranges_t::iterator rangePtr
+ const CoverageRanges::coverageRange_t& range
)=0;
/*!
@@ -360,14 +360,14 @@ class ReportsBase {
* @param[in] number identifies the line number.
* @param[in] symbolName is the symbol's name.
* @param[in] symbolInfo is the symbol's information.
- * @param[in] ritr is a iterator to the range information.
+ * @param[in] range is the range information.
*/
virtual bool PutCoverageLine(
FILE* report,
unsigned int number,
const std::string& symbolName,
const SymbolInformation& symbolInfo,
- Coverage::CoverageRanges::ranges_t::iterator ritr
+ const CoverageRanges::coverageRange_t& range
)=0;
/*!
@@ -376,13 +376,13 @@ class ReportsBase {
* @param[in] report identifies the size report file name
* @param[in] number identifies the line number.
* @param[in] symbolName is the symbol's name.
- * @param[in] range is a iterator to the range information.
+ * @param[in] range is the range information.
*/
virtual bool PutSizeLine(
FILE* report,
unsigned int number,
const std::string& symbolName,
- Coverage::CoverageRanges::ranges_t::iterator range
+ const CoverageRanges::coverageRange_t& range
)=0;
/*!