1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-20 19:42:54 +02:00

though it isn't the case here, the key of a StringMap can

conceptually have nuls in it.

llvm-svn: 135165
This commit is contained in:
Chris Lattner 2011-07-14 18:21:58 +00:00
parent 5d982469f8
commit b252bb8f86

View File

@ -2969,8 +2969,8 @@ void EmitHookDeclarations(const ToolDescriptions& ToolDescs,
for (HookInfoMap::const_iterator B = HookNames.begin(),
E = HookNames.end(); B != E; ++B) {
const char* HookName = B->first();
const HookInfo& Info = B->second;
StringRef HookName = B->first();
const HookInfo &Info = B->second;
O.indent(Indent1) << "std::string " << HookName << "(";