From 376508ad8d61bd507ddc5f904bb7d8a3c461e4b7 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. llvm-svn: 301292 --- llvm/include/llvm/IR/Module.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, -- 2.7.4