[llvm-commits] [llvm] r79432 - /llvm/trunk/include/llvm/BasicBlock.h

Erick Tryzelaar idadesub at users.sourceforge.net
Wed Aug 19 10:40:05 PDT 2009


Author: erickt
Date: Wed Aug 19 12:40:05 2009
New Revision: 79432

URL: http://llvm.org/viewvc/llvm-project?rev=79432&view=rev
Log:
BasicBlock::getContext can no longer return a NULL so update the doc.

Modified:
    llvm/trunk/include/llvm/BasicBlock.h

Modified: llvm/trunk/include/llvm/BasicBlock.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/BasicBlock.h?rev=79432&r1=79431&r2=79432&view=diff

==============================================================================
--- llvm/trunk/include/llvm/BasicBlock.h (original)
+++ llvm/trunk/include/llvm/BasicBlock.h Wed Aug 19 12:40:05 2009
@@ -86,8 +86,7 @@
   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...





More information about the llvm-commits mailing list