[PATCH] D50726: [clangd] Show function documentation in sigHelp

Eric Liu via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Aug 16 05:00:21 PDT 2018


ioeric added inline comments.


================
Comment at: clangd/CodeCompletionStrings.cpp:81
+std::string
+getDocComment(const ASTContext &Ctx,
+              const CodeCompleteConsumer::OverloadCandidate &Overload,
----------------
The function doesn't seem to carry its weight, and the difference from the other overload is a bit subtle. Maybe we could expose `getDeclComent` instead?


Repository:
  rCTE Clang Tools Extra

https://reviews.llvm.org/D50726





More information about the cfe-commits mailing list