BasicBlock::getContext can no longer return a NULL so update the doc.
authorErick Tryzelaar <idadesub@users.sourceforge.net>
Wed, 19 Aug 2009 17:40:05 +0000 (17:40 +0000)
committerErick Tryzelaar <idadesub@users.sourceforge.net>
Wed, 19 Aug 2009 17:40:05 +0000 (17:40 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79432 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/BasicBlock.h

index 9138d28..3ba4e36 100644 (file)
@@ -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...