Revert r283102 (Typo in the phabricator link)

llvm-svn: 283104
This commit is contained in:
Alex Lorenz 2016-10-03 12:17:56 +00:00
parent 52ab136881
commit 4ff920bf1b
2 changed files with 0 additions and 19 deletions

View File

@ -1346,17 +1346,6 @@ void DeclPrinter::VisitUsingDecl(UsingDecl *D) {
if (D->hasTypename())
Out << "typename ";
D->getQualifier()->print(Out, Policy);
// Use the correct record name when the using declaration is used for
// inheriting constructors.
for (const auto *Shadow : D->shadows()) {
if (const auto *ConstructorShadow =
dyn_cast<ConstructorUsingShadowDecl>(Shadow)) {
assert(Shadow->getDeclContext() == ConstructorShadow->getDeclContext());
Out << *ConstructorShadow->getNominatedBaseClass();
return;
}
}
Out << *D;
}

View File

@ -43,14 +43,6 @@ template <class C, C...> const char *operator"" _suffix();
// CHECK: const char *PR23120 = operator""_suffix<char32_t, 66615>();
const char *PR23120 = U"𐐷"_suffix;
// PR28885
struct A {
A();
};
struct B : A {
using A::A; // CHECK: using A::A;
}; // CHECK-NEXT: };
// CHECK: ;
;
// CHECK-NOT: ;