diff options
author | Nick Lewycky <nicholas@mxc.ca> | 2013-01-31 03:23:57 +0000 |
---|---|---|
committer | Nick Lewycky <nicholas@mxc.ca> | 2013-01-31 03:23:57 +0000 |
commit | f0f5616457e34d9183db2bd74341a2d1641d3054 (patch) | |
tree | a4ec1dac6c32eb7728a725b6d1d687c8474fecce /clang/lib/Sema/MultiplexExternalSemaSource.cpp | |
parent | 60bd4be17a08dae3f742b71a9e622408d4fecc1d (diff) | |
download | bcm5719-llvm-f0f5616457e34d9183db2bd74341a2d1641d3054.tar.gz bcm5719-llvm-f0f5616457e34d9183db2bd74341a2d1641d3054.zip |
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?
llvm-svn: 174034
Diffstat (limited to 'clang/lib/Sema/MultiplexExternalSemaSource.cpp')
-rw-r--r-- | clang/lib/Sema/MultiplexExternalSemaSource.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Sema/MultiplexExternalSemaSource.cpp b/clang/lib/Sema/MultiplexExternalSemaSource.cpp index 8df830aefff..609324d32d9 100644 --- a/clang/lib/Sema/MultiplexExternalSemaSource.cpp +++ b/clang/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); } |