Skip to content

Commit 322cf74

Browse files
committed
Fix call to utohexstr
This was passing a width but failed to pass the preceding boolean argument for whether to use to upper or lowercase hex digits. Amends d19ba74
1 parent b048b1b commit 322cf74

File tree

1 file changed

+3
-3
lines changed
  • clang-tools-extra/include-cleaner/lib

1 file changed

+3
-3
lines changed

clang-tools-extra/include-cleaner/lib/Types.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,9 @@ llvm::raw_ostream &operator<<(llvm::raw_ostream &OS, const SymbolReference &R) {
4747
// We can't decode the Location without SourceManager. Its raw representation
4848
// isn't completely useless (and distinguishes SymbolReference from Symbol).
4949
return OS << R.Target << "@0x"
50-
<< llvm::utohexstr(R.RefLocation.getRawEncoding(),
51-
/*Width=*/CHAR_BIT *
52-
sizeof(SourceLocation::UIntTy));
50+
<< llvm::utohexstr(
51+
R.RefLocation.getRawEncoding(), /*LowerCase=*/false,
52+
/*Width=*/CHAR_BIT * sizeof(SourceLocation::UIntTy));
5353
}
5454

5555
} // namespace clang::include_cleaner

0 commit comments

Comments
 (0)