From 98fb9ee8212b115e65c488f43b7da683576cdc77 Mon Sep 17 00:00:00 2001 From: Fangrui Song Date: Mon, 15 Jan 2018 17:38:28 -0800 Subject: [PATCH] . --- src/project.cc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/project.cc b/src/project.cc index e2e19ab2..cc12de9e 100644 --- a/src/project.cc +++ b/src/project.cc @@ -479,9 +479,11 @@ Project::Entry Project::FindCompilationEntryForFile( Project::Entry result; result.is_inferred = true; result.filename = filename; - if (!best_entry) + if (!best_entry) { + // FIXME + result.args.push_back("clang++"); result.args.push_back(filename); - else { + } else { result.args = best_entry->args; // |best_entry| probably has its own path in the arguments. We need to remap