Wrap const MDNode * inside DIDescriptor.
[oota-llvm.git] / tools / lto / LTOModule.h
index 8fd3915e28ca46bf16ac91c34f86329462c7af0d..7f475d40aa0a88edf6aeaf241a52e8e0069fc899 100644 (file)
@@ -38,8 +38,7 @@ namespace llvm {
 //
 // C++ class which implements the opaque lto_module_t
 //
-class LTOModule {
-public:
+struct LTOModule {
 
     static bool              isBitcodeFile(const void* mem, size_t length);
     static bool              isBitcodeFile(const char* path);
@@ -107,7 +106,5 @@ private:
     llvm::StringMap<NameAndAttributes>      _undefines;
 };
 
-extern std::string getFeatureString(const char *TargetTriple);
-
 #endif // LTO_MODULE_H