aboutsummaryrefslogtreecommitdiff
path: root/include/clang/Frontend/ASTUnit.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/clang/Frontend/ASTUnit.h')
-rw-r--r--include/clang/Frontend/ASTUnit.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/include/clang/Frontend/ASTUnit.h b/include/clang/Frontend/ASTUnit.h
index 6ee3e85fef..b1eb0da248 100644
--- a/include/clang/Frontend/ASTUnit.h
+++ b/include/clang/Frontend/ASTUnit.h
@@ -288,11 +288,8 @@ public:
}
private:
- /// \brief Allocator used to store temporary code completion results.
- llvm::BumpPtrAllocator CompletionAllocator;
-
/// \brief Allocator used to store cached code completions.
- llvm::BumpPtrAllocator CachedCompletionAllocator;
+ CodeCompletionAllocator CachedCompletionAllocator;
/// \brief The set of cached code-completion results.
std::vector<CachedCodeCompletionResult> CachedCompletionResults;