summaryrefslogtreecommitdiffstats
path: root/clang/lib/Serialization/ASTCommon.cpp
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2013-10-23 02:17:46 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2013-10-23 02:17:46 +0000
commitfd8634a09de716f6de7b6699d6f4287056551525 (patch)
treed600133b3c296a3bd9256b843810c95921b2afd3 /clang/lib/Serialization/ASTCommon.cpp
parentc89e4ca3c181b907562afa3e88be74366cf65bd2 (diff)
downloadbcm5719-llvm-fd8634a09de716f6de7b6699d6f4287056551525.tar.gz
bcm5719-llvm-fd8634a09de716f6de7b6699d6f4287056551525.zip
Make UsingShadowDecls redeclarable. This fixes some visibility problems with
modules. With this fixed, I no longer see any test regressions in the libc++ test suite when enabling a single-module module.map for libc++ (other than issues with my system headers). llvm-svn: 193219
Diffstat (limited to 'clang/lib/Serialization/ASTCommon.cpp')
-rw-r--r--clang/lib/Serialization/ASTCommon.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Serialization/ASTCommon.cpp b/clang/lib/Serialization/ASTCommon.cpp
index 79bba0cb94f..a8176878dc4 100644
--- a/clang/lib/Serialization/ASTCommon.cpp
+++ b/clang/lib/Serialization/ASTCommon.cpp
@@ -165,6 +165,7 @@ bool serialization::isRedeclarableDeclKind(unsigned Kind) {
case Decl::CXXConstructor:
case Decl::CXXDestructor:
case Decl::CXXConversion:
+ case Decl::UsingShadow:
case Decl::Var:
case Decl::FunctionTemplate:
case Decl::ClassTemplate:
@@ -192,7 +193,6 @@ bool serialization::isRedeclarableDeclKind(unsigned Kind) {
case Decl::NonTypeTemplateParm:
case Decl::TemplateTemplateParm:
case Decl::Using:
- case Decl::UsingShadow:
case Decl::ObjCMethod:
case Decl::ObjCCategory:
case Decl::ObjCCategoryImpl:
OpenPOWER on IntegriCloud