Use llvm::makeArrayRef. NFC.

llvm-svn: 248678
This commit is contained in:
Craig Topper
2015-09-27 03:44:08 +00:00
parent 09af67aba5
commit c005cc06cd
5 changed files with 6 additions and 6 deletions

View File

@@ -208,7 +208,7 @@ namespace clang {
auto &&PartialSpecializations = getPartialSpecializations(Common);
ArrayRef<DeclID> LazySpecializations;
if (auto *LS = Common->LazySpecializations)
LazySpecializations = ArrayRef<DeclID>(LS + 1, LS + 1 + LS[0]);
LazySpecializations = llvm::makeArrayRef(LS + 1, LS + 1 + LS[0]);
// Add a slot to the record for the number of specializations.
unsigned I = Record.size();