From: Anastasia Stulova Date: Thu, 20 Nov 2014 17:57:27 +0000 (+0000) Subject: Testing commit access. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d9e938fa93aefde9abf837c205cbb8ddb1cc2386;p=clang Testing commit access. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@222438 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Sema/SemaType.cpp b/lib/Sema/SemaType.cpp index 8c2f917cfd..fcb9c723cb 100644 --- a/lib/Sema/SemaType.cpp +++ b/lib/Sema/SemaType.cpp @@ -1035,7 +1035,7 @@ static QualType ConvertDeclSpecToType(TypeProcessingState &state) { LSI->AutoTemplateParams.push_back(CorrespondingTemplateParam); // Replace the 'auto' in the function parameter with this invented // template type parameter. - Result = QualType(CorrespondingTemplateParam->getTypeForDecl(), 0); + Result = QualType(CorrespondingTemplateParam->getTypeForDecl(), 0); } else { Result = Context.getAutoType(QualType(), /*decltype(auto)*/false, false); }