From: Serge Guelton Date: Tue, 25 Apr 2017 05:45:37 +0000 (+0000) Subject: Update doc of the variadic version of getOrInsertFunction X-Git-Tag: llvmorg-5.0.0-rc1~6760 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=376508ad8d61bd507ddc5f904bb7d8a3c461e4b7;p=platform%2Fupstream%2Fllvm.git Update doc of the variadic version of getOrInsertFunction It no longer needs a null terminator. llvm-svn: 301292 --- diff --git a/llvm/include/llvm/IR/Module.h b/llvm/include/llvm/IR/Module.h index 70c57cf..67c35cd 100644 --- a/llvm/include/llvm/IR/Module.h +++ b/llvm/include/llvm/IR/Module.h @@ -319,7 +319,7 @@ public: /// exist, add a prototype for the function and return it. This function /// guarantees to return a constant of pointer to the specified function type /// or a ConstantExpr BitCast of that type if the named function has a - /// different type. This version of the method takes a null terminated list of + /// different type. This version of the method takes a list of /// function arguments, which makes it easier for clients to use. template Constant *getOrInsertFunction(StringRef Name,