forked from qt-creator/qt-creator
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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user