aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorEnrico Granata <egranata@apple.com>2014-09-15 17:52:44 +0000
committerEnrico Granata <egranata@apple.com>2014-09-15 17:52:44 +0000
commit735152e3b0f2ddb37f1c540a74a4b4f007225cb6 (patch)
treee28d8a29d99d1a4308f428c707661ec79660507e /clang/lib/CodeGen/CodeGenModule.cpp
parent9a78334b969d662855bcfd52303db794c7dd7c8b (diff)
downloadllvm-735152e3b0f2ddb37f1c540a74a4b4f007225cb6.zip
llvm-735152e3b0f2ddb37f1c540a74a4b4f007225cb6.tar.gz
llvm-735152e3b0f2ddb37f1c540a74a4b4f007225cb6.tar.bz2
Add a --help (-h) option to "command script add" that enables users to define a one-liner short help for their command
Also, in case they don't define any, change the default from "Run Python function <blah>" into "For more information run help <blah>" The core issue here is that Python only allows one docstring per function, so we can't really attach both a short and a long help to the same command easily There are alternatives but this is not a pressing enough concern to go through the motions quite yet Fixes rdar://18322737 llvm-svn: 217795
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions