[llvm] r342864 - Fix llvm-diff anon-func.ll test
Hans Wennborg via llvm-commits
llvm-commits at lists.llvm.org
Mon Sep 24 01:34:17 PDT 2018
Author: hans
Date: Mon Sep 24 01:34:17 2018
New Revision: 342864
URL: http://llvm.org/viewvc/llvm-project?rev=342864&view=rev
Log:
Fix llvm-diff anon-func.ll test
Modified:
llvm/trunk/tools/llvm-diff/DifferenceEngine.cpp
Modified: llvm/trunk/tools/llvm-diff/DifferenceEngine.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/llvm-diff/DifferenceEngine.cpp?rev=342864&r1=342863&r2=342864&view=diff
==============================================================================
--- llvm/trunk/tools/llvm-diff/DifferenceEngine.cpp (original)
+++ llvm/trunk/tools/llvm-diff/DifferenceEngine.cpp Mon Sep 24 01:34:17 2018
@@ -720,10 +720,10 @@ void DifferenceEngine::diff(Module *L, M
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<std::pair<Function*,Function*> >::iterator
More information about the llvm-commits
mailing list