diff options
| -rw-r--r-- | llvm/include/llvm/ADT/Triple.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/llvm/include/llvm/ADT/Triple.h b/llvm/include/llvm/ADT/Triple.h index 8d968e8fa3a..4b53ad2f689 100644 --- a/llvm/include/llvm/ADT/Triple.h +++ b/llvm/include/llvm/ADT/Triple.h @@ -318,6 +318,11 @@ public: 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(); |

