summaryrefslogtreecommitdiff
path: root/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2012-10-15 20:35:56 +0000
committerBill Wendling <isanbard@gmail.com>2012-10-15 20:35:56 +0000
commit702cc91aa1bd41540e8674921ae7ac89a4ff061f (patch)
treeee8a1af757a2e912b5286e98b5dcaf48c7b4861a /lib/Bitcode/Reader/BitcodeReader.cpp
parent874c0a6ec70edb80d76eafb86c6a35053e7acb48 (diff)
downloadllvm-702cc91aa1bd41540e8674921ae7ac89a4ff061f.tar.gz
llvm-702cc91aa1bd41540e8674921ae7ac89a4ff061f.tar.bz2
llvm-702cc91aa1bd41540e8674921ae7ac89a4ff061f.tar.xz
Move the Attributes::Builder outside of the Attributes class and into its own class named AttrBuilder. No functionality change.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165960 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Bitcode/Reader/BitcodeReader.cpp')
-rw-r--r--lib/Bitcode/Reader/BitcodeReader.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Bitcode/Reader/BitcodeReader.cpp b/lib/Bitcode/Reader/BitcodeReader.cpp
index 756dca6d92..279343c48c 100644
--- a/lib/Bitcode/Reader/BitcodeReader.cpp
+++ b/lib/Bitcode/Reader/BitcodeReader.cpp
@@ -481,7 +481,7 @@ bool BitcodeReader::ParseAttributeBlock() {
}
for (unsigned i = 0, e = Record.size(); i != e; i += 2) {
- Attributes::Builder B(Record[i+1]);
+ AttrBuilder B(Record[i+1]);
if (B.hasAttributes())
Attrs.push_back(AttributeWithIndex::get(Record[i],
Attributes::get(Context, B)));