summaryrefslogtreecommitdiff
path: root/clang/include/clang/Frontend/ASTUnit.h
diff options
context:
space:
mode:
Diffstat (limited to 'clang/include/clang/Frontend/ASTUnit.h')
-rw-r--r--clang/include/clang/Frontend/ASTUnit.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/include/clang/Frontend/ASTUnit.h b/clang/include/clang/Frontend/ASTUnit.h
index a36655150d4ec..50ab86ebad972 100644
--- a/clang/include/clang/Frontend/ASTUnit.h
+++ b/clang/include/clang/Frontend/ASTUnit.h
@@ -172,7 +172,7 @@ private:
/// Sorted (by file offset) vector of pairs of file offset/Decl.
using LocDeclsTy = SmallVector<std::pair<unsigned, Decl *>, 64>;
- using FileDeclsTy = llvm::DenseMap<FileID, LocDeclsTy *>;
+ using FileDeclsTy = llvm::DenseMap<FileID, std::unique_ptr<LocDeclsTy>>;
/// Map from FileID to the file-level declarations that it contains.
/// The files and decls are only local (and non-preamble) ones.