Test commit access

llvm-svn: 320008
This commit is contained in:
Zhihao Yuan 2017-12-07 06:27:58 +00:00
parent 80cfdd6b56
commit 017542dd3e
1 changed files with 1 additions and 1 deletions

View File

@ -4295,7 +4295,7 @@ static TypeSourceInfo *GetFullTypeForDeclarator(TypeProcessingState &state,
<< T << D.getSourceRange(); << T << D.getSourceRange();
D.setInvalidType(true); D.setInvalidType(true);
} else if (D.getName().getKind() == } else if (D.getName().getKind() ==
UnqualifiedId::IK_DeductionGuideName) { UnqualifiedId::IK_DeductionGuideName) {
if (T != Context.DependentTy) { if (T != Context.DependentTy) {
S.Diag(D.getDeclSpec().getLocStart(), S.Diag(D.getDeclSpec().getLocStart(),
diag::err_deduction_guide_with_complex_decl) diag::err_deduction_guide_with_complex_decl)