forked from OSchip/llvm-project
parent
80cfdd6b56
commit
017542dd3e
|
@ -4295,7 +4295,7 @@ static TypeSourceInfo *GetFullTypeForDeclarator(TypeProcessingState &state,
|
|||
<< T << D.getSourceRange();
|
||||
D.setInvalidType(true);
|
||||
} else if (D.getName().getKind() ==
|
||||
UnqualifiedId::IK_DeductionGuideName) {
|
||||
UnqualifiedId::IK_DeductionGuideName) {
|
||||
if (T != Context.DependentTy) {
|
||||
S.Diag(D.getDeclSpec().getLocStart(),
|
||||
diag::err_deduction_guide_with_complex_decl)
|
||||
|
|
Loading…
Reference in New Issue