Fix cppcheck project import for Clang parser setting
This commit is contained in:
parent
6a2312087c
commit
216698c164
|
@ -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());
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue