Add a comment to mention the memory ownership situation.

llvm-svn: 104886
This commit is contained in:
Dan Gohman 2010-05-27 20:28:55 +00:00
parent a880546c65
commit d877f2a013
1 changed files with 3 additions and 0 deletions

View File

@ -33,6 +33,9 @@ namespace clang {
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,