mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-01-27 11:55:49 +00:00
[Coverage] Return an ArrayRef to avoid copies (NFC)
llvm-svn: 275338
This commit is contained in:
parent
7fcc5472e2
commit
ef345e1d3f
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user