HomePhabricator

[test-suite] Fix Unit Tests for Code Coverage

Authored by lenary on Mar 3 2021, 1:58 AM.

Description

[test-suite] Fix Unit Tests for Code Coverage

https://reviews.llvm.org/D88931 recently landed to add more tests to the
test suite to improve coverage of parts of clang. These tests caused
errors on some platforms, which was caught in post-commit review.

This change replaces the use of "%i" with the equivalent specifiers for
those types from inttypes.h, and updates the reference output to
correctly account for formatting unsigned arguments using unsigned
format specifiers.

Reviewed By: yroux

Differential Revision: https://reviews.llvm.org/D97686

Details

Committed
lenaryMar 3 2021, 1:59 AM
Reviewer
yroux
Differential Revision
D97686: [test-suite] Fix Unit Tests for Code Coverage
Parents
rTeac0ed543746: [test-suite] Update .arcconfig to match LLVM.
Branches
Unknown
Tags
Unknown