Fix a FIXME about the format and add a test.
[oota-llvm.git] / include / llvm / PassManager.h
index ce5fda79f9c7f9c73c1301d63854ea2e0c1af9a9..b6a8186a4e809b2049b01bfcdf143cd9778bfb65 100644 (file)
@@ -18,6 +18,7 @@
 #define LLVM_PASSMANAGER_H
 
 #include "llvm/Pass.h"
+#include "llvm/Support/CBindingWrapping.h"
 
 namespace llvm {
 
@@ -98,6 +99,9 @@ private:
   Module *M;
 };
 
+// Create wrappers for C Binding types (see CBindingWrapping.h).
+DEFINE_STDCXX_CONVERSION_FUNCTIONS(PassManagerBase, LLVMPassManagerRef)
+
 } // End llvm namespace
 
 #endif