mirror of
https://github.com/MaskRay/ccls.git
synced 2024-11-22 07:35:08 +00:00
.
This commit is contained in:
parent
22aa939d3d
commit
98fb9ee821
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user