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

conceptually have nuls in it.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@135165 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2011-07-14 18:21:58 +00:00
parent 97d9730a59
commit 154c535888

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 << "(";