This is obviously illegal C++ code, but was apparently accepted by 3.3

bork


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9993 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2003-11-14 06:03:05 +00:00
parent 3449f4f1db
commit 60e9742e82

View File

@ -80,13 +80,13 @@ struct ilist_traits<Use> {
};
template<> struct std::simplify_type<Use> {
template<> struct simplify_type<Use> {
typedef Value* SimpleType;
static SimpleType getSimplifiedValue(const Use &Val) {
return (SimpleType)Val.get();
}
};
template<> struct std::simplify_type<const Use> {
template<> struct simplify_type<const Use> {
typedef Value* SimpleType;
static SimpleType getSimplifiedValue(const Use &Val) {
return (SimpleType)Val.get();