Index: include/llvm/Support/ErrorOr.h =================================================================== --- include/llvm/Support/ErrorOr.h +++ include/llvm/Support/ErrorOr.h @@ -212,7 +212,7 @@ } template - static bool compareThisIfSameType(const T1 &a, const T2 &b) { + static bool compareThisIfSameType(const T1 &, const T2 &) { return false; }