pull a nested conditional + comment out into its own variable,
no functionality change.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@67128 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Sema/SemaDecl.cpp b/lib/Sema/SemaDecl.cpp
index 7eedd0b..0b7c33f 100644
--- a/lib/Sema/SemaDecl.cpp
+++ b/lib/Sema/SemaDecl.cpp
@@ -1845,13 +1845,13 @@
 
     isVirtualOkay = (SC != FunctionDecl::Static);
   } else {
+    bool HasPrototype =
+       getLangOptions().CPlusPlus ||
+       (D.getNumTypeObjects() && D.getTypeObject(0).Fun.hasPrototype);
+    
     NewFD = FunctionDecl::Create(Context, DC,
                                  D.getIdentifierLoc(),
-                                 Name, R, SC, isInline, 
-                                 /*hasPrototype=*/
-                                   (getLangOptions().CPlusPlus ||
-                                    (D.getNumTypeObjects() &&
-                                     D.getTypeObject(0).Fun.hasPrototype)),
+                                 Name, R, SC, isInline, HasPrototype,
                                  // FIXME: Move to DeclGroup...
                                  D.getDeclSpec().getSourceRange().getBegin());
   }