//
// The LLVM Compiler Infrastructure
//
-// This file was developed by Reid Spencer and is distributed under the
-// University of Illinois Open Source License. See LICENSE.TXT for details.
+// This file is distributed under the University of Illinois Open Source
+// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
// This file declares the LLVMC_ConfigDataProvider class which implements the
// generation of ConfigData objects for the CompilerDriver.
//
-//===------------------------------------------------------------------------===
+//===----------------------------------------------------------------------===//
+
#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.
/// @{
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;
/// @}