summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIlya Biryukov <ibiryukov@google.com>2017-05-16 15:23:55 +0000
committerIlya Biryukov <ibiryukov@google.com>2017-05-16 15:23:55 +0000
commit687b92a9934ffd21ffb4ccb31d4b95fa73c166c2 (patch)
tree2a5a560ef2e772451cf4da2f944ebedcfbd8a39b
parentc3c92cf2c76a81945424252b8ebf2d3f5afa2aab (diff)
downloadbcm5719-llvm-687b92a9934ffd21ffb4ccb31d4b95fa73c166c2.tar.gz
bcm5719-llvm-687b92a9934ffd21ffb4ccb31d4b95fa73c166c2.zip
Added missing includes in clangd to fix the build.
This commit should fix buildbot failures. llvm-svn: 303177
-rw-r--r--clang-tools-extra/clangd/JSONRPCDispatcher.cpp2
-rw-r--r--clang-tools-extra/clangd/JSONRPCDispatcher.h1
2 files changed, 3 insertions, 0 deletions
diff --git a/clang-tools-extra/clangd/JSONRPCDispatcher.cpp b/clang-tools-extra/clangd/JSONRPCDispatcher.cpp
index be6be770beb..5deb75aad31 100644
--- a/clang-tools-extra/clangd/JSONRPCDispatcher.cpp
+++ b/clang-tools-extra/clangd/JSONRPCDispatcher.cpp
@@ -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;
diff --git a/clang-tools-extra/clangd/JSONRPCDispatcher.h b/clang-tools-extra/clangd/JSONRPCDispatcher.h
index 13ad9c6fb56..349ac904ab6 100644
--- a/clang-tools-extra/clangd/JSONRPCDispatcher.h
+++ b/clang-tools-extra/clangd/JSONRPCDispatcher.h
@@ -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 {
OpenPOWER on IntegriCloud