diff options
author | NAKAMURA Takumi <geek4civic@gmail.com> | 2024-02-15 16:24:37 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-15 16:24:37 +0900 |
commit | ab76e48ac2c2dbfc7d6a600b9b0dd0672e6d9439 (patch) | |
tree | 47f591cd0cc4743f4f8e8e84f0df17c653e3384e /clang/lib/CodeGen/ModuleBuilder.cpp | |
parent | 36adfec155de366d722f2bac8ff9162289dcf06c (diff) | |
download | llvm-ab76e48ac2c2dbfc7d6a600b9b0dd0672e6d9439.zip llvm-ab76e48ac2c2dbfc7d6a600b9b0dd0672e6d9439.tar.gz llvm-ab76e48ac2c2dbfc7d6a600b9b0dd0672e6d9439.tar.bz2 |
[MC/DC] Refactor: Let MCDCConditionID int16_t with zero-origin (#81257)
Also, Let `NumConditions` `uint16_t`.
It is smarter to handle the ID as signed.
Narrowing to `int16_t` will reduce costs of handling byvalue. (See also
#81221 and #81227)
External behavior doesn't change. They below handle values as internal
values plus 1.
* `-dump-coverage-mapping`
* `CoverageMappingReader.cpp`
* `CoverageMappingWriter.cpp`
Diffstat (limited to 'clang/lib/CodeGen/ModuleBuilder.cpp')
0 files changed, 0 insertions, 0 deletions