From cd23593f02db0decfa5af016b51f725c5d290d02 Mon Sep 17 00:00:00 2001 From: Hans Wennborg Date: Mon, 24 Sep 2018 08:34:17 +0000 Subject: Fix llvm-diff anon-func.ll test llvm-svn: 342864 --- llvm/tools/llvm-diff/DifferenceEngine.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'llvm/tools/llvm-diff/DifferenceEngine.cpp') diff --git a/llvm/tools/llvm-diff/DifferenceEngine.cpp b/llvm/tools/llvm-diff/DifferenceEngine.cpp index 5be533d9af3..b2673c1407f 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 -- cgit v1.2.3