[PATCH] D49253: [clangd] Fix category in clangd-vscode's package.json
Simon Marchi via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Jul 12 10:34:59 PDT 2018
simark updated this revision to Diff 155213.
simark added a comment.
- [clangd] JSONTracer: flush after writing event
Repository:
rCTE Clang Tools Extra
https://reviews.llvm.org/D49253
Files:
clangd/Trace.cpp
clangd/clients/clangd-vscode/package.json
Index: clangd/clients/clangd-vscode/package.json
===================================================================
--- clangd/clients/clangd-vscode/package.json
+++ clangd/clients/clangd-vscode/package.json
@@ -9,7 +9,7 @@
"vscode": "^1.18.0"
},
"categories": [
- "Languages",
+ "Programming Languages",
"Linters",
"Snippets"
],
Index: clangd/Trace.cpp
===================================================================
--- clangd/Trace.cpp
+++ clangd/Trace.cpp
@@ -151,6 +151,7 @@
Event["ph"] = Phase;
Out << Sep << formatv(JSONFormat, json::Value(std::move(Event)));
Sep = ",\n";
+ Out.flush();
}
// If we haven't already, emit metadata describing this thread.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D49253.155213.patch
Type: text/x-patch
Size: 748 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180712/4ab17328/attachment.bin>
More information about the cfe-commits
mailing list