From: Chris Lattner Date: Mon, 30 Mar 2009 20:44:04 +0000 (+0000) Subject: update comment. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=f54229192c22559389b0ef47e731fd628db963c5;p=oota-llvm.git update comment. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@68060 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/ADT/PointerUnion.h b/include/llvm/ADT/PointerUnion.h index da67c8e8c27..6f5d01af86a 100644 --- a/include/llvm/ADT/PointerUnion.h +++ b/include/llvm/ADT/PointerUnion.h @@ -54,7 +54,7 @@ namespace llvm { /// printf("%d %d", P.is(), P.is()); // prints "1 0" /// X = P.get(); // ok. /// Y = P.get(); // runtime assertion failure. - /// Z = P.get(); // does not compile. + /// Z = P.get(); // runtime assertion failure (regardless of tag) /// P = (float*)0; /// Y = P.get(); // ok. /// X = P.get(); // runtime assertion failure.