From 10d47de15430d097b433e359cd96802a512a4eb4 Mon Sep 17 00:00:00 2001
From: Benjamin Kramer <benny.kra@googlemail.com>
Date: Wed, 13 Mar 2013 13:50:47 +0000
Subject: [PATCH] Add one more overload to make VS2008's debug mody happy.

sigh.

llvm-svn: 176946
---
 lib/Target/TargetLibraryInfo.cpp | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/lib/Target/TargetLibraryInfo.cpp b/lib/Target/TargetLibraryInfo.cpp
index c6cafe59ebd..ee88ce77c09 100644
--- a/lib/Target/TargetLibraryInfo.cpp
+++ b/lib/Target/TargetLibraryInfo.cpp
@@ -610,6 +610,9 @@ struct StringComparator {
   // Provided for compatibility with MSVC's debug mode.
   bool operator()(StringRef LHS, const char *RHS) const { return LHS < RHS; }
   bool operator()(StringRef LHS, StringRef RHS) const { return LHS < RHS; }
+  bool operator()(const char *LHS, const char *RHS) const {
+    return std::strcmp(LHS, RHS) < 0;
+  }
 };
 }