From f7e8b5c72245e2dc97539009236c651a814d909f Mon Sep 17 00:00:00 2001 From: Erick Tryzelaar Date: Wed, 19 Aug 2009 17:40:05 +0000 Subject: [PATCH] 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 --- include/llvm/BasicBlock.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/include/llvm/BasicBlock.h b/include/llvm/BasicBlock.h index 9138d28c680..3ba4e360f71 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... -- 2.34.1