summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDiego Novillo <dnovillo@google.com>2015-05-08 21:01:29 +0000
committerDiego Novillo <dnovillo@google.com>2015-05-08 21:01:29 +0000
commit0aaff4795b659eb0a43e27e0ace4511761dd5405 (patch)
treea14d6db200afbd4f9e8c0a0ffce3ef5ad31e08d3
parent86f884ed46439b58383f246ecc7297a75d714f26 (diff)
downloadbcm5719-llvm-0aaff4795b659eb0a43e27e0ace4511761dd5405.tar.gz
bcm5719-llvm-0aaff4795b659eb0a43e27e0ace4511761dd5405.zip
Update Function::getContext documentation. NFC.
llvm-svn: 236899
-rw-r--r--llvm/include/llvm/IR/Function.h4
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
OpenPOWER on IntegriCloud