[cfe-commits] r82762 - /cfe/trunk/lib/AST/ASTContext.cpp

Benjamin Kramer benny.kra at googlemail.com
Fri Sep 25 04:47:23 PDT 2009


Author: d0k
Date: Fri Sep 25 06:47:22 2009
New Revision: 82762

URL: http://llvm.org/viewvc/llvm-project?rev=82762&view=rev
Log:
Fix MSVC build by renaming a variable. PR5043

Modified:
    cfe/trunk/lib/AST/ASTContext.cpp

Modified: cfe/trunk/lib/AST/ASTContext.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/AST/ASTContext.cpp?rev=82762&r1=82761&r2=82762&view=diff

==============================================================================
--- cfe/trunk/lib/AST/ASTContext.cpp (original)
+++ cfe/trunk/lib/AST/ASTContext.cpp Fri Sep 25 06:47:22 2009
@@ -1103,8 +1103,8 @@
     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





More information about the cfe-commits mailing list