- Correct version of patch.

Hi rnk, asl, chandlerc,

http://llvm-reviews.chandlerc.com/D1455

CHANGE SINCE LAST DIFF
  http://llvm-reviews.chandlerc.com/D1455?vs=3620&id=3621#toc

Files:
  include/llvm/ADT/Triple.h

Index: include/llvm/ADT/Triple.h
===================================================================
--- include/llvm/ADT/Triple.h
+++ include/llvm/ADT/Triple.h
@@ -318,6 +318,11 @@
     return getOS() == Triple::Cygwin || getOS() == Triple::MinGW32;
   }
 
+  /// \brief Is this a "Windows" OS targeting a "MSVCRT.dll" environment.
+  bool isOSMSVCRT() const {
+    return getOS() == Triple::Win32 || getOS() == Triple::MinGW32;
+  }
+
   /// isOSWindows - Is this a "Windows" OS.
   bool isOSWindows() const {
     return getOS() == Triple::Win32 || isOSCygMing();
Index: include/llvm/ADT/Triple.h
===================================================================
--- include/llvm/ADT/Triple.h
+++ include/llvm/ADT/Triple.h
@@ -318,6 +318,11 @@
     return getOS() == Triple::Cygwin || getOS() == Triple::MinGW32;
   }
 
+  /// \brief Is this a "Windows" OS targeting a "MSVCRT.dll" environment.
+  bool isOSMSVCRT() const {
+    return getOS() == Triple::Win32 || getOS() == Triple::MinGW32;
+  }
+
   /// isOSWindows - Is this a "Windows" OS.
   bool isOSWindows() const {
     return getOS() == Triple::Win32 || isOSCygMing();
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to