summaryrefslogtreecommitdiffstats
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorBrian Gesiak <modocache@gmail.com>2017-06-10 21:33:27 +0000
committerBrian Gesiak <modocache@gmail.com>2017-06-10 21:33:27 +0000
commit701386d5316db90aadac8bf97897af9bcc71d54a (patch)
tree419b59513b1cf6a5ac0867db6c1a4aae178bb875 /clang/lib/Frontend/CompilerInvocation.cpp
parent8622f51e94bb87ee57f1b2639b4b3a47ab52d5ba (diff)
downloadbcm5719-llvm-701386d5316db90aadac8bf97897af9bcc71d54a.tar.gz
bcm5719-llvm-701386d5316db90aadac8bf97897af9bcc71d54a.zip
[opt-viewer] Include default values in help output
Summary: Python's argparse module includes a `%(default)s` format specifier that can be used to print the default value of an option in its help text. Use this for opt-viewer utilities' `--jobs` arguments. Reviewers: anemet Reviewed By: anemet Subscribers: llvm-commits, fhahn Differential Revision: https://reviews.llvm.org/D34081 llvm-svn: 305155
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud