summaryrefslogtreecommitdiff
path: root/tools/llvm-pdbutil/DiffPrinter.h
diff options
context:
space:
mode:
authorZachary Turner <zturner@google.com>2017-07-10 17:32:47 +0000
committerZachary Turner <zturner@google.com>2017-07-10 17:32:47 +0000
commit18a8461632e5905c88ae973a85c59fa4e472929b (patch)
treece14ca6788738bed958739d7ecac966b237b341d /tools/llvm-pdbutil/DiffPrinter.h
parente584c228c647e6583e2d6627d9f2e489d9c647b3 (diff)
Revert "Build fixes for pdb-diff test."
This reverts commit 180af3fdbdb17ec35b45ec1f925fd743b28d37e1. This is still breaking due to linux-specific path differences. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@307559 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/llvm-pdbutil/DiffPrinter.h')
-rw-r--r--tools/llvm-pdbutil/DiffPrinter.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/llvm-pdbutil/DiffPrinter.h b/tools/llvm-pdbutil/DiffPrinter.h
index 475747d8dc1..eeda92b072c 100644
--- a/tools/llvm-pdbutil/DiffPrinter.h
+++ b/tools/llvm-pdbutil/DiffPrinter.h
@@ -43,7 +43,7 @@ struct IdenticalDiffProvider {
return (Left == Right) ? DiffResult::IDENTICAL : DiffResult::DIFFERENT;
}
- template <typename T> std::string format(const T &Item, bool Right) {
+ template <typename T> std::string format(const T &Item) {
return formatv("{0}", Item).str();
}
};
@@ -54,7 +54,7 @@ struct EquivalentDiffProvider {
return (Left == Right) ? DiffResult::IDENTICAL : DiffResult::EQUIVALENT;
}
- template <typename T> std::string format(const T &Item, bool Right) {
+ template <typename T> std::string format(const T &Item) {
return formatv("{0}", Item).str();
}
};
@@ -71,8 +71,8 @@ public:
template <typename Provider = IdenticalDiffProvider, typename T, typename U>
void print(StringRef Property, const T &Left, const U &Right,
Provider P = Provider()) {
- std::string L = P.format(Left, false);
- std::string R = P.format(Right, true);
+ std::string L = P.format(Left);
+ std::string R = P.format(Right);
DiffResult Result = P.compare(Left, Right);
printExplicit(Property, Result, L, R);