Fangrui Song

Results 147 comments of Fangrui Song

+1 On Mon, Aug 20, 2018, 17:52 Anciety wrote: > Hi, iromise. > > I'd like to help with some English version translation though, but I truly > don't want...

[cquery](https://github.com/jacobdufault/cquery/) supports the command line option `--enable-comments' now (experimental and subject to change). `textDocument/hover` seems fine in VSCode because they use a popup window. But for Emacs and Neovim, one-line...

呃……折腾了 https://github.com/MaskRay/webqqircd

@tusooa 好久不见 webqq好多问题啊 WebQQ不支持发送图片,也无法获悉别人发送了图片 消息发送后不知道成功与否,mq.model.chat中sendMsg(h)的onSuccess为空函数 无法获知群/讨论组信息变化(如成员变化等)mq.model.chat中addGroup(x)只判断群/讨论组存在与否,不判断信息变化 看不到WebQQ会话内新加入的群/讨论组友的消息 另外自己发送的私信似乎在对方没有回复前,手机客户端上看不到。 还有个问题是我找不到一个稳定运行 w.qq.com 的服务器 T_T 都10分钟左右就会`身份验证失效,请重新登录` (见 mq.js),页面顶部显示`很努力地重连了, 还是失败了.` 另外最近的 `http://pub.idqqimg.com/smartqq/js/mq.js?t=20161220` 是未 uglify 的,可读性比较强。

好在qq用得很少……几乎已经不看了,不过微信还得折腾 现在的方案是放在VPS上 https://maskray.me/blog/2016-07-06-wechatircd-webqqircd-without-scanning-qrcode-daily 我后来又添加了` --logger-mask '/home/ray/irclogs/wechatircd/$channel/%%Y-%%m-%%d.log'`在wechatircd服务器端记录日志,以免IRC客户端不用时漏掉。

You get this diagnostic from https://github.com/MaskRay/ccls/blob/050a16c3d7c524176df9dae02f8d2f27773a15da/src/sema_manager.cc#L448 ```cpp // Drop older requests if we're not buffering. while (g_config->completion.dropOldRequests && !manager->comp_tasks.isEmpty()) { manager->on_dropped_(task->id); task->consumer.reset(); task->on_complete(nullptr); task = manager->comp_tasks.dequeue(); if (pipeline::g_quit.load(std::memory_order_relaxed)) break; }...

It is available as `clang::HeaderSearchOptions::UserEntries` https://github.com/llvm-mirror/clang/tree/master/include/clang/Lex/HeaderSearchOptions.h#L102 But it isn't exposed as a libclang API. `g++/clang++ -v -E -x c++` is the best for a libclang based tool.

It would be hard. As you may probably end up replicating lots of C++ types in libclang counterparts. I am unclear if this kind of change will be accepted by...

The Python binding wraps libclang APIs: * `clang_codeCompleteAt` * declaration (if the definition is in another translation unit) or definition: `clang_getCursorDefinition`