From: Rafael Espindola Date: Fri, 18 Dec 2015 22:23:16 +0000 (+0000) Subject: git-clang-format a region I am about to change. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=e9b93ea00be0f166c3e59d4f50f983bfc1d285ff;p=oota-llvm.git git-clang-format a region I am about to change. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@256048 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/IR/Value.h b/include/llvm/IR/Value.h index fbcfd2b03d5..be9f14a78de 100644 --- a/include/llvm/IR/Value.h +++ b/include/llvm/IR/Value.h @@ -273,14 +273,14 @@ public: //---------------------------------------------------------------------- // Methods for handling the chain of uses of this Value. // - bool use_empty() const { return UseList == nullptr; } + bool use_empty() const { return UseList == nullptr; } - typedef use_iterator_impl use_iterator; + typedef use_iterator_impl use_iterator; typedef use_iterator_impl const_use_iterator; - use_iterator use_begin() { return use_iterator(UseList); } + use_iterator use_begin() { return use_iterator(UseList); } const_use_iterator use_begin() const { return const_use_iterator(UseList); } - use_iterator use_end() { return use_iterator(); } - const_use_iterator use_end() const { return const_use_iterator(); } + use_iterator use_end() { return use_iterator(); } + const_use_iterator use_end() const { return const_use_iterator(); } iterator_range uses() { return make_range(use_begin(), use_end()); } @@ -288,16 +288,18 @@ public: return make_range(use_begin(), use_end()); } - bool user_empty() const { return UseList == nullptr; } + bool user_empty() const { return UseList == nullptr; } - typedef user_iterator_impl user_iterator; + typedef user_iterator_impl user_iterator; typedef user_iterator_impl const_user_iterator; - user_iterator user_begin() { return user_iterator(UseList); } - const_user_iterator user_begin() const { return const_user_iterator(UseList); } - user_iterator user_end() { return user_iterator(); } - const_user_iterator user_end() const { return const_user_iterator(); } - User *user_back() { return *user_begin(); } - const User *user_back() const { return *user_begin(); } + user_iterator user_begin() { return user_iterator(UseList); } + const_user_iterator user_begin() const { + return const_user_iterator(UseList); + } + user_iterator user_end() { return user_iterator(); } + const_user_iterator user_end() const { return const_user_iterator(); } + User *user_back() { return *user_begin(); } + const User *user_back() const { return *user_begin(); } iterator_range users() { return make_range(user_begin(), user_end()); }