Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add CoreOption flag to "-coverage" option to make it available for cl…
…ang-cl Summary: The -coverage option is not a CoreOption, so it is not available to clang-cl. This patch adds the CoreOption flag to "-coverage" to allow it to be used with clang-cl. Reviewers: rnk Reviewed By: rnk Subscribers: cfe-commits Differential Revision: https://reviews.llvm.org/D38221 llvm-svn: 317709
- Loading branch information
Showing
2 changed files
with
8 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
// Test coverage flag. | ||
// | ||
// RUN: %clang_cl -### -coverage %s -o foo/bar.o 2>&1 | FileCheck -check-prefix=CLANG-CL-COVERAGE %s | ||
// CLANG-CL-COVERAGE-NOT: error: | ||
// CLANG-CL-COVERAGE-NOT: warning: | ||
// CLANG-CL-COVERAGE-NOT: argument unused | ||
// CLANG-CL-COVERAGE-NOT: unknown argument |