]> granicus.if.org Git - clang/commit
Make UsingShadowDecls redeclarable. This fixes some visibility problems with
authorRichard Smith <richard-llvm@metafoo.co.uk>
Wed, 23 Oct 2013 02:17:46 +0000 (02:17 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Wed, 23 Oct 2013 02:17:46 +0000 (02:17 +0000)
commitf06a2893bc9778857295c64ee32b4a899a338480
tree5febde51f676a5994f7768c8ccdd6732fee6fa69
parentb814a2ac581f7aa31aeef1abb8567ea123a13519
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).

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@193219 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/AST/DeclCXX.h
include/clang/Sema/Sema.h
lib/Sema/SemaDeclCXX.cpp
lib/Sema/SemaTemplateInstantiateDecl.cpp
lib/Serialization/ASTCommon.cpp
lib/Serialization/ASTReaderDecl.cpp
lib/Serialization/ASTWriterDecl.cpp
test/Modules/Inputs/module.map
test/Modules/Inputs/using-decl-a.h [new file with mode: 0644]
test/Modules/Inputs/using-decl-b.h [new file with mode: 0644]
test/Modules/using-decl.cpp [new file with mode: 0644]