projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
97d9730
)
though it isn't the case here, the key of a StringMap can
author
Chris Lattner
<sabre@nondot.org>
Thu, 14 Jul 2011 18:21:58 +0000
(18:21 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Thu, 14 Jul 2011 18:21:58 +0000
(18:21 +0000)
conceptually have nuls in it.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@135165
91177308
-0d34-0410-b5e6-
96231b3b80d8
utils/TableGen/LLVMCConfigurationEmitter.cpp
patch
|
blob
|
history
diff --git
a/utils/TableGen/LLVMCConfigurationEmitter.cpp
b/utils/TableGen/LLVMCConfigurationEmitter.cpp
index 090faf5085560c7075f09c8e66d2561ccb59f2c9..cd0cbeb1c6b308ead07dd7a242e682e706e1bc29 100644
(file)
--- a/
utils/TableGen/LLVMCConfigurationEmitter.cpp
+++ b/
utils/TableGen/LLVMCConfigurationEmitter.cpp
@@
-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 << "(";