aboutsummaryrefslogtreecommitdiff
path: root/lib/Bitcode/Reader/BitcodeReader.h
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2013-02-11 22:32:29 +0000
committerBill Wendling <isanbard@gmail.com>2013-02-11 22:32:29 +0000
commit04ef4be048934f8acf15c4ed6e3ebdd410c252bb (patch)
tree0cdb9246af54364823db06430c6cc0ba13c473fb /lib/Bitcode/Reader/BitcodeReader.h
parente3db2048ea2ce2743acce76a6bb22214a197c364 (diff)
Use a std::map so that we record the group ID.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@174910 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Bitcode/Reader/BitcodeReader.h')
-rw-r--r--lib/Bitcode/Reader/BitcodeReader.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Bitcode/Reader/BitcodeReader.h b/lib/Bitcode/Reader/BitcodeReader.h
index 8d36e67075..28674eb14e 100644
--- a/lib/Bitcode/Reader/BitcodeReader.h
+++ b/lib/Bitcode/Reader/BitcodeReader.h
@@ -149,7 +149,7 @@ class BitcodeReader : public GVMaterializer {
std::vector<AttributeSet> MAttributes;
/// \brief The set of attribute groups.
- std::vector<AttributeSet> MAttributeGroups;
+ std::map<unsigned, AttributeSet> MAttributeGroups;
/// FunctionBBs - While parsing a function body, this is a list of the basic
/// blocks for the function.