[all-commits] [llvm/llvm-project] bfed82: [llvm-cov] Add option to whitelist filenames

Vedant Kumar via All-commits all-commits at lists.llvm.org
Tue Oct 29 18:40:07 PDT 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: bfed824b57d14e2ba98ddbaf1a1410cf04a3e279
      https://github.com/llvm/llvm-project/commit/bfed824b57d14e2ba98ddbaf1a1410cf04a3e279
  Author: Vedant Kumar <vsk at apple.com>
  Date:   2019-10-29 (Tue, 29 Oct 2019)

  Changed paths:
    M llvm/docs/CommandGuide/llvm-cov.rst
    A llvm/test/tools/llvm-cov/whitelist-filename-regex.test
    M llvm/tools/llvm-cov/CodeCoverage.cpp
    M llvm/tools/llvm-cov/CoverageExporter.h
    M llvm/tools/llvm-cov/CoverageExporterJson.cpp
    M llvm/tools/llvm-cov/CoverageExporterJson.h
    M llvm/tools/llvm-cov/CoverageExporterLcov.cpp
    M llvm/tools/llvm-cov/CoverageExporterLcov.h
    M llvm/tools/llvm-cov/CoverageFilters.cpp
    M llvm/tools/llvm-cov/CoverageFilters.h
    M llvm/tools/llvm-cov/CoverageReport.cpp
    M llvm/tools/llvm-cov/CoverageReport.h

  Log Message:
  -----------
  [llvm-cov] Add option to whitelist filenames

Add the `-whitelist-filename-regex` option to restrict coverage
reporting to file paths that match a whitelist regex.

Patch by Michael Daniels!

rdar://56720320




More information about the All-commits mailing list