Fix Path::GetMainExecutable on cygwin, patch by Sam Bishop.
[oota-llvm.git] / tools / llvmc / Configuration.h
index 12d0a956beb5fa6d5baf988f0cd508c5615d1736..410e9af77e75b624c7c15a749c33c44124bea4b6 100644 (file)
@@ -15,8 +15,8 @@
 #ifndef LLVM_TOOLS_LLVMC_CONFIGDATA_H
 #define LLVM_TOOLS_LLVMC_CONFIGDATA_H
 
+#include "llvm/ADT/StringMap.h"
 #include "CompilerDriver.h"
-#include <llvm/ADT/hash_map>
 
 namespace llvm {
   /// This class provides the high level interface to the LLVM Compiler Driver.
@@ -52,7 +52,7 @@ namespace llvm {
     /// @{
     private:
       /// @brief This type is used internally to hold the configuration data.
-      typedef hash_map<std::string,CompilerDriver::ConfigData*> ConfigDataMap;
+      typedef StringMap<CompilerDriver::ConfigData*> ConfigDataMap;
       ConfigDataMap Configurations; ///< The cache of configurations
       sys::Path configDir;
     /// @}