projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
fd302b7
)
update comment.
author
Chris Lattner
<sabre@nondot.org>
Mon, 30 Mar 2009 20:44:04 +0000
(20:44 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Mon, 30 Mar 2009 20:44:04 +0000
(20:44 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@68060
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/ADT/PointerUnion.h
patch
|
blob
|
history
diff --git
a/include/llvm/ADT/PointerUnion.h
b/include/llvm/ADT/PointerUnion.h
index da67c8e8c27b8aab06592cb40f22fef07931347c..6f5d01af86af35784626a86f6aab9d62c05ddb18 100644
(file)
--- 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.