OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0322808
)
Roll back rev 59890, since Chris says this can never happen.
author
Scott Michel
<scottm@aero.org>
Sun, 23 Nov 2008 19:22:48 +0000
(19:22 +0000)
committer
Scott Michel
<scottm@aero.org>
Sun, 23 Nov 2008 19:22:48 +0000
(19:22 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@59914
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/Support/Casting.h
patch
|
blob
|
history
diff --git
a/include/llvm/Support/Casting.h
b/include/llvm/Support/Casting.h
index
c441626
..
48988f8
100644
(file)
--- a/
include/llvm/Support/Casting.h
+++ b/
include/llvm/Support/Casting.h
@@
-98,7
+98,7
@@
template<class FromCl>
struct isa_impl_cl<FromCl*> {
template<class ToCl>
static bool isa(FromCl *Val) {
- return
(Val != 0 && isa_impl_cl<FromCl>::template isa<ToCl>(*Val)
);
+ return
isa_impl_cl<FromCl>::template isa<ToCl>(*Val
);
}
};