summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-03-30 20:44:04 +0000
committerChris Lattner <sabre@nondot.org>2009-03-30 20:44:04 +0000
commit32f4959ee4c6f2cf2fec9a2079bb85d209a6cb4d (patch)
tree4687605fdb97a2ce9f1e28b0c33daf7f01062f1c
parent2f52e6488fa54950441a12805b98339c34ac472e (diff)
downloadbcm5719-llvm-32f4959ee4c6f2cf2fec9a2079bb85d209a6cb4d.tar.gz
bcm5719-llvm-32f4959ee4c6f2cf2fec9a2079bb85d209a6cb4d.zip
update comment.
llvm-svn: 68060
-rw-r--r--llvm/include/llvm/ADT/PointerUnion.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/include/llvm/ADT/PointerUnion.h b/llvm/include/llvm/ADT/PointerUnion.h
index da67c8e8c27..6f5d01af86a 100644
--- a/llvm/include/llvm/ADT/PointerUnion.h
+++ b/llvm/include/llvm/ADT/PointerUnion.h
@@ -54,7 +54,7 @@ namespace llvm {
/// printf("%d %d", P.is<int*>(), P.is<float*>()); // prints "1 0"
/// X = P.get<int*>(); // ok.
/// Y = P.get<float*>(); // runtime assertion failure.
- /// Z = P.get<double*>(); // does not compile.
+ /// Z = P.get<double*>(); // runtime assertion failure (regardless of tag)
/// P = (float*)0;
/// Y = P.get<float*>(); // ok.
/// X = P.get<int*>(); // runtime assertion failure.
OpenPOWER on IntegriCloud