mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-11-29 22:11:36 +00:00
switch AttrListPtr::get to take an ArrayRef, simplifying a lot of clients.
llvm-svn: 157556
This commit is contained in:
1 parent
5be972d8a2
commit
3cb6f83ebb
9 files changed
+43
-57
No files matched your search
@@ -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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user