forked from OSchip/llvm-project
parent
8458405a36
commit
e47191cfe1
|
@ -3235,7 +3235,7 @@ Decl *Sema::ActOnConversionDeclarator(CXXConversionDecl *Conversion) {
|
|||
ConvType = ConvTypeRef->getPointeeType();
|
||||
if (Conversion->getTemplateSpecializationKind() != TSK_Undeclared &&
|
||||
Conversion->getTemplateSpecializationKind() != TSK_ExplicitSpecialization)
|
||||
/* Suppress disanogstics for instantiations. */;
|
||||
/* Suppress diagnostics for instantiations. */;
|
||||
else if (ConvType->isRecordType()) {
|
||||
ConvType = Context.getCanonicalType(ConvType).getUnqualifiedType();
|
||||
if (ConvType == ClassType)
|
||||
|
|
Loading…
Reference in New Issue