diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2009-09-25 11:47:22 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2009-09-25 11:47:22 +0000 |
commit | bdbeeb50c5d182c591bd8797dc0485921df19e9d (patch) | |
tree | 4e71f89ed26f07db236dc88fd63f7856e6bf4848 /lib/AST/ASTContext.cpp | |
parent | 0ed093069ae9b000278a2df01f372438d9c63ec1 (diff) |
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
Diffstat (limited to 'lib/AST/ASTContext.cpp')
-rw-r--r-- | lib/AST/ASTContext.cpp | 4 |
1 files 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<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 |