<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - use the CLang++ static analyser to find bugs"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=39596#c36">Comment # 36</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - use the CLang++ static analyser to find bugs"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=39596">bug 39596</a>
              from <span class="vcard"><a class="email" href="mailto:hoes.maarten@gmail.com" title="Maarten Hoes <hoes.maarten@gmail.com>"> <span class="fn">Maarten Hoes</span></a>
</span></b>
        <pre>I just noticed this option in the output of clang9 'scanbuild -h' :

 --exclude <path>

   Do not run static analyzer against files found in this
   directory (You can specify this option multiple times).
   Could be useful when project contains 3rd party libraries.

Although I have not actually tried it yet, it at least gives the impression
that it might do what you are looking for. I'm assuming we need to exclude at
least these :

$src/*/UnpackedTarball/*
$src/workdir/*
$build/workdir/*
$src/instdir/*
$src/external/*

I'm intrigued. I might take a look at this, but am not committing to anything
yet. Also, Diya Mourya might already have something here already.</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>