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.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Thx! LG, one nit, see below.
llvm/lib/Transforms/IPO/ArgumentPromotion.cpp | ||
---|---|---|
365 | Make it I or something, not N. N is (for me) associated with the upper bound, also above. |
Comment Actions
@jdoerfert Thank you for the comment. I would like to use a single-letter name in order not to reformat the code. What about J? If J doesn't sound good, I can propose M from member because this variable is an index of an element from a struct.
Comment Actions
Colleagues, if you have no objections against the patch, could you help me with landing? I have no commit rights and cannot land the patch.
Make it I or something, not N. N is (for me) associated with the upper bound, also above.