summaryrefslogtreecommitdiff
path: root/lib/Sema/MultiplexExternalSemaSource.cpp
diff options
context:
space:
mode:
authorNick Lewycky <nicholas@mxc.ca>2013-01-31 03:23:57 +0000
committerNick Lewycky <nicholas@mxc.ca>2013-01-31 03:23:57 +0000
commit995e26b0523ac8e3b6199a509b871b81fa5df6ee (patch)
tree42600caca2fde2e41f41eb3fc9dfffb575128f2a /lib/Sema/MultiplexExternalSemaSource.cpp
parent869709c06eefd1d756ae4290646d4412103697bd (diff)
downloadclang-995e26b0523ac8e3b6199a509b871b81fa5df6ee.tar.gz
Remove elements from Sema.UndefinedInternals as functions are defined. Also
filter the elements before emitting them into a PCH. No user-visible functionality change, except that PCH files may be smaller? git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@174034 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/MultiplexExternalSemaSource.cpp')
-rw-r--r--lib/Sema/MultiplexExternalSemaSource.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Sema/MultiplexExternalSemaSource.cpp b/lib/Sema/MultiplexExternalSemaSource.cpp
index 8df830aeff..609324d32d 100644
--- a/lib/Sema/MultiplexExternalSemaSource.cpp
+++ b/lib/Sema/MultiplexExternalSemaSource.cpp
@@ -202,7 +202,7 @@ void MultiplexExternalSemaSource::ReadKnownNamespaces(
}
void MultiplexExternalSemaSource::ReadUndefinedInternals(
- llvm::MapVector<NamedDecl*, SourceLocation> &Undefined){
+ llvm::DenseMap<NamedDecl*, SourceLocation> &Undefined){
for(size_t i = 0; i < Sources.size(); ++i)
Sources[i]->ReadUndefinedInternals(Undefined);
}