diff options
author | Diego Novillo <dnovillo@google.com> | 2015-05-08 21:01:29 +0000 |
---|---|---|
committer | Diego Novillo <dnovillo@google.com> | 2015-05-08 21:01:29 +0000 |
commit | 0aaff4795b659eb0a43e27e0ace4511761dd5405 (patch) | |
tree | a14d6db200afbd4f9e8c0a0ffce3ef5ad31e08d3 | |
parent | 86f884ed46439b58383f246ecc7297a75d714f26 (diff) | |
download | bcm5719-llvm-0aaff4795b659eb0a43e27e0ace4511761dd5405.tar.gz bcm5719-llvm-0aaff4795b659eb0a43e27e0ace4511761dd5405.zip |
Update Function::getContext documentation. NFC.
llvm-svn: 236899
-rw-r--r-- | llvm/include/llvm/IR/Function.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/include/llvm/IR/Function.h b/llvm/include/llvm/IR/Function.h index 19ccbb19bb1..3ec080aeb06 100644 --- a/llvm/include/llvm/IR/Function.h +++ b/llvm/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 |