summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorReid Kleckner <rnk@google.com>2016-06-15 18:48:35 +0000
committerReid Kleckner <rnk@google.com>2016-06-15 18:48:35 +0000
commita16fec18b0ed8edb8e447934cf5dc558af4b4e7b (patch)
treefca33925f62cca6b2472d224230c1f661edf6f18
parent7712bf3f53e26ffe744536bc8783b80ae5f6f332 (diff)
downloadbcm5719-llvm-a16fec18b0ed8edb8e447934cf5dc558af4b4e7b.tar.gz
bcm5719-llvm-a16fec18b0ed8edb8e447934cf5dc558af4b4e7b.zip
[codeview] Use ArrayRef instead of a non-const vector reference
llvm-svn: 272817
-rw-r--r--llvm/include/llvm/DebugInfo/CodeView/TypeRecord.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/include/llvm/DebugInfo/CodeView/TypeRecord.h b/llvm/include/llvm/DebugInfo/CodeView/TypeRecord.h
index b47d5423e0b..59febb7b464 100644
--- a/llvm/include/llvm/DebugInfo/CodeView/TypeRecord.h
+++ b/llvm/include/llvm/DebugInfo/CodeView/TypeRecord.h
@@ -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
OpenPOWER on IntegriCloud