aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/Unix/COM.inc
diff options
context:
space:
mode:
authorZachary Turner <zturner@google.com>2015-04-27 17:19:26 +0000
committerZachary Turner <zturner@google.com>2015-04-27 17:19:26 +0000
commitc205570127c9f35607e55e96c4a2fac4c2553e99 (patch)
tree3915f9f2683dffdcca3549d6f94c04bbe5c82b1f /llvm/lib/Support/Unix/COM.inc
parent035025c0da0bbcd987093187b23ccd284d0942d9 (diff)
downloadllvm-c205570127c9f35607e55e96c4a2fac4c2553e99.zip
llvm-c205570127c9f35607e55e96c4a2fac4c2553e99.tar.gz
llvm-c205570127c9f35607e55e96c4a2fac4c2553e99.tar.bz2
Make an RAII com initializer.
Differential Revision: http://reviews.llvm.org/D9267 Reviewed By: Aaron Ballman, David Majnemer llvm-svn: 235898
Diffstat (limited to 'llvm/lib/Support/Unix/COM.inc')
-rw-r--r--llvm/lib/Support/Unix/COM.inc27
1 files changed, 27 insertions, 0 deletions
diff --git a/llvm/lib/Support/Unix/COM.inc b/llvm/lib/Support/Unix/COM.inc
new file mode 100644
index 0000000..c7b930b
--- /dev/null
+++ b/llvm/lib/Support/Unix/COM.inc
@@ -0,0 +1,27 @@
+//===- llvm/Support/Unix/COM.inc - Unix COM Implementation -----*- C++ -*-===//
+//
+// The LLVM Compiler Infrastructure
+//
+// This file is distributed under the University of Illinois Open Source
+// License. See LICENSE.TXT for details.
+//
+//===----------------------------------------------------------------------===//
+//
+// This file implements the Unix portion of COM support.
+//
+//===----------------------------------------------------------------------===//
+
+//===----------------------------------------------------------------------===//
+//=== WARNING: Implementation here must contain only generic UNIX code that
+//=== is guaranteed to work on *all* UNIX variants.
+//===----------------------------------------------------------------------===//
+
+namespace llvm {
+namespace sys {
+
+COMInitializer::COMInitializer(COMThreadingMode Threading,
+ bool SpeedOverMemory) {}
+
+COMInitializer::~COMInitializer() {}
+}
+}