Parse feature flags in compilation database

This commit is contained in:
Jonathan Müller 2018-12-03 12:20:32 +01:00
commit 336a00946d
2 changed files with 4 additions and 4 deletions

View file

@ -237,7 +237,7 @@ libclang_compile_config::libclang_compile_config(const libclang_compilation_data
else if (flag == "-std")
// standard
add_flag(std::move(flag) + "=" + std::move(args));
else if (flag == "-f" && (args == "ms-compatibility" || args == "ms-extensions"))
else if (flag == "-f")
// other options
add_flag(std::move(flag) + std::move(args));
});