Refactoring, use Settings::platformString()
This commit is contained in:
parent
864cef2fd2
commit
99b23012aa
|
@ -5637,8 +5637,7 @@ void Tokenizer::simplifyPlatformTypes()
|
||||||
}
|
}
|
||||||
|
|
||||||
if (_settings->isWindowsPlatform()) {
|
if (_settings->isWindowsPlatform()) {
|
||||||
std::string platform_type = _settings->platformType == Settings::Win32A ? "win32A" :
|
std::string platform_type(_settings->platformString());
|
||||||
_settings->platformType == Settings::Win32W ? "win32W" : "win64";
|
|
||||||
|
|
||||||
for (Token *tok = list.front(); tok; tok = tok->next()) {
|
for (Token *tok = list.front(); tok; tok = tok->next()) {
|
||||||
if (tok->tokType() != Token::eType && tok->tokType() != Token::eName)
|
if (tok->tokType() != Token::eType && tok->tokType() != Token::eName)
|
||||||
|
|
Loading…
Reference in New Issue