summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorIlya Biryukov <ibiryukov@google.com>2017-11-16 16:25:18 +0000
committerIlya Biryukov <ibiryukov@google.com>2017-11-16 16:25:18 +0000
commit485ef4aa17c593f1b5dfe21709cb81b1dfb16bed (patch)
treeda19542f4d2685ea8ae2af891d4a780afdb6605d /test
parenta4debc338baadc1cf6f601a1ff1f21e726e9f82f (diff)
[clangd] Use in-memory preambles in clangd.
Reviewers: klimek, bkramer, sammccall Reviewed By: sammccall Subscribers: cfe-commits Differential Revision: https://reviews.llvm.org/D39843 git-svn-id: https://llvm.org/svn/llvm-project/clang-tools-extra/trunk@318412 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r--test/clangd/completion.test1
-rw-r--r--test/clangd/diagnostics-preamble.test1
2 files changed, 2 insertions, 0 deletions
diff --git a/test/clangd/completion.test b/test/clangd/completion.test
index 40d1b524..e4f818f9 100644
--- a/test/clangd/completion.test
+++ b/test/clangd/completion.test
@@ -1,4 +1,5 @@
# RUN: clangd -pretty -run-synchronously < %s | FileCheck -strict-whitespace %s
+# RUN: clangd -pretty -run-synchronously -pch-storage=memory < %s | FileCheck -strict-whitespace %s
# It is absolutely vital that this file has CRLF line endings.
#
Content-Length: 125
diff --git a/test/clangd/diagnostics-preamble.test b/test/clangd/diagnostics-preamble.test
index befb809e..6ba64a71 100644
--- a/test/clangd/diagnostics-preamble.test
+++ b/test/clangd/diagnostics-preamble.test
@@ -1,4 +1,5 @@
# RUN: clangd -pretty -run-synchronously < %s | FileCheck -strict-whitespace %s
+# RUN: clangd -pretty -run-synchronously -pch-storage=memory < %s | FileCheck -strict-whitespace %s
# It is absolutely vital that this file has CRLF line endings.
#
Content-Length: 125