projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Use setStream infomatted_raw_ostream's constructor, to reduce code
[oota-llvm.git]
/
include
/
llvm
/
Support
/
Casting.h
diff --git
a/include/llvm/Support/Casting.h
b/include/llvm/Support/Casting.h
index c441626216f16b92dccb57dcee66f7802a01ad2c..48988f8a6bb8354c71326e634364acbb2895b4b2 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
);
}
};