From 216698c164b42139093550ba960396589013da8c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Sun, 2 Feb 2020 12:15:23 +0100 Subject: [PATCH] Fix cppcheck project import for Clang parser setting --- lib/importproject.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/importproject.cpp b/lib/importproject.cpp index 29f38e856..51d593808 100644 --- a/lib/importproject.cpp +++ b/lib/importproject.cpp @@ -1082,6 +1082,7 @@ bool ImportProject::importCppcheckGuiProject(std::istream &istr, Settings *setti settings->userDefines = temp.userDefines; settings->userUndefs = temp.userUndefs; settings->addons = temp.addons; + settings->clang = temp.clang; settings->clangTidy = temp.clangTidy; for (const std::string &p : paths) @@ -1127,4 +1128,4 @@ void ImportProject::selectOneVsConfig(Settings::PlatformType platform) std::list ImportProject::getVSConfigs() { return std::list (mAllVSConfigs.begin(), mAllVSConfigs.end()); -} \ No newline at end of file +}