aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/ADT/PointerUnion.h
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
commitf54229192c22559389b0ef47e731fd628db963c5 (patch)
treecf39a61fc9db01ee4ff3c3c9a76668a728f50a2e /include/llvm/ADT/PointerUnion.h
parentfd302b7056b9fab0b54f2fcad8e942500de2a50e (diff)
downloadexternal_llvm-f54229192c22559389b0ef47e731fd628db963c5.zip
external_llvm-f54229192c22559389b0ef47e731fd628db963c5.tar.gz
external_llvm-f54229192c22559389b0ef47e731fd628db963c5.tar.bz2
update comment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@68060 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/ADT/PointerUnion.h')
-rw-r--r--include/llvm/ADT/PointerUnion.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/ADT/PointerUnion.h b/include/llvm/ADT/PointerUnion.h
index da67c8e..6f5d01a 100644
--- a/include/llvm/ADT/PointerUnion.h
+++ b/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.