Browse Source

Added missing return types to C/C++ autocomplete

merge-requests/365/head
eidheim 8 years ago
parent
commit
7c598b8a27
  1. 5
      src/source_clang.cc

5
src/source_clang.cc

@ -653,8 +653,11 @@ Source::ClangViewAutocomplete::ClangViewAutocomplete(const boost::filesystem::pa
text+=chunk_cstr.c_str;
}
}
if(match && !text.empty())
if(match && !text.empty()) {
if(!return_text.empty())
text+=return_text;
autocomplete.rows.emplace_back(std::move(text), result.get_brief_comment());
}
}
}
}

Loading…
Cancel
Save