From bdbeeb50c5d182c591bd8797dc0485921df19e9d Mon Sep 17 00:00:00 2001 From: Benjamin Kramer Date: Fri, 25 Sep 2009 11:47:22 +0000 Subject: [PATCH] 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 --- lib/AST/ASTContext.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.50.1