aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/BasicBlock.h
diff options
context:
space:
mode:
authorErick Tryzelaar <idadesub@users.sourceforge.net>2009-08-19 17:40:05 +0000
committerErick Tryzelaar <idadesub@users.sourceforge.net>2009-08-19 17:40:05 +0000
commitf7e8b5c72245e2dc97539009236c651a814d909f (patch)
tree3b48905681748eaea8d1efb3c9705eacc05782d0 /include/llvm/BasicBlock.h
parent1f3d276a3db30f19f592e8c92fb0c535ad465468 (diff)
downloadexternal_llvm-f7e8b5c72245e2dc97539009236c651a814d909f.tar.gz
external_llvm-f7e8b5c72245e2dc97539009236c651a814d909f.tar.bz2
external_llvm-f7e8b5c72245e2dc97539009236c651a814d909f.zip
BasicBlock::getContext can no longer return a NULL so update the doc.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79432 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/BasicBlock.h')
-rw-r--r--include/llvm/BasicBlock.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/llvm/BasicBlock.h b/include/llvm/BasicBlock.h
index 9138d28c68..3ba4e360f7 100644
--- a/include/llvm/BasicBlock.h
+++ b/include/llvm/BasicBlock.h
@@ -86,8 +86,7 @@ private:
explicit BasicBlock(LLVMContext &C, const Twine &Name = "",
Function *Parent = 0, BasicBlock *InsertBefore = 0);
public:
- /// getContext - Get the context in which this basic block lives,
- /// or null if it is not currently attached to a function.
+ /// getContext - Get the context in which this basic block lives.
LLVMContext &getContext() const;
/// Instruction iterators...