Rename AttributeSets to AttributeGroups so that it's more meaningful.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@174911 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Bill Wendling
2013-02-11 22:33:26 +00:00
parent 04ef4be048
commit e9229a6a96
3 changed files with 41 additions and 41 deletions

View File

@ -431,10 +431,10 @@ void ValueEnumerator::EnumerateAttributes(const AttributeSet &PAL) {
// Do lookups for all attribute groups.
for (unsigned i = 0, e = PAL.getNumSlots(); i != e; ++i) {
AttributeSet AS = PAL.getSlotAttributes(i);
unsigned &Entry = AttributeSetMap[AS];
unsigned &Entry = AttributeGroupMap[AS];
if (Entry == 0) {
AttributeSets.push_back(AS);
Entry = AttributeSets.size();
AttributeGroups.push_back(AS);
Entry = AttributeGroups.size();
}
}
}