llvm.org GIT mirror llvm / f5f0b20
DWARFFormValue.cpp: Appease gcc to give explicit constructors. error: conversion from `const uint8_t*' to non-scalar type `llvm::ArrayRef<unsigned char>' requested git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@193575 91177308-0d34-0410-b5e6-96231b3b80d8 NAKAMURA Takumi 5 years ago
1 changed file(s) with 4 addition(s) and 4 deletion(s). Raw diff Collapse all Expand all
6565 uint16_t Version) {
6666 uint8_t RefAddrSize = getRefAddrSize(AddrSize, Version);
6767 if (AddrSize == 4 && RefAddrSize == 4)
68 return FixedFormSizes<4, 4>::sizes;
68 return ArrayRef(FixedFormSizes<4, 4>::sizes);
6969 if (AddrSize == 4 && RefAddrSize == 8)
70 return FixedFormSizes<4, 8>::sizes;
70 return ArrayRef(FixedFormSizes<4, 8>::sizes);
7171 if (AddrSize == 8 && RefAddrSize == 4)
72 return FixedFormSizes<8, 4>::sizes;
72 return ArrayRef(FixedFormSizes<8, 4>::sizes);
7373 if (AddrSize == 8 && RefAddrSize == 8)
74 return FixedFormSizes<8, 8>::sizes;
74 return ArrayRef(FixedFormSizes<8, 8>::sizes);
7575 return None;
7676 }
7777