mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-29 17:36:06 +00:00

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
8 lines
280 B
C
8 lines
280 B
C
// 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
|