diff --git a/llvm/include/llvm/IR/Value.h b/llvm/include/llvm/IR/Value.h index d444a768a6543..011aedece94ab 100644 --- a/llvm/include/llvm/IR/Value.h +++ b/llvm/include/llvm/IR/Value.h @@ -131,7 +131,7 @@ class Value { public: using iterator_category = std::forward_iterator_tag; - using value_type = UseT *; + using value_type = UseT; using difference_type = std::ptrdiff_t; using pointer = value_type *; using reference = value_type &;