clang-import-test had some dead code. I did the following to eliminate it:
authorSean Callanan <scallanan@apple.com>
Mon, 10 Jul 2017 23:47:00 +0000 (23:47 +0000)
committerSean Callanan <scallanan@apple.com>
Mon, 10 Jul 2017 23:47:00 +0000 (23:47 +0000)
commit17c8c20d7ee6b7d8a1e277be405953a0bf647351
treee3e4e2becd10941dea5d522d99cf150122430311
parent7eaf1d96ad9a90d077e5cb0b299fe132ac793868
clang-import-test had some dead code. I did the following to eliminate it:

- eliminated error handling for the indirect CompilerInstance, which should
  never generate an error as it is created;
- added a new test for direct importation; and
- removed an unused implementation of the CompleteType() API.

This brings clang-import-test.cpp and ExternalASTMerge.cpp back to 100%
coverage on all metrics measured by DLLVM_BUILD_INSTRUMENTED_COVERAGE.

Differential Revision: https://reviews.llvm.org/D35220

llvm-svn: 307600
clang/include/clang/AST/ExternalASTMerger.h
clang/lib/AST/ExternalASTMerger.cpp
clang/test/Import/direct/Inputs/S.c [new file with mode: 0644]
clang/test/Import/direct/test.c [new file with mode: 0644]