diff options
author | Bill Wendling <isanbard@gmail.com> | 2013-04-18 20:17:28 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2013-04-18 20:17:28 +0000 |
commit | 8a6a7bb6a601061031cddd77129532a3b467300b (patch) | |
tree | ef2ec979b584f8ae34fa91952a3bf2bc01d45357 /lib/Object/ObjectFile.cpp | |
parent | bb1b63c48397a3bac5d00f2ac9d33cc14efd714c (diff) |
Cleanup patch:
Semantics of parameters named Index and Idx were inconsistent between
"include/llvm/IR/Attributes.h", "lib/IR/AttributeImpl.h" and
"lib/IR/Attributes.cpp": sometimes these were fixed 1-based indexes of IR
parameters (or AttributeSet::ReturnIndex for IR return values or
AttributeSet::FunctionIndex for IR functions), other times they were the
internal slot for storage in the underlying AttributeSetImpl. I renamed usage of
the former to "Index" and usage of the latter to "Slot" ("Slot" was already
being used consistently for the latter in a subset of cases)
Patch by Stephen Lin!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179791 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Object/ObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions