aboutsummaryrefslogtreecommitdiffstats
path: root/tools/llvmc/Configuration.h
diff options
context:
space:
mode:
authorAnton Korobeynikov <asl@math.spbu.ru>2008-02-20 11:28:26 +0000
committerAnton Korobeynikov <asl@math.spbu.ru>2008-02-20 11:28:26 +0000
commit87ab838945609a74bd4757a87dbd2718ed2061ae (patch)
treeb8f73b39dcaff25cbfaf503f47ff2a892240cbe1 /tools/llvmc/Configuration.h
parent05d33ee7e7c61f156d1143ec461309798d9b268b (diff)
downloadexternal_llvm-87ab838945609a74bd4757a87dbd2718ed2061ae.zip
external_llvm-87ab838945609a74bd4757a87dbd2718ed2061ae.tar.gz
external_llvm-87ab838945609a74bd4757a87dbd2718ed2061ae.tar.bz2
Get rid of hash_map in llvmc
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47374 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/llvmc/Configuration.h')
-rw-r--r--tools/llvmc/Configuration.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/llvmc/Configuration.h b/tools/llvmc/Configuration.h
index 12d0a95..410e9af 100644
--- a/tools/llvmc/Configuration.h
+++ b/tools/llvmc/Configuration.h
@@ -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;
/// @}