forked from OSchip/llvm-project
Add a comment to mention the memory ownership situation.
llvm-svn: 104886
This commit is contained in:
parent
a880546c65
commit
d877f2a013
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue