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/clangrefactoring | |
parent | ce9f503691dd943fb0f376a91b77b1cf4e1bbc9e (diff) |
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/clangrefactoring')
-rw-r--r-- | src/plugins/clangrefactoring/clangqueryprojectsfindfilter.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/plugins/clangrefactoring/clangqueryprojectsfindfilter.cpp b/src/plugins/clangrefactoring/clangqueryprojectsfindfilter.cpp index 77d4a9ef6e2..46a18376dd1 100644 --- a/src/plugins/clangrefactoring/clangqueryprojectsfindfilter.cpp +++ b/src/plugins/clangrefactoring/clangqueryprojectsfindfilter.cpp @@ -155,8 +155,7 @@ Utils::SmallStringVector ClangQueryProjectsFindFilter::compilerArguments(CppTool CompilerOptionsBuilder builder(*projectPart, CppTools::UseSystemHeader::Yes); - return Utils::SmallStringVector(builder.build(fileKind, - CompilerOptionsBuilder::PchUsage::None)); + return Utils::SmallStringVector(builder.build(fileKind, CppTools::UsePrecompiledHeaders::No)); } QWidget *ClangQueryProjectsFindFilter::widget() const |