mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
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:
parent
3449f4f1db
commit
60e9742e82
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user