aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Sema/MultiplexExternalSemaSource.cpp
diff options
context:
space:
mode:
authorHaowei Wu <haowei@google.com>2024-12-06 10:33:57 -0800
committerHaowei Wu <haowei@google.com>2024-12-06 10:33:57 -0800
commit12bdeba76eef1c7adf004a280036a7fb690ba573 (patch)
tree1260dc624e9ab7c36da2d65a48f2868886a4984d /clang/lib/Sema/MultiplexExternalSemaSource.cpp
parent4a44e4b192db0bb38d3eb7ff20c767e2c747d745 (diff)
downloadllvm-12bdeba76eef1c7adf004a280036a7fb690ba573.zip
llvm-12bdeba76eef1c7adf004a280036a7fb690ba573.tar.gz
llvm-12bdeba76eef1c7adf004a280036a7fb690ba573.tar.bz2
Revert "[Serialization] Support load lazy specialization lazily"
This reverts commit b5bd19211118c6d43bc525a4e3fb65d2c750d61e. It brokes multiple llvm bots including clang-x64-windows-msvc
Diffstat (limited to 'clang/lib/Sema/MultiplexExternalSemaSource.cpp')
-rw-r--r--clang/lib/Sema/MultiplexExternalSemaSource.cpp17
1 files changed, 0 insertions, 17 deletions
diff --git a/clang/lib/Sema/MultiplexExternalSemaSource.cpp b/clang/lib/Sema/MultiplexExternalSemaSource.cpp
index 5494426..cd44483 100644
--- a/clang/lib/Sema/MultiplexExternalSemaSource.cpp
+++ b/clang/lib/Sema/MultiplexExternalSemaSource.cpp
@@ -115,23 +115,6 @@ FindExternalVisibleDeclsByName(const DeclContext *DC, DeclarationName Name) {
return AnyDeclsFound;
}
-bool MultiplexExternalSemaSource::LoadExternalSpecializations(
- const Decl *D, bool OnlyPartial) {
- bool Loaded = false;
- for (size_t i = 0; i < Sources.size(); ++i)
- Loaded |= Sources[i]->LoadExternalSpecializations(D, OnlyPartial);
- return Loaded;
-}
-
-bool MultiplexExternalSemaSource::LoadExternalSpecializations(
- const Decl *D, ArrayRef<TemplateArgument> TemplateArgs) {
- bool AnyNewSpecsLoaded = false;
- for (size_t i = 0; i < Sources.size(); ++i)
- AnyNewSpecsLoaded |=
- Sources[i]->LoadExternalSpecializations(D, TemplateArgs);
- return AnyNewSpecsLoaded;
-}
-
void MultiplexExternalSemaSource::completeVisibleDeclsMap(const DeclContext *DC){
for(size_t i = 0; i < Sources.size(); ++i)
Sources[i]->completeVisibleDeclsMap(DC);