[PATCH] D29886: [clangd] Wire up ASTUnit and publish diagnostics with it.

Manuel Klimek via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Feb 15 07:00:05 PST 2017


klimek accepted this revision.
klimek added a comment.
This revision is now accepted and ready to land.

lg



================
Comment at: clangd/ASTManager.cpp:138-139
+  // Currently we discard all pending requests and just enqueue the latest one.
+  while (!RequestQueue.empty())
+    RequestQueue.pop();
+  RequestQueue.push(Uri);
----------------
deque has resize *ducks and runs*


https://reviews.llvm.org/D29886





More information about the cfe-commits mailing list