summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-cov/CoverageExporterLcov.h
diff options
context:
space:
mode:
authorVedant Kumar <vsk@apple.com>2019-10-29 15:47:23 -0700
committerVedant Kumar <vsk@apple.com>2019-10-29 18:26:33 -0700
commitbfed824b57d14e2ba98ddbaf1a1410cf04a3e279 (patch)
treeef8dc4694911d21ef423ad7c023fb4997b541be9 /llvm/tools/llvm-cov/CoverageExporterLcov.h
parent3b982b11f4e7c45c59ff80136efab7c116313e98 (diff)
downloadbcm5719-llvm-bfed824b57d14e2ba98ddbaf1a1410cf04a3e279.tar.gz
bcm5719-llvm-bfed824b57d14e2ba98ddbaf1a1410cf04a3e279.zip
[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
Diffstat (limited to 'llvm/tools/llvm-cov/CoverageExporterLcov.h')
-rw-r--r--llvm/tools/llvm-cov/CoverageExporterLcov.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/tools/llvm-cov/CoverageExporterLcov.h b/llvm/tools/llvm-cov/CoverageExporterLcov.h
index e8a260bf493..0ffeb1111b8 100644
--- a/llvm/tools/llvm-cov/CoverageExporterLcov.h
+++ b/llvm/tools/llvm-cov/CoverageExporterLcov.h
@@ -24,7 +24,7 @@ public:
: CoverageExporter(CoverageMapping, Options, OS) {}
/// Render the CoverageMapping object.
- void renderRoot(const CoverageFilters &IgnoreFilters) override;
+ void renderRoot(const FilenameCoverageFilters &FilenameFilters) override;
/// Render the CoverageMapping object for specified source files.
void renderRoot(ArrayRef<std::string> SourceFiles) override;
OpenPOWER on IntegriCloud