diff --git a/clang-tools-extra/include-cleaner/lib/Types.cpp b/clang-tools-extra/include-cleaner/lib/Types.cpp index 68907917ea640f..68311546f724c2 100644 --- a/clang-tools-extra/include-cleaner/lib/Types.cpp +++ b/clang-tools-extra/include-cleaner/lib/Types.cpp @@ -46,7 +46,7 @@ llvm::raw_ostream &operator<<(llvm::raw_ostream &OS, const Include &I) { 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" + return OS << R.RT << " reference to " << R.Target << "@0x" << llvm::utohexstr( R.RefLocation.getRawEncoding(), /*LowerCase=*/false, /*Width=*/CHAR_BIT * sizeof(SourceLocation::UIntTy));