From 42e83493f6375e9a415ec4b33274aca0d2962d8d Mon Sep 17 00:00:00 2001 From: Serge Guelton Date: Tue, 25 Apr 2017 05:45:37 +0000 Subject: [PATCH] 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 --- include/llvm/IR/Module.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, -- 2.40.0