[llvm-branch-commits] [cfe-branch] r105034 - /cfe/branches/Apple/whitney/include/clang/CodeGen/ModuleBuilder.h

Daniel Dunbar daniel at zuster.org
Fri May 28 16:06:35 PDT 2010


Author: ddunbar
Date: Fri May 28 18:06:35 2010
New Revision: 105034

URL: http://llvm.org/viewvc/llvm-project?rev=105034&view=rev
Log:
Merge r104886:
--
Author: Dan Gohman <gohman at apple.com>
Date:   Thu May 27 20:28:55 2010 +0000

    Add a comment to mention the memory ownership situation.

Modified:
    cfe/branches/Apple/whitney/include/clang/CodeGen/ModuleBuilder.h

Modified: cfe/branches/Apple/whitney/include/clang/CodeGen/ModuleBuilder.h
URL: http://llvm.org/viewvc/llvm-project/cfe/branches/Apple/whitney/include/clang/CodeGen/ModuleBuilder.h?rev=105034&r1=105033&r2=105034&view=diff
==============================================================================
--- cfe/branches/Apple/whitney/include/clang/CodeGen/ModuleBuilder.h (original)
+++ cfe/branches/Apple/whitney/include/clang/CodeGen/ModuleBuilder.h Fri May 28 18:06:35 2010
@@ -33,6 +33,9 @@
     virtual llvm::Module* ReleaseModule() = 0;
   };
 
+  /// CreateLLVMCodeGen - Create a CodeGenerator instance.
+  /// It is the responsibility of the caller to call delete on
+  /// the allocated CodeGenerator instance.
   CodeGenerator *CreateLLVMCodeGen(Diagnostic &Diags,
                                    const std::string &ModuleName,
                                    const CodeGenOptions &CGO,





More information about the llvm-branch-commits mailing list