From d4f7f2927724822212179c2becfdb63d1a46c1c4 Mon Sep 17 00:00:00 2001 From: Diego Novillo Date: Fri, 8 May 2015 21:01:29 +0000 Subject: [PATCH] Update Function::getContext documentation. NFC. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@236899 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/IR/Function.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/llvm/IR/Function.h b/include/llvm/IR/Function.h index 19ccbb19bb1..3ec080aeb06 100644 --- a/include/llvm/IR/Function.h +++ b/include/llvm/IR/Function.h @@ -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 -- 2.11.0