mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 04:30:23 +00:00
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:
parent
97d9730a59
commit
154c535888
@ -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 << "(";
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user