[cfe-dev] autocompletion with clang-query

Manuel Klimek via cfe-dev cfe-dev at lists.llvm.org
Wed Nov 29 00:36:35 PST 2017


You'll need libedit.
$ grep HAVE_LIBEDIT CMakeCache.txt
needs to show that it's set to 1.

On Tue, Nov 28, 2017 at 11:54 PM Maurizio Vitale via cfe-dev <
cfe-dev at lists.llvm.org> wrote:

> Hello,
>   I swear I've seen a talk on youtube showing autocompletion in
> clang-query.
> I've quickly looked at the code and I don't see any evidence of that
> functionality, but I've only looked for GNU readline. For sure my binary
> doesn't have history/autocompletion. Did I dream this feature?
> I get history by wrapping clang-query with rlwrap, but auto-completion
> would be cool.
>
> Thanks,
>
>   Maurizio
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20171129/e7108471/attachment.html>


More information about the cfe-dev mailing list