summaryrefslogtreecommitdiff
path: root/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2012-05-28 01:47:44 +0000
committerChris Lattner <sabre@nondot.org>2012-05-28 01:47:44 +0000
commitd509d0b532ec2358b3f341d4a4cd1411cb8b5db2 (patch)
treeccb049af92ff02e28b5416be519b91d2881e436a /lib/Bitcode/Reader/BitcodeReader.cpp
parent2a9d3b79db1f192dba43b8b16755a7822b05f798 (diff)
downloadllvm-d509d0b532ec2358b3f341d4a4cd1411cb8b5db2.tar.gz
llvm-d509d0b532ec2358b3f341d4a4cd1411cb8b5db2.tar.bz2
llvm-d509d0b532ec2358b3f341d4a4cd1411cb8b5db2.tar.xz
switch AttrListPtr::get to take an ArrayRef, simplifying a lot of clients.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@157556 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 ca935d2245..5a132a4f2f 100644
--- a/lib/Bitcode/Reader/BitcodeReader.cpp
+++ b/lib/Bitcode/Reader/BitcodeReader.cpp
@@ -486,7 +486,7 @@ bool BitcodeReader::ParseAttributeBlock() {
Attributes(Record[i+1])));
}
- MAttributes.push_back(AttrListPtr::get(Attrs.begin(), Attrs.end()));
+ MAttributes.push_back(AttrListPtr::get(Attrs));
Attrs.clear();
break;
}