Parse feature flags in compilation database
This commit is contained in:
parent
c6aae718bd
commit
336a00946d
2 changed files with 4 additions and 4 deletions
|
|
@ -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));
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue