Use c++14 by default if no language is specified.

This commit is contained in:
Jacob Dufault 2018-01-07 13:37:40 -08:00
parent ab41e0353c
commit 2e20c8b655

View File

@ -153,7 +153,7 @@ Project::Entry GetCompilationEntryFromCompileCommandEntry(
if (*source_file_type == "c")
result.args.push_back("-std=gnu11");
else if (*source_file_type == "c++")
result.args.push_back("-std=c++11");
result.args.push_back("-std=c++14");
}
}