mirror of
https://github.com/intel/llvm.git
synced 2026-01-20 01:58:44 +08:00
Fix Linux build.
llvm-svn: 274594
This commit is contained in:
@@ -121,7 +121,7 @@ Properties::IsSettingExperimental(const char *setting)
|
||||
return false;
|
||||
|
||||
const char *experimental = GetExperimentalSettingsName();
|
||||
char *dot_pos = strchr(setting, '.');
|
||||
auto dot_pos = strchr(setting, '.');
|
||||
if (dot_pos == nullptr)
|
||||
return strcmp(experimental, setting) == 0;
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user