[cfe-dev] bug? in ast_matchers::dynamic::Parser::completeExpression

mobi phil mobi at mobiphil.com
Sat Dec 13 17:26:46 PST 2014


further hacking clang-query, not sure if it is a bug or lack of feature:
if I have a text like

varDecl(hasName("aa"

the completion should propose or automatically complete the parentheses, as
many as possible. For complex expressions that would be of a great help.
Not sure if this is a bug in LineEdit or the completeExpression or it is
just a lack of feature.

Something else: wonder how much sense it makes for others, but in the code
analysis I am doing it would be very useful to have strings (names)
completed as appropriate. Having the correct strings completed would also
give a hint if the expression written so far is what I want. Wold this be
difficult to implement?



rgrds,
mobi phil
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20141214/e1e20127/attachment.html>


More information about the cfe-dev mailing list