[llvm] r236899 - Update Function::getContext documentation. NFC.

Diego Novillo dnovillo at google.com
Fri May 8 14:01:29 PDT 2015


Author: dnovillo
Date: Fri May  8 16:01:29 2015
New Revision: 236899

URL: http://llvm.org/viewvc/llvm-project?rev=236899&view=rev
Log:
Update Function::getContext documentation. NFC.

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

Modified: llvm/trunk/include/llvm/IR/Function.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/IR/Function.h?rev=236899&r1=236898&r2=236899&view=diff
==============================================================================
--- llvm/trunk/include/llvm/IR/Function.h (original)
+++ llvm/trunk/include/llvm/IR/Function.h Fri May  8 16:01:29 2015
@@ -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





More information about the llvm-commits mailing list