From: Vladimir Yakovlev Date: Tue, 8 Nov 2016 10:32:10 +0000 (+0000) Subject: Test commit of vbyakovl. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3f69420ef86a5dd5242ada3c96a31c7f4219fd23;p=clang Test commit of vbyakovl. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@286224 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Sema/SemaType.cpp b/lib/Sema/SemaType.cpp index 46cc0b9ac1..c8f4b68dd7 100644 --- a/lib/Sema/SemaType.cpp +++ b/lib/Sema/SemaType.cpp @@ -1128,7 +1128,7 @@ TypeResult Sema::actOnObjCTypeArgsAndProtocolQualifiers( ActualTypeArgInfos.clear(); break; } - + assert(TypeArgInfo && "No type source info?"); ActualTypeArgInfos.push_back(TypeArgInfo); } @@ -1145,7 +1145,7 @@ TypeResult Sema::actOnObjCTypeArgsAndProtocolQualifiers( if (Result == T) return BaseType; - + // Create source information for this type. TypeSourceInfo *ResultTInfo = Context.CreateTypeSourceInfo(Result); TypeLoc ResultTL = ResultTInfo->getTypeLoc();