diff options
author | Vedant Kumar <vsk@apple.com> | 2019-10-29 15:47:23 -0700 |
---|---|---|
committer | Vedant Kumar <vsk@apple.com> | 2019-10-29 18:26:33 -0700 |
commit | bfed824b57d14e2ba98ddbaf1a1410cf04a3e279 (patch) | |
tree | ef8dc4694911d21ef423ad7c023fb4997b541be9 /llvm/docs/CommandGuide/llvm-cov.rst | |
parent | 3b982b11f4e7c45c59ff80136efab7c116313e98 (diff) | |
download | bcm5719-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/docs/CommandGuide/llvm-cov.rst')
-rw-r--r-- | llvm/docs/CommandGuide/llvm-cov.rst | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/docs/CommandGuide/llvm-cov.rst b/llvm/docs/CommandGuide/llvm-cov.rst index 08123e8cb78..9bc9f7edae2 100644 --- a/llvm/docs/CommandGuide/llvm-cov.rst +++ b/llvm/docs/CommandGuide/llvm-cov.rst @@ -259,6 +259,10 @@ OPTIONS Skip source code files with file paths that match the given regular expression. +.. option:: -whitelist-filename-regex=<PATTERN> + + Show code coverage only for files that match the given regular expression. + .. option:: -format=<FORMAT> Use the specified output format. The supported formats are: "text", "html". |