[ms-inline asm] Add support for parsing complex immediate expressions. Test
[oota-llvm.git] / lib / Target / TargetLibraryInfo.cpp
index c6cafe59ebd8c9d59ba0f8c35556b83fb02ce10b..ee88ce77c09fc3d525059588cca13442979f34b2 100644 (file)
@@ -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;
+  }
 };
 }