summaryrefslogtreecommitdiffstats
path: root/llvm/lib/TextAPI/MachO/PackedVersion.cpp
diff options
context:
space:
mode:
authorJonas Devlieghere <jonas@devlieghere.com>2018-11-29 00:22:28 +0000
committerJonas Devlieghere <jonas@devlieghere.com>2018-11-29 00:22:28 +0000
commitcef2af0f3ca753f2a804183fd43760c450682613 (patch)
treea2aa89d589b36863f97e4df75e2479eceaae685e /llvm/lib/TextAPI/MachO/PackedVersion.cpp
parentf2143761d6450d7be992f69602e1826e3e5774f4 (diff)
downloadbcm5719-llvm-cef2af0f3ca753f2a804183fd43760c450682613.tar.gz
bcm5719-llvm-cef2af0f3ca753f2a804183fd43760c450682613.zip
[driver] Fix --core/-c and add test
Because the optarg variable was shadowed we didn't notice we weren't extracting the value from the option. This patch fixes that and renames the variable to prevent this from happening in the future. I also added two tests to check the error output for --core and --file when the given value doesn't exist. llvm-svn: 347821
Diffstat (limited to 'llvm/lib/TextAPI/MachO/PackedVersion.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud