diff options
author | Richard Smith <richard-llvm@metafoo.co.uk> | 2013-10-23 02:17:46 +0000 |
---|---|---|
committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2013-10-23 02:17:46 +0000 |
commit | fd8634a09de716f6de7b6699d6f4287056551525 (patch) | |
tree | d600133b3c296a3bd9256b843810c95921b2afd3 /clang/lib/Serialization/ASTCommon.cpp | |
parent | c89e4ca3c181b907562afa3e88be74366cf65bd2 (diff) | |
download | bcm5719-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.cpp | 2 |
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: |