diff options
author | Nikolai Kosjar <nikolai.kosjar@qt.io> | 2018-11-30 10:34:05 +0100 |
---|---|---|
committer | Nikolai Kosjar <nikolai.kosjar@qt.io> | 2018-12-03 12:58:31 +0000 |
commit | 0c38e3aea7bd0603cb8954b98c0c51fdacb4fdfc (patch) | |
tree | f88e76f86a8e10a3717de2a24388096c2ddf9cbf /src/plugins/cpptools/cpptoolsreuse.h | |
parent | ce9f503691dd943fb0f376a91b77b1cf4e1bbc9e (diff) | |
download | qt-creator-0c38e3aea7bd0603cb8954b98c0c51fdacb4fdfc.tar.gz |
Clang: Clean up CompilerOptionsBuilder
No behavior change.
* Remove virtual from methods that are not overridden
* Move constant member functions that do no access any members into
source file as static functions
* Remove QLatin1String where possible
* Make variable names a bit more consistent
* Other minor stuff
Change-Id: I34a582d5a468489e11365507b283e9aee157664f
Reviewed-by: Marco Bubke <marco.bubke@qt.io>
Reviewed-by: Ivan Donchevskii <ivan.donchevskii@qt.io>
Diffstat (limited to 'src/plugins/cpptools/cpptoolsreuse.h')
-rw-r--r-- | src/plugins/cpptools/cpptoolsreuse.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/cpptools/cpptoolsreuse.h b/src/plugins/cpptools/cpptoolsreuse.h index 505de40103..cb45fe8958 100644 --- a/src/plugins/cpptools/cpptoolsreuse.h +++ b/src/plugins/cpptools/cpptoolsreuse.h @@ -75,7 +75,7 @@ void CPPTOOLS_EXPORT switchHeaderSource(); class CppCodeModelSettings; QSharedPointer<CppCodeModelSettings> CPPTOOLS_EXPORT codeModelSettings(); -CompilerOptionsBuilder::PchUsage CPPTOOLS_EXPORT getPchUsage(); +UsePrecompiledHeaders CPPTOOLS_EXPORT getPchUsage(); int indexerFileSizeLimitInMb(); bool fileSizeExceedsLimit(const QFileInfo &fileInfo, int sizeLimitInMb); |