From: Serge Guelton Date: Tue, 25 Apr 2017 05:45:37 +0000 (+0000) Subject: Update doc of the variadic version of getOrInsertFunction X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=42e83493f6375e9a415ec4b33274aca0d2962d8d;p=llvm Update doc of the variadic version of getOrInsertFunction It no longer needs a null terminator. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@301292 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/IR/Module.h b/include/llvm/IR/Module.h index 70c57cf90ad..67c35cd22b3 100644 --- a/include/llvm/IR/Module.h +++ b/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,