First batch of adding SAL_OVERRRIDE to overriding function declarations

...mostly done with a rewriting Clang plugin, with just some manual tweaking
necessary to fix poor macro usage.

Change-Id: I71fa20213e86be10de332ece0aa273239df7b61a
This commit is contained in:
Stephan Bergmann
2014-03-26 16:37:00 +01:00
parent 8757bea2e8
commit 70cc2b191b
2343 changed files with 27167 additions and 27143 deletions

View File

@@ -79,12 +79,12 @@ class TimingListener
, private boost::noncopyable
{
public:
void startTest( CppUnit::Test *)
void startTest( CppUnit::Test *) SAL_OVERRIDE
{
m_nStartTime = osl_getGlobalTimer();
}
void endTest( CppUnit::Test *test )
void endTest( CppUnit::Test *test ) SAL_OVERRIDE
{
sal_uInt32 nEndTime = osl_getGlobalTimer();
std::cout << test->getName() << ": " << nEndTime-m_nStartTime
@@ -155,7 +155,7 @@ public:
CppUnit::CompilerOutputter(&collector, CppUnit::stdCErr()).write();
return collector.wasSuccessful();
}
virtual bool operator()() const
virtual bool operator()() const SAL_OVERRIDE
{
return run();
}