minor refactoring. No change otherwise.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@78582 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/CodeGen/CGCXX.cpp b/lib/CodeGen/CGCXX.cpp
index 8f6cfc0..417dcf7 100644
--- a/lib/CodeGen/CGCXX.cpp
+++ b/lib/CodeGen/CGCXX.cpp
@@ -791,7 +791,18 @@
              Callee, CallArgs, BaseCopyCtor);
   }
 }
-  
+
+/// SynthesizeDefaultConstructor - synthesize a default constructor
+void 
+CodeGenFunction::SynthesizeDefaultConstructor(const CXXConstructorDecl *CD,
+                                              const FunctionDecl *FD,
+                                              llvm::Function *Fn,
+                                              const FunctionArgList &Args) {
+  StartFunction(FD, FD->getResultType(), Fn, Args, SourceLocation());
+  EmitCtorPrologue(CD);
+  FinishFunction();
+}
+
 /// SynthesizeCXXCopyConstructor - This routine implicitly defines body of a copy
 /// constructor, in accordance with section 12.8 (p7 and p8) of C++03
 /// The implicitly-defined copy constructor for class X performs a memberwise