From: Benjamin Kramer Date: Fri, 25 Sep 2009 11:47:22 +0000 (+0000) Subject: Fix MSVC build by renaming a variable. PR5043 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=bdbeeb50c5d182c591bd8797dc0485921df19e9d;p=clang Fix MSVC build by renaming a variable. PR5043 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@82762 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/AST/ASTContext.cpp b/lib/AST/ASTContext.cpp index 41e8d3604e..48d1ce90b6 100644 --- a/lib/AST/ASTContext.cpp +++ b/lib/AST/ASTContext.cpp @@ -1103,8 +1103,8 @@ QualType ASTContext::getNoReturnType(QualType T) { assert (T->isFunctionType() && "can't noreturn qualify non-pointer to function or block type"); - if (const FunctionNoProtoType *F = T->getAs()) { - ResultType = getFunctionNoProtoType(F->getResultType(), true); + if (const FunctionNoProtoType *FNPT = T->getAs()) { + ResultType = getFunctionNoProtoType(FNPT->getResultType(), true); } else { const FunctionProtoType *F = T->getAs(); ResultType