From: Chris Lattner Date: Wed, 4 Feb 2004 03:59:08 +0000 (+0000) Subject: Check in header file I forgot before. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=cb2b3e5005c09f24afeb0dab49ac8bc1967e491a;p=oota-llvm.git Check in header file I forgot before. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11115 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/Transforms/Utils/Cloning.h b/include/llvm/Transforms/Utils/Cloning.h index f6351d48762..bb8e542b805 100644 --- a/include/llvm/Transforms/Utils/Cloning.h +++ b/include/llvm/Transforms/Utils/Cloning.h @@ -55,11 +55,14 @@ Module *CloneModule(const Module *M); /// is recorded in the ValueMap map. /// /// If you have a particular suffix you'd like to use to add to any cloned -/// names, specify it as the optional second parameter. +/// names, specify it as the optional third parameter. +/// +/// If you would like the basic block to be auto-inserted into the end of a +/// function, you can specify it as the optional fourth parameter. /// BasicBlock *CloneBasicBlock(const BasicBlock *BB, std::map &ValueMap, - const char *NameSuffix = ""); + const char *NameSuffix = "", Function *F = 0); /// CloneFunction - Return a copy of the specified function, but without