diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2016-08-16 21:17:51 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2016-08-16 21:17:51 +0000 |
commit | e7145dcb9f6563389ebbfa0572ef7589bdd94b1b (patch) | |
tree | b1b30c4998f6e9769784be87d402e4f8db13e34d /contrib/llvm/tools/clang/lib/Sema/MultiplexExternalSemaSource.cpp | |
parent | 3ca95b020283db6244cab92ede73c969253b6a31 (diff) | |
parent | 7fd6ba58d980ec2bf312a80444948501dd27d020 (diff) |
Notes
Diffstat (limited to 'contrib/llvm/tools/clang/lib/Sema/MultiplexExternalSemaSource.cpp')
-rw-r--r-- | contrib/llvm/tools/clang/lib/Sema/MultiplexExternalSemaSource.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/contrib/llvm/tools/clang/lib/Sema/MultiplexExternalSemaSource.cpp b/contrib/llvm/tools/clang/lib/Sema/MultiplexExternalSemaSource.cpp index 0f93421ac21b..eee4c00324ba 100644 --- a/contrib/llvm/tools/clang/lib/Sema/MultiplexExternalSemaSource.cpp +++ b/contrib/llvm/tools/clang/lib/Sema/MultiplexExternalSemaSource.cpp @@ -197,6 +197,11 @@ void MultiplexExternalSemaSource::ReadMethodPool(Selector Sel) { Sources[i]->ReadMethodPool(Sel); } +void MultiplexExternalSemaSource::updateOutOfDateSelector(Selector Sel) { + for(size_t i = 0; i < Sources.size(); ++i) + Sources[i]->updateOutOfDateSelector(Sel); +} + void MultiplexExternalSemaSource::ReadKnownNamespaces( SmallVectorImpl<NamespaceDecl*> &Namespaces){ for(size_t i = 0; i < Sources.size(); ++i) @@ -204,7 +209,7 @@ void MultiplexExternalSemaSource::ReadKnownNamespaces( } void MultiplexExternalSemaSource::ReadUndefinedButUsed( - llvm::DenseMap<NamedDecl*, SourceLocation> &Undefined){ + llvm::MapVector<NamedDecl *, SourceLocation> &Undefined) { for(size_t i = 0; i < Sources.size(); ++i) Sources[i]->ReadUndefinedButUsed(Undefined); } |