]> granicus.if.org Git - llvm/commit
CommandLine option: Relax the assertion introduced in r290467 to allows for empty...
authorMehdi Amini <mehdi.amini@apple.com>
Sun, 8 Jan 2017 22:30:43 +0000 (22:30 +0000)
committerMehdi Amini <mehdi.amini@apple.com>
Sun, 8 Jan 2017 22:30:43 +0000 (22:30 +0000)
commit8839e0c24030a76151a39c6098f1e6a2e39e1898
treef0067aa0223854b5f12df3cff3231999e402dfed
parent7b2b2ad242dbe90f673af16d3264ba0a8c6ca35c
CommandLine option: Relax the assertion introduced in r290467 to allows for empty string

This is used in LDC for custom boolean commandline options, setArgStr
is called with an empty string before using AddLiteralOption.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@291406 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Support/CommandLine.cpp