[clang-tools-extra] r303177 - Added missing includes in clangd to fix the build.

Ilya Biryukov via cfe-commits cfe-commits at lists.llvm.org
Tue May 16 08:23:55 PDT 2017


Author: ibiryukov
Date: Tue May 16 10:23:55 2017
New Revision: 303177

URL: http://llvm.org/viewvc/llvm-project?rev=303177&view=rev
Log:
Added missing includes in clangd to fix the build.

This commit should fix buildbot failures.


Modified:
    clang-tools-extra/trunk/clangd/JSONRPCDispatcher.cpp
    clang-tools-extra/trunk/clangd/JSONRPCDispatcher.h

Modified: clang-tools-extra/trunk/clangd/JSONRPCDispatcher.cpp
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/clangd/JSONRPCDispatcher.cpp?rev=303177&r1=303176&r2=303177&view=diff
==============================================================================
--- clang-tools-extra/trunk/clangd/JSONRPCDispatcher.cpp (original)
+++ clang-tools-extra/trunk/clangd/JSONRPCDispatcher.cpp Tue May 16 10:23:55 2017
@@ -12,6 +12,8 @@
 #include "llvm/ADT/SmallString.h"
 #include "llvm/Support/SourceMgr.h"
 #include "llvm/Support/YAMLParser.h"
+#include <istream>
+
 using namespace clang;
 using namespace clangd;
 

Modified: clang-tools-extra/trunk/clangd/JSONRPCDispatcher.h
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/clangd/JSONRPCDispatcher.h?rev=303177&r1=303176&r2=303177&view=diff
==============================================================================
--- clang-tools-extra/trunk/clangd/JSONRPCDispatcher.h (original)
+++ clang-tools-extra/trunk/clangd/JSONRPCDispatcher.h Tue May 16 10:23:55 2017
@@ -13,6 +13,7 @@
 #include "clang/Basic/LLVM.h"
 #include "llvm/ADT/StringMap.h"
 #include "llvm/Support/YAMLParser.h"
+#include <iosfwd>
 #include <mutex>
 
 namespace clang {




More information about the cfe-commits mailing list