Fix MSVC build by renaming a variable. PR5043

llvm-svn: 82762
This commit is contained in:
Benjamin Kramer 2009-09-25 11:47:22 +00:00
parent 25a3967ebb
commit 07fec3bbf5
1 changed files with 2 additions and 2 deletions

View File

@ -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<FunctionNoProtoType>()) {
ResultType = getFunctionNoProtoType(F->getResultType(), true);
if (const FunctionNoProtoType *FNPT = T->getAs<FunctionNoProtoType>()) {
ResultType = getFunctionNoProtoType(FNPT->getResultType(), true);
} else {
const FunctionProtoType *F = T->getAs<FunctionProtoType>();
ResultType