diff options
author | Aaron Ballman <aaron@aaronballman.com> | 2022-11-08 11:50:10 -0500 |
---|---|---|
committer | Aaron Ballman <aaron@aaronballman.com> | 2022-11-08 11:51:47 -0500 |
commit | 322cf744b926a31986f78d74c79713e412cf811d (patch) | |
tree | 2ad99c87231ab43e3e3ed0c2ec769af675378b22 | |
parent | b048b1b769aaf93abe22c01ac2ecad7d68762811 (diff) | |
download | llvm-322cf744b926a31986f78d74c79713e412cf811d.zip llvm-322cf744b926a31986f78d74c79713e412cf811d.tar.gz llvm-322cf744b926a31986f78d74c79713e412cf811d.tar.bz2 |
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 d19ba74dee0b9ab553bd8a6ef5b67ff349f4bf13
-rw-r--r-- | clang-tools-extra/include-cleaner/lib/Types.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/clang-tools-extra/include-cleaner/lib/Types.cpp b/clang-tools-extra/include-cleaner/lib/Types.cpp index d7b7be2..ed15092 100644 --- a/clang-tools-extra/include-cleaner/lib/Types.cpp +++ b/clang-tools-extra/include-cleaner/lib/Types.cpp @@ -47,9 +47,9 @@ llvm::raw_ostream &operator<<(llvm::raw_ostream &OS, const SymbolReference &R) { // We can't decode the Location without SourceManager. Its raw representation // isn't completely useless (and distinguishes SymbolReference from Symbol). return OS << R.Target << "@0x" - << llvm::utohexstr(R.RefLocation.getRawEncoding(), - /*Width=*/CHAR_BIT * - sizeof(SourceLocation::UIntTy)); + << llvm::utohexstr( + R.RefLocation.getRawEncoding(), /*LowerCase=*/false, + /*Width=*/CHAR_BIT * sizeof(SourceLocation::UIntTy)); } } // namespace clang::include_cleaner |