diff options
Diffstat (limited to 'llvm/include/llvm/User.h')
| -rw-r--r-- | llvm/include/llvm/User.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/include/llvm/User.h b/llvm/include/llvm/User.h index 0e98da50e93..21d112b454a 100644 --- a/llvm/include/llvm/User.h +++ b/llvm/include/llvm/User.h @@ -97,6 +97,7 @@ template<> struct simplify_type<User::op_iterator> { return static_cast<SimpleType>(Val->get()); } }; + template<> struct simplify_type<const User::op_iterator> : public simplify_type<User::op_iterator> {}; @@ -107,6 +108,7 @@ template<> struct simplify_type<User::const_op_iterator> { return static_cast<SimpleType>(Val->get()); } }; + template<> struct simplify_type<const User::const_op_iterator> : public simplify_type<User::const_op_iterator> {}; |

