summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvmc
diff options
context:
space:
mode:
authorMikhail Glushenkov <foldr@codedgers.com>2009-01-21 13:04:33 +0000
committerMikhail Glushenkov <foldr@codedgers.com>2009-01-21 13:04:33 +0000
commitfbc89cecad574a630822f27274cb3077110f0a9b (patch)
tree659491d33a8eb2802d54029be97636a21b9883fb /llvm/tools/llvmc
parentbf9716e15d040e32caf87dad5f7bdbad6dd50f77 (diff)
downloadbcm5719-llvm-fbc89cecad574a630822f27274cb3077110f0a9b.tar.gz
bcm5719-llvm-fbc89cecad574a630822f27274cb3077110f0a9b.zip
Change the hook API back to prevent memory leaks.
llvm-svn: 62686
Diffstat (limited to 'llvm/tools/llvmc')
-rw-r--r--llvm/tools/llvmc/doc/LLVMC-Reference.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/tools/llvmc/doc/LLVMC-Reference.rst b/llvm/tools/llvmc/doc/LLVMC-Reference.rst
index 9eb927c1658..53049d7b3c2 100644
--- a/llvm/tools/llvmc/doc/LLVMC-Reference.rst
+++ b/llvm/tools/llvmc/doc/LLVMC-Reference.rst
@@ -565,7 +565,7 @@ or names in the configuration file. This can be easily achieved via
the hooks mechanism. To write your own hooks, just add their
definitions to the ``PluginMain.cpp`` or drop a ``.cpp`` file into the
your plugin directory. Hooks should live in the ``hooks`` namespace
-and have the signature ``const char* hooks::MyHookName ([const char*
+and have the signature ``std::string hooks::MyHookName ([const char*
Arg0 [ const char* Arg2 [, ...]]])``. They can be used from the
``cmd_line`` tool property::
OpenPOWER on IntegriCloud