diff options
author | Gabor Marton <martongabesz@gmail.com> | 2018-06-25 16:25:30 +0000 |
---|---|---|
committer | Gabor Marton <martongabesz@gmail.com> | 2018-06-25 16:25:30 +0000 |
commit | e4788178f5628d2e1117ba7bdf425aa000164ca6 (patch) | |
tree | 7117cfeddd3b71d6ce99d81aee6633d109e87253 /clang/lib/AST/DeclBase.cpp | |
parent | b1cc4f52ff0fbec69064ad72a3527dc0406ac03b (diff) | |
download | bcm5719-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.cpp | 2 |
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)); } |