[clangd] Fix flag name from r318327

llvm-svn: 318329
This commit is contained in:
Sam McCall 2017-11-15 20:10:14 +00:00
parent 25a7ba4524
commit b73593f2aa
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ tooling::CompileCommand getDefaultCompileCommand(PathRef File) {
// We force PC because PS4 will change --std from under us.
// FIXME: there must be a more principled way to do this!
std::vector<std::string> CommandLine{
"clang", "-fsyntax-only", "-triple=unknown-pc-unknown", File.str()};
"clang", "-fsyntax-only", "-target=unknown-pc-unknown", File.str()};
return tooling::CompileCommand(llvm::sys::path::parent_path(File),
llvm::sys::path::filename(File), CommandLine,
/*Output=*/"");