[PATCH] Make an RAII initializer for COM on Windows

Zachary Turner zturner at google.com
Fri Apr 24 14:39:00 PDT 2015


Hi aaron.ballman, compnerd,

Patch should be fairly self-explanatory.  Implementation is empty on non-Windows platforms, and on Windows platforms simply calls CoInitializeEx and CoUninitialize.

http://reviews.llvm.org/D9267

Files:
  include/llvm/Support/COM.h
  lib/Support/CMakeLists.txt
  lib/Support/COM.cpp
  lib/Support/Unix/COM.inc
  lib/Support/Windows/COM.inc

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D9267.24416.patch
Type: text/x-patch
Size: 5166 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150424/ec3bca7f/attachment.bin>


More information about the llvm-commits mailing list