1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 03:33:20 +01:00

[codeview] Use ArrayRef instead of a non-const vector reference

llvm-svn: 272817
This commit is contained in:
Reid Kleckner 2016-06-15 18:48:35 +00:00
parent f759b9b9ad
commit 2655e6fd2e

View File

@ -1103,7 +1103,7 @@ private:
// LF_METHODLIST
class MethodOverloadListRecord : public TypeRecord {
public:
MethodOverloadListRecord(std::vector<OneMethodRecord> &Methods)
MethodOverloadListRecord(ArrayRef<OneMethodRecord> Methods)
: TypeRecord(TypeRecordKind::MethodOverloadList), Methods(Methods) {}
/// Rewrite member type indices with IndexMap. Returns false if a type index