llvm-project
20daa73a - [NFC]Codestyle changes for SampleFDO library (#147840)

Commit
84 days ago
[NFC]Codestyle changes for SampleFDO library (#147840) * Introduce an error code for illegal_line_offset in sampleprof_error namespace, and use it for line offset parsing error. * Add `const` for `LineLocation::serialize`. * Use structured binding, make_first/second_range in loops. I'm working on a [sample-profile format change](https://github.com/llvm/llvm-project/compare/users/mingmingl-llvm/samplefdo-profile-format) to extend SampleFDO profile with vtable profiles. And this change splits the non-functional changes.
Parents
Loading