diff options
author | Chris Lattner <sabre@nondot.org> | 2010-11-23 07:51:02 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-11-23 07:51:02 +0000 |
commit | 3f5a9efb2df0d6728c0ea928704978f223dc1e08 (patch) | |
tree | 8ef8b8b7a88eb9ca38016446db6bd68ff27a004f /clang/tools/libclang/CIndexCodeCompletion.cpp | |
parent | 3c7cab1402304648b57d86d8e74d409fe7bd7112 (diff) | |
download | bcm5719-llvm-3f5a9efb2df0d6728c0ea928704978f223dc1e08.tar.gz bcm5719-llvm-3f5a9efb2df0d6728c0ea928704978f223dc1e08.zip |
give FileManager a 'FileSystemOptions' ivar, which will be used
to simplify a bunch of code in it. It should ultimately get inlined
into FileManager.
llvm-svn: 120007
Diffstat (limited to 'clang/tools/libclang/CIndexCodeCompletion.cpp')
-rw-r--r-- | clang/tools/libclang/CIndexCodeCompletion.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/clang/tools/libclang/CIndexCodeCompletion.cpp b/clang/tools/libclang/CIndexCodeCompletion.cpp index 01c855ecc22..60c9e19f41a 100644 --- a/clang/tools/libclang/CIndexCodeCompletion.cpp +++ b/clang/tools/libclang/CIndexCodeCompletion.cpp @@ -247,7 +247,8 @@ struct AllocatedCXCodeCompleteResults : public CXCodeCompleteResults { /// with the code-completion results. std::vector<llvm::sys::Path> TemporaryFiles; - /// \brief Temporary buffers that will be deleted once we have finished with the code-completion results. + /// \brief Temporary buffers that will be deleted once we have finished with + /// the code-completion results. llvm::SmallVector<const llvm::MemoryBuffer *, 1> TemporaryBuffers; }; @@ -261,6 +262,7 @@ AllocatedCXCodeCompleteResults::AllocatedCXCodeCompleteResults() : CXCodeCompleteResults(), Diag(new Diagnostic( llvm::IntrusiveRefCntPtr<DiagnosticIDs>(new DiagnosticIDs))), + FileMgr(FileSystemOpts), SourceMgr(*Diag, FileMgr, FileSystemOpts) { if (getenv("LIBCLANG_OBJTRACKING")) { ++CodeCompletionResultObjects; |