mirror of
https://github.com/MaskRay/ccls.git
synced 2025-02-16 21:58:08 +00:00
.
This commit is contained in:
parent
22aa939d3d
commit
98fb9ee821
@ -479,9 +479,11 @@ Project::Entry Project::FindCompilationEntryForFile(
|
|||||||
Project::Entry result;
|
Project::Entry result;
|
||||||
result.is_inferred = true;
|
result.is_inferred = true;
|
||||||
result.filename = filename;
|
result.filename = filename;
|
||||||
if (!best_entry)
|
if (!best_entry) {
|
||||||
|
// FIXME
|
||||||
|
result.args.push_back("clang++");
|
||||||
result.args.push_back(filename);
|
result.args.push_back(filename);
|
||||||
else {
|
} else {
|
||||||
result.args = best_entry->args;
|
result.args = best_entry->args;
|
||||||
|
|
||||||
// |best_entry| probably has its own path in the arguments. We need to remap
|
// |best_entry| probably has its own path in the arguments. We need to remap
|
||||||
|
Loading…
Reference in New Issue
Block a user