[LLVMbugs] [Bug 22594] New: exclude specified paths from analysis with scan-build

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sun Feb 15 02:23:51 PST 2015


http://llvm.org/bugs/show_bug.cgi?id=22594

            Bug ID: 22594
           Summary: exclude specified paths from analysis with scan-build
           Product: clang
           Version: trunk
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Static Analyzer
          Assignee: kremenek at apple.com
          Reporter: lbalbalba at gmail.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

An option to exclude specified paths from the generated analysis report. This
would allow for specific code parts that are part of the build to be excluded
from the resulting report.


For example:

scan-build --exclude=/foo/src/mycodebase/nothisdir make


Would result in analysis of the project located in '/foo/src/mycodebase/' and
it's subdirs, but would exclude '/foo/src/mycodebase/nothisdir' in the
generated report.

This would be useful in a scenario where a build project has a lot of
prerequisite/dependent code that does get included in a build of the project,
but may not be of primary interest for the developers of the main project.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20150215/8c746f06/attachment.html>


More information about the llvm-bugs mailing list