]> granicus.if.org Git - llvm/commit
[LoopDeletion] (cleanup, NFC) Make simple helper functions static
authorChandler Carruth <chandlerc@gmail.com>
Tue, 17 Jan 2017 22:07:26 +0000 (22:07 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Tue, 17 Jan 2017 22:07:26 +0000 (22:07 +0000)
commit70e0d713b2214f75820d5f1777bbc069ecfc2def
treebe48a2df9e9563f889010c4e5943910a443560e0
parent40d8cc12dd752776cefd64f4ab972a7493821ee6
[LoopDeletion] (cleanup, NFC) Make simple helper functions static
instead of members.

No state was being provided by the object so this seems strictly
simpler.

I've also tried to improve the name and comments for the functions to
more thoroughly document what they are doing.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@292274 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Transforms/Scalar/LoopDeletion.h
lib/Transforms/Scalar/LoopDeletion.cpp