mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-01-26 03:15:19 +00: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:
parent
8561721bce
commit
4f8dd9de31
@ -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…
x
Reference in New Issue
Block a user