[ArgPromotion] Rename variables according to the code style. NFC
authorPavel Samolysov <samolisov@gmail.com>
Thu, 28 Apr 2022 13:31:00 +0000 (15:31 +0200)
committerNikita Popov <npopov@redhat.com>
Thu, 28 Apr 2022 13:32:05 +0000 (15:32 +0200)
commit744a8378387e484982d61cf27a4d9598153da8a3
treeb7f2ccd30e0ae21c2aabc8ee6a98fa0dae6932c1
parent05b0a498329c4b5db367120e5c9358bb74346131
[ArgPromotion] Rename variables according to the code style. NFC

Some loop counters ('i', 'e') and variables ('type') were named not
in accordance with the code style and clang-tidy issues warnings
about the using of such variables. This patch renames the variables
and fixes some typos in the comments within the source file.

Differential Revision: https://reviews.llvm.org/D123662
llvm/include/llvm/Transforms/IPO/ArgumentPromotion.h
llvm/lib/Transforms/IPO/ArgumentPromotion.cpp