summaryrefslogtreecommitdiffstats
path: root/llvm/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
commitba3836bc7829b8a38279aa335655ad64eebef196 (patch)
treed994e228cdc79be56239156ace23719b0b33484e /llvm/tools/llvm-pdbutil/DiffPrinter.h
parent61d8450277a2b2a33f69a0e703fd38db67ef9bc0 (diff)
downloadbcm5719-llvm-ba3836bc7829b8a38279aa335655ad64eebef196.tar.gz
bcm5719-llvm-ba3836bc7829b8a38279aa335655ad64eebef196.zip
Revert "Build fixes for pdb-diff test."
This reverts commit 180af3fdbdb17ec35b45ec1f925fd743b28d37e1. This is still breaking due to linux-specific path differences. llvm-svn: 307559
Diffstat (limited to 'llvm/tools/llvm-pdbutil/DiffPrinter.h')
-rw-r--r--llvm/tools/llvm-pdbutil/DiffPrinter.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/tools/llvm-pdbutil/DiffPrinter.h b/llvm/tools/llvm-pdbutil/DiffPrinter.h
index 475747d8dc1..eeda92b072c 100644
--- a/llvm/tools/llvm-pdbutil/DiffPrinter.h
+++ b/llvm/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);
OpenPOWER on IntegriCloud