<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Hello Alexander,<br>
<br>
There is no way to do it using only clang and scan-build. It seems
that you need to analyze every TU separately, dump analysis
information somewhere and then analyze it manually, after analysis
of all TUs is finished.<br>
There may also be another way. Potentially, ASTImporter/ASTMerge
tools may help you with merging all the ASTs into a single one.
However, its implementation is incomplete and I'm not sure it is
suitable for your task.<br>
<br>
<br>
22.01.2016 15:21, Alexander Smirnov via cfe-dev пишет:<br>
</div>
<blockquote
cite="mid:CAL5YJuMv4bLySNBQcD-1t=AAuYTDE3sHrMO94M-TRK2KM+6Fjg@mail.gmail.com"
type="cite">
<div dir="ltr">Hello,
<div><br>
</div>
<div>I'm wondering is there a 'right' way to collect clang
analyzer checker results across Translation Units and make
some final check after analyzing of all TUs is done ?</div>
<div><br>
</div>
<div>I'm trying to build a checker to control that THERE IS some
implementation for methods of ObjC category. It's ad-hoc check
for our project, not a general checker for a wide auditory.</div>
<div><br>
</div>
<div>Best,</div>
<div>Alex</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
cfe-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:cfe-dev@lists.llvm.org">cfe-dev@lists.llvm.org</a>
<a class="moz-txt-link-freetext" href="http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev">http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev</a>
</pre>
</blockquote>
<br>
</body>
</html>