[Coverage] Return an ArrayRef to avoid copies (NFC)

llvm-svn: 275338
This commit is contained in:
Vedant Kumar 2016-07-13 23:12:26 +00:00
parent 7fcc5472e2
commit ef345e1d3f

View File

@ -423,7 +423,7 @@ public:
bool empty() { return Segments.empty(); }
/// \brief Expansions that can be further processed.
std::vector<ExpansionRecord> getExpansions() { return Expansions; }
ArrayRef<ExpansionRecord> getExpansions() { return Expansions; }
};
/// \brief The mapping of profile information to coverage data.