[llvm] r272817 - [codeview] Use ArrayRef instead of a non-const vector reference
Reid Kleckner via llvm-commits
llvm-commits at lists.llvm.org
Wed Jun 15 11:48:35 PDT 2016
Author: rnk
Date: Wed Jun 15 13:48:35 2016
New Revision: 272817
URL: http://llvm.org/viewvc/llvm-project?rev=272817&view=rev
Log:
[codeview] Use ArrayRef instead of a non-const vector reference
Modified:
llvm/trunk/include/llvm/DebugInfo/CodeView/TypeRecord.h
Modified: llvm/trunk/include/llvm/DebugInfo/CodeView/TypeRecord.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/DebugInfo/CodeView/TypeRecord.h?rev=272817&r1=272816&r2=272817&view=diff
==============================================================================
--- llvm/trunk/include/llvm/DebugInfo/CodeView/TypeRecord.h (original)
+++ llvm/trunk/include/llvm/DebugInfo/CodeView/TypeRecord.h Wed Jun 15 13:48:35 2016
@@ -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
More information about the llvm-commits
mailing list