[llvm-cxxdump] Remove duplicate code check.
authorDavide Italiano <davide@freebsd.org>
Tue, 15 Sep 2015 23:35:32 +0000 (23:35 +0000)
committerDavide Italiano <davide@freebsd.org>
Tue, 15 Sep 2015 23:35:32 +0000 (23:35 +0000)
commita4ff83ab8fca56796912147a6aca32040360d157
treeae3bb4ad9163b658de2957990721488d6ced9f77
parent5e60a68a2de963c4f0cae2056e3365d97e1c35b0
[llvm-cxxdump] Remove duplicate code check.

We already fail with 'No such file or directory' when we try to open
the file -- if that doesn't exist. Also add a test to verify this behavior.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@247744 91177308-0d34-0410-b5e6-96231b3b80d8
test/tools/llvm-cxxdump/trivial.test
tools/llvm-cxxdump/llvm-cxxdump.cpp