[llvm] r301292 - Update doc of the variadic version of getOrInsertFunction

Serge Guelton via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 24 22:45:37 PDT 2017


Author: serge_sans_paille
Date: Tue Apr 25 00:45:37 2017
New Revision: 301292

URL: http://llvm.org/viewvc/llvm-project?rev=301292&view=rev
Log:
Update doc of the variadic version of getOrInsertFunction

It no longer needs a null terminator.

Modified:
    llvm/trunk/include/llvm/IR/Module.h

Modified: llvm/trunk/include/llvm/IR/Module.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/IR/Module.h?rev=301292&r1=301291&r2=301292&view=diff
==============================================================================
--- llvm/trunk/include/llvm/IR/Module.h (original)
+++ llvm/trunk/include/llvm/IR/Module.h Tue Apr 25 00:45:37 2017
@@ -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<typename... ArgsTy>
   Constant *getOrInsertFunction(StringRef Name,




More information about the llvm-commits mailing list