Skip to content

Commit 342770e

Browse files
Merge pull request #85992 from cachemeifyoucan/eng/PR-nfc-printCompileJobCacheKey
[NFC] Direct printCompileJobCacheKey to correct raw_ostream
2 parents c2758ea + cf759f6 commit 342770e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

lib/Frontend/CompileJobCacheKey.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -152,10 +152,10 @@ llvm::Error swift::printCompileJobCacheKey(llvm::cas::ObjectStore &CAS,
152152
if (Err)
153153
return Err;
154154

155-
llvm::outs() << "Cache Key " << CAS.getID(Key).toString() << "\n";
156-
llvm::outs() << "Swift Compiler Invocation Info:\n";
157-
llvm::outs() << BaseStr;
158-
llvm::outs() << "Input index: " << InputIndex << "\n";
155+
OS << "Cache Key " << CAS.getID(Key).toString() << "\n";
156+
OS << "Swift Compiler Invocation Info:\n";
157+
OS << BaseStr;
158+
OS << "Input index: " << InputIndex << "\n";
159159

160160
return llvm::Error::success();
161161
}

0 commit comments

Comments
 (0)