#define LLVM_USE_H
#include "Support/ilist"
+
+namespace llvm {
+
template<typename NodeTy> struct ilist_traits;
class Value;
class User;
template<> struct simplify_type<Use> {
typedef Value* SimpleType;
static SimpleType getSimplifiedValue(const Use &Val) {
- return (SimpleType)Val.get();
+ return static_cast<SimpleType>(Val.get());
}
};
template<> struct simplify_type<const Use> {
typedef Value* SimpleType;
static SimpleType getSimplifiedValue(const Use &Val) {
- return (SimpleType)Val.get();
+ return static_cast<SimpleType>(Val.get());
}
};
}
};
+} // End llvm namespace
+
#endif