This is an archive of the discontinued LLVM Phabricator instance.

Replace to_hexString by touhexstring [NFC]
ClosedPublic

Authored by cor3ntin on Jun 16 2022, 5:57 AM.

Details

Reviewers
jhenderson
thakis
Group Reviewers
Restricted Project
Commits
rGb62e3a73e170: Replace to_hexString by touhexstr [NFC]
Summary

LLVM had 2 methods to convert a number to an hexa string,
this remove one of them.

Diff Detail

Event Timeline

cor3ntin created this revision.Jun 16 2022, 5:57 AM
Herald added projects: Restricted Project, Restricted Project. · View Herald Transcript
Herald added a reviewer: Restricted Project. · View Herald Transcript
cor3ntin requested review of this revision.Jun 16 2022, 5:57 AM
Herald added a project: Restricted Project. · View Herald TranscriptJun 16 2022, 5:57 AM
thakis added a subscriber: thakis.Jun 16 2022, 6:14 AM

typo "touhexstring" in commit message

thakis accepted this revision.Jun 16 2022, 6:18 AM

Other than the typo in the commit message, this lgtm. Optional suggestions below.

(If the LHS had followed these suggestions too, the diff would've been easier to review ;) )

llvm/include/llvm/Support/ScopedPrinter.h
97

nit: consider spelling the 2nd arg /*LowerCase=*/true

llvm/tools/llvm-profgen/PerfReader.cpp
472

nit: consider spelling the 2nd arg /*LowerCase=*/true

llvm/tools/llvm-readobj/ELFDumper.cpp
3325

nit: consider spelling the 2nd arg /*LowerCase=*/true

3327

nit: consider spelling the 2nd arg /*LowerCase=*/true

3328

nit: consider spelling the 2nd arg /*LowerCase=*/true

3329

nit: consider spelling the 2nd arg /*LowerCase=*/true

3532

nit: consider spelling the 2nd arg /*LowerCase=*/true

3564

nit: consider spelling the 2nd arg /*LowerCase=*/true

3617

nit: consider spelling the 2nd arg /*LowerCase=*/true

3682

...you get the idea

3840

same

3850

same

4061

same

This revision is now accepted and ready to land.Jun 16 2022, 6:18 AM
This revision was landed with ongoing or failed builds.Jun 16 2022, 8:30 AM
This revision was automatically updated to reflect the committed changes.

@thakis Thanks for the review. I've landed the change with the typo fixed and your suggestions applied