summaryrefslogtreecommitdiffstats
path: root/clang-tools-extra/clangd/CodeComplete.cpp
diff options
context:
space:
mode:
authorSam McCall <sam.mccall@gmail.com>2019-09-04 07:35:00 +0000
committerSam McCall <sam.mccall@gmail.com>2019-09-04 07:35:00 +0000
commitcf3a585fff0788d6b5b6c3564e60d23199e3e3c4 (patch)
treee75406c8f9a76309777fa767f2b66bf8b48b397a /clang-tools-extra/clangd/CodeComplete.cpp
parent37f91c32186a3d0d4e77f52d4969230b529ad155 (diff)
downloadbcm5719-llvm-cf3a585fff0788d6b5b6c3564e60d23199e3e3c4.tar.gz
bcm5719-llvm-cf3a585fff0788d6b5b6c3564e60d23199e3e3c4.zip
[clangd] Split Preamble.h out of ClangdUnit.h. NFC
Summary: Add comment describing use of preamble in clangd. Remove deps on ClangdUnit.h where possible. Subscribers: mgorny, ilya-biryukov, javed.absar, MaskRay, jkorous, mgrang, arphaman, kadircet, cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D67117 llvm-svn: 370843
Diffstat (limited to 'clang-tools-extra/clangd/CodeComplete.cpp')
-rw-r--r--clang-tools-extra/clangd/CodeComplete.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang-tools-extra/clangd/CodeComplete.cpp b/clang-tools-extra/clangd/CodeComplete.cpp
index 045320fc543..434062097f6 100644
--- a/clang-tools-extra/clangd/CodeComplete.cpp
+++ b/clang-tools-extra/clangd/CodeComplete.cpp
@@ -19,7 +19,6 @@
#include "CodeComplete.h"
#include "AST.h"
-#include "ClangdUnit.h"
#include "CodeCompletionStrings.h"
#include "Compiler.h"
#include "Diagnostics.h"
@@ -28,6 +27,7 @@
#include "FuzzyMatch.h"
#include "Headers.h"
#include "Logger.h"
+#include "Preamble.h"
#include "Protocol.h"
#include "Quality.h"
#include "SourceCode.h"
OpenPOWER on IntegriCloud