summaryrefslogtreecommitdiff
path: root/lib/Serialization/ASTWriterDecl.cpp
diff options
context:
space:
mode:
authorAaron Ballman <aaron@aaronballman.com>2014-03-21 15:22:56 +0000
committerAaron Ballman <aaron@aaronballman.com>2014-03-21 15:22:56 +0000
commitacd5f2c294a67ed9f57fcfa017f417feb3540f01 (patch)
tree468cc9363cdaa1ded004832b0f04b79f8fbb974d /lib/Serialization/ASTWriterDecl.cpp
parent4ae1fe122546c68b65280beb5ea5cef7df7f5faf (diff)
downloadclang-acd5f2c294a67ed9f57fcfa017f417feb3540f01.tar.gz
Fixing code that doesn't compile in MSVC 2012 (but does in MSVC 2013) from r204417 and related commits.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@204471 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Serialization/ASTWriterDecl.cpp')
-rw-r--r--lib/Serialization/ASTWriterDecl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Serialization/ASTWriterDecl.cpp b/lib/Serialization/ASTWriterDecl.cpp
index b8599dcaeb..7ee4e31978 100644
--- a/lib/Serialization/ASTWriterDecl.cpp
+++ b/lib/Serialization/ASTWriterDecl.cpp
@@ -896,7 +896,7 @@ void ASTDeclWriter::VisitNamespaceDecl(NamespaceDecl *D) {
D->getParent()->getRedeclContext()->getPrimaryContext());
if (Parent->isFromASTFile() || isa<TranslationUnitDecl>(Parent)) {
Writer.DeclUpdates[Parent].push_back(
- {UPD_CXX_ADDED_ANONYMOUS_NAMESPACE, D});
+ ASTWriter::DeclUpdate(UPD_CXX_ADDED_ANONYMOUS_NAMESPACE, D));
}
}
}