Fix cppcheck project import for Clang parser setting

This commit is contained in:
Daniel Marjamäki 2020-02-02 12:15:23 +01:00
parent 6a2312087c
commit 216698c164
1 changed files with 2 additions and 1 deletions

View File

@ -1082,6 +1082,7 @@ bool ImportProject::importCppcheckGuiProject(std::istream &istr, Settings *setti
settings->userDefines = temp.userDefines; settings->userDefines = temp.userDefines;
settings->userUndefs = temp.userUndefs; settings->userUndefs = temp.userUndefs;
settings->addons = temp.addons; settings->addons = temp.addons;
settings->clang = temp.clang;
settings->clangTidy = temp.clangTidy; settings->clangTidy = temp.clangTidy;
for (const std::string &p : paths) for (const std::string &p : paths)
@ -1127,4 +1128,4 @@ void ImportProject::selectOneVsConfig(Settings::PlatformType platform)
std::list<std::string> ImportProject::getVSConfigs() std::list<std::string> ImportProject::getVSConfigs()
{ {
return std::list<std::string> (mAllVSConfigs.begin(), mAllVSConfigs.end()); return std::list<std::string> (mAllVSConfigs.begin(), mAllVSConfigs.end());
} }