[SimplifyLibCalls] Factor out common unsafe-math checks.
[oota-llvm.git] / lib / Support / COM.cpp
1 //===-- COM.cpp - Implement COM utility classes -----------------*- C++ -*-===//
2 //
3 //                     The LLVM Compiler Infrastructure
4 //
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9 //
10 //  This file implements utility classes related to COM.
11 //
12 //===----------------------------------------------------------------------===//
13
14 #include "llvm/Support/COM.h"
15
16 #include "llvm/Config/config.h"
17
18 // Include the platform-specific parts of this class.
19 #ifdef LLVM_ON_UNIX
20 #include "Unix/COM.inc"
21 #elif LLVM_ON_WIN32
22 #include "Windows/COM.inc"
23 #endif