Author: Aaron Ballman Date: 2022-11-08T11:51:47-05:00 New Revision: 322cf744b926a31986f78d74c79713e412cf811d
URL: https://github.com/llvm/llvm-project/commit/322cf744b926a31986f78d74c79713e412cf811d DIFF: https://github.com/llvm/llvm-project/commit/322cf744b926a31986f78d74c79713e412cf811d.diff LOG: 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 Added: Modified: clang-tools-extra/include-cleaner/lib/Types.cpp Removed: ################################################################################ diff --git a/clang-tools-extra/include-cleaner/lib/Types.cpp b/clang-tools-extra/include-cleaner/lib/Types.cpp index d7b7be26e23e..ed1509295896 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 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits