summaryrefslogtreecommitdiffstats
path: root/clang/lib/AST/DeclBase.cpp
diff options
context:
space:
mode:
authorGabor Marton <martongabesz@gmail.com>2018-06-25 16:25:30 +0000
committerGabor Marton <martongabesz@gmail.com>2018-06-25 16:25:30 +0000
commite4788178f5628d2e1117ba7bdf425aa000164ca6 (patch)
tree7117cfeddd3b71d6ce99d81aee6633d109e87253 /clang/lib/AST/DeclBase.cpp
parentb1cc4f52ff0fbec69064ad72a3527dc0406ac03b (diff)
downloadbcm5719-llvm-e4788178f5628d2e1117ba7bdf425aa000164ca6.tar.gz
bcm5719-llvm-e4788178f5628d2e1117ba7bdf425aa000164ca6.zip
Revert "[ASTImporter] Import the whole redecl chain of functions"
This reverts commit r335480. llvm-svn: 335491
Diffstat (limited to 'clang/lib/AST/DeclBase.cpp')
-rw-r--r--clang/lib/AST/DeclBase.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/clang/lib/AST/DeclBase.cpp b/clang/lib/AST/DeclBase.cpp
index 64fac22bace..7b7febdc410 100644
--- a/clang/lib/AST/DeclBase.cpp
+++ b/clang/lib/AST/DeclBase.cpp
@@ -1343,8 +1343,6 @@ bool DeclContext::decls_empty() const {
}
bool DeclContext::containsDecl(Decl *D) const {
- if (hasExternalLexicalStorage())
- LoadLexicalDeclsFromExternalStorage();
return (D->getLexicalDeclContext() == this &&
(D->NextInContextAndBits.getPointer() || D == LastDecl));
}
OpenPOWER on IntegriCloud