summaryrefslogtreecommitdiffstats
path: root/tester
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2021-09-03 15:17:12 +1000
committerChris Johns <chrisj@rtems.org>2021-09-03 15:17:12 +1000
commit9d399df4ef0050e9c190b38217b0e5d27dd0be72 (patch)
treeedaf96b305da1e4d3660e5cf7337f3822a5be31d /tester
parenttester: Add Versal VCK190 eval board TFTP support (diff)
downloadrtems-tools-9d399df4ef0050e9c190b38217b0e5d27dd0be72.tar.bz2
tester/covoar: Fix clang warnings
Diffstat (limited to 'tester')
-rw-r--r--tester/covoar/ObjdumpProcessor.h5
-rw-r--r--tester/covoar/ReportsHtml.h56
-rw-r--r--tester/covoar/Target_aarch64.h4
3 files changed, 37 insertions, 28 deletions
diff --git a/tester/covoar/ObjdumpProcessor.h b/tester/covoar/ObjdumpProcessor.h
index ed36981..6a207dd 100644
--- a/tester/covoar/ObjdumpProcessor.h
+++ b/tester/covoar/ObjdumpProcessor.h
@@ -184,11 +184,6 @@ namespace Coverage {
);
/*!
- * This member variable is a buffer for input
- */
- char* inputBuffer_m;
-
- /*!
* This member variable contains the symbols to be analyzed
*/
DesiredSymbols& symbolsToAnalyze_m;
diff --git a/tester/covoar/ReportsHtml.h b/tester/covoar/ReportsHtml.h
index 406eefc..af9f19a 100644
--- a/tester/covoar/ReportsHtml.h
+++ b/tester/covoar/ReportsHtml.h
@@ -81,59 +81,67 @@ class ReportsHtml: public ReportsBase {
virtual void OpenAnnotatedFile(
const std::string& fileName,
std::ofstream& aFile
- );
+ ) override;
/* Inherit documentation from base class. */
virtual void OpenBranchFile(
const std::string& fileName,
bool hasBranches,
std::ofstream& aFile
- );
+ ) override;
/* Inherit documentation from base class. */
virtual void OpenCoverageFile(
const std::string& fileName,
std::ofstream& aFile
- );
+ ) override;
/* Inherit documentation from base class. */
- void OpenNoRangeFile(
+ virtual void OpenNoRangeFile(
const std::string& fileName,
std::ofstream& aFile
- );
+ ) override;
/* Inherit documentation from base class. */
virtual void OpenSizeFile(
const std::string& fileName,
std::ofstream& aFile
- );
+ ) override;
/* Inherit documentation from base class. */
virtual void OpenSymbolSummaryFile(
const std::string& fileName,
std::ofstream& aFile
- );
+ ) override;
/* Inherit documentation from base class. */
- virtual void CloseAnnotatedFile( std::ofstream& aFile );
+ virtual void CloseAnnotatedFile(
+ std::ofstream& aFile
+ ) override;
/* Inherit documentation from base class. */
virtual void CloseBranchFile(
std::ofstream& aFile,
bool hasBranches
- );
+ ) override;
/* Inherit documentation from base class. */
- virtual void CloseCoverageFile( std::ofstream& aFile );
+ virtual void CloseCoverageFile(
+ std::ofstream& aFile
+ ) override;
/* Inherit documentation from base class. */
void CloseNoRangeFile( std::ofstream& aFile );
/* Inherit documentation from base class. */
- virtual void CloseSizeFile( std::ofstream& aFile );
+ virtual void CloseSizeFile(
+ std::ofstream& aFile
+ ) override;
/* Inherit documentation from base class. */
- virtual void CloseSymbolSummaryFile( std::ofstream& aFile );
+ virtual void CloseSymbolSummaryFile(
+ std::ofstream& aFile
+ ) override;
/* Inherit documentation from base class. */
virtual void PutAnnotatedLine(
@@ -141,16 +149,22 @@ class ReportsHtml: public ReportsBase {
AnnotatedLineState_t state,
const std::string& line,
uint32_t id
- );
+ ) override;
/* Inherit documentation from base class. */
- virtual void AnnotatedStart( std::ofstream& aFile );
+ virtual void AnnotatedStart(
+ std::ofstream& aFile
+ ) override;
/* Inherit documentation from base class. */
- virtual void AnnotatedEnd( std::ofstream& aFile );
+ virtual void AnnotatedEnd(
+ std::ofstream& aFile
+ ) override;
/* Inherit documentation from base class. */
- virtual bool PutNoBranchInfo( std::ofstream& report );
+ virtual bool PutNoBranchInfo(
+ std::ofstream& report
+ ) override;
/* Inherit documentation from base class. */
virtual bool PutBranchEntry(
@@ -159,7 +173,7 @@ class ReportsHtml: public ReportsBase {
const std::string& symbolName,
const SymbolInformation& symbolInfo,
const CoverageRanges::coverageRange_t& range
- );
+ ) override;
/* Inherit documentation from base class. */
virtual void putCoverageNoRange(
@@ -167,7 +181,7 @@ class ReportsHtml: public ReportsBase {
std::ofstream& noRangeFile,
unsigned int number,
const std::string& symbol
- );
+ ) override;
/* Inherit documentation from base class. */
virtual bool PutCoverageLine(
@@ -176,7 +190,7 @@ class ReportsHtml: public ReportsBase {
const std::string& symbolName,
const SymbolInformation& symbolInfo,
const CoverageRanges::coverageRange_t& range
- );
+ ) override;
/* Inherit documentation from base class. */
virtual bool PutSizeLine(
@@ -184,7 +198,7 @@ class ReportsHtml: public ReportsBase {
unsigned int number,
const std::string& symbolName,
const CoverageRanges::coverageRange_t& range
- );
+ ) override;
/* Inherit documentation from base class. */
virtual bool PutSymbolSummaryLine(
@@ -192,7 +206,7 @@ class ReportsHtml: public ReportsBase {
unsigned int number,
const std::string& symbolName,
const SymbolInformation& symbolInfo
- );
+ ) override;
/* Inherit documentation from base class. */
virtual void OpenFile(
diff --git a/tester/covoar/Target_aarch64.h b/tester/covoar/Target_aarch64.h
index 08bd1fb..fb011e8 100644
--- a/tester/covoar/Target_aarch64.h
+++ b/tester/covoar/Target_aarch64.h
@@ -41,10 +41,10 @@ namespace Target {
*
* @return Returns TRUE if the instruction is a nop, FALSE otherwise.
*/
- bool isNopLine(
+ virtual bool isNopLine(
const char* const line,
int& size
- );
+ ) override;
/*!
* This method determines if the specified line from an