Update Function::getContext documentation. NFC.
authorDiego Novillo <dnovillo@google.com>
Fri, 8 May 2015 21:01:29 +0000 (21:01 +0000)
committerDiego Novillo <dnovillo@google.com>
Fri, 8 May 2015 21:01:29 +0000 (21:01 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@236899 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/IR/Function.h

index 19ccbb19bb152b93757dd94522622a937e39d338..3ec080aeb0608d60bc6816915703cc81d3ada4b4 100644 (file)
@@ -130,8 +130,8 @@ public:
   Type *getReturnType() const;           // Return the type of the ret val
   FunctionType *getFunctionType() const; // Return the FunctionType for me
 
-  /// getContext - Return a pointer to the LLVMContext associated with this
-  /// function, or NULL if this function is not bound to a context yet.
+  /// getContext - Return a reference to the LLVMContext associated with this
+  /// function.
   LLVMContext &getContext() const;
 
   /// isVarArg - Return true if this function takes a variable number of