From: Hans Wennborg Date: Mon, 24 Sep 2018 08:34:17 +0000 (+0000) Subject: Fix llvm-diff anon-func.ll test X-Git-Tag: llvmorg-8.0.0-rc1~8118 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=cd23593f02db0decfa5af016b51f725c5d290d02;p=platform%2Fupstream%2Fllvm.git Fix llvm-diff anon-func.ll test llvm-svn: 342864 --- diff --git a/llvm/tools/llvm-diff/DifferenceEngine.cpp b/llvm/tools/llvm-diff/DifferenceEngine.cpp index 5be533d..b2673c1 100644 --- a/llvm/tools/llvm-diff/DifferenceEngine.cpp +++ b/llvm/tools/llvm-diff/DifferenceEngine.cpp @@ -720,10 +720,10 @@ void DifferenceEngine::diff(Module *L, Module *R) { if (LeftAnonCount != 0 || RightAnonCount != 0) { SmallString<32> Tmp; - Twine Message = "not comparing " + Twine(LeftAnonCount) + - " anonymous functions in the left module and " + Twine(RightAnonCount) + - " in the right module"; - logf(Message.toStringRef(Tmp)); + logf(("not comparing " + Twine(LeftAnonCount) + + " anonymous functions in the left module and " + + Twine(RightAnonCount) + " in the right module") + .toStringRef(Tmp)); } for (SmallVectorImpl >::iterator