Autotools: Modernize

* Use pragma once
* Make sure overrides are everywhere
* Clean up code here and there
* Remove useless code from initializer lists

Change-Id: I9c285a803ea36cb32d14b3335757fd4b57f27d02
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
Tobias Hunger
2016-02-03 17:21:12 +01:00
parent 9b3016c2e4
commit 063b9775a9
26 changed files with 83 additions and 198 deletions

View File

@@ -25,8 +25,7 @@
**
****************************************************************************/
#ifndef MAKEFILEPARSER_H
#define MAKEFILEPARSER_H
#pragma once
#include <QMutex>
#include <QStringList>
@@ -258,10 +257,9 @@ private:
*/
bool maybeParseCPPFlag(const QString &term);
private:
bool m_success; ///< Return value for MakefileParser::parse().
bool m_success = false; ///< Return value for MakefileParser::parse().
bool m_cancel; ///< True, if the parsing should be cancelled.
bool m_cancel = false; ///< True, if the parsing should be cancelled.
mutable QMutex m_mutex; ///< Mutex to protect m_cancel.
QString m_makefile; ///< Filename of the makefile
@@ -280,6 +278,3 @@ private:
} // namespace Internal
} // namespace AutotoolsProjectManager
#endif // MAKEFILEPARSER_H