[PATCH] D116352: [CodeCompletion] Signature help for template argument lists
Kadir Cetinkaya via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Jan 3 06:53:34 PST 2022
kadircet accepted this revision.
kadircet added a comment.
thanks! as discussed offline i think it's better to ignore function parameters for now.
================
Comment at: clang/lib/Sema/SemaCodeComplete.cpp:3781
+// If the template is for a function `bool foo<class>(int)`, then returns
+// `bool` and sets Suffix to `(int)`.
+static std::string templateResultType(const TemplateDecl *TD,
----------------
the comments around the suffix seems to be out-of-date (maybe mention it as a fixme?)
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D116352/new/
https://reviews.llvm.org/D116352
More information about the cfe-commits
mailing list