<html>
    <head>
      <base href="https://bugs.llvm.org/">
    </head>
    <body><span class="vcard"><a class="email" href="mailto:renat@idrisov.info" title="Renat Idriso <renat@idrisov.info>"> <span class="fn">Renat Idriso</span></a>
</span> changed
          <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - Clang analyzer plugin was compiled with version "(null)""
   href="https://bugs.llvm.org/show_bug.cgi?id=42131">bug 42131</a>
          <br>
             <table border="1" cellspacing="0" cellpadding="8">
          <tr>
            <th>What</th>
            <th>Removed</th>
            <th>Added</th>
          </tr>

         <tr>
           <td style="text-align:right;">Status</td>
           <td>NEW
           </td>
           <td>RESOLVED
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Resolution</td>
           <td>---
           </td>
           <td>FIXED
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - Clang analyzer plugin was compiled with version "(null)""
   href="https://bugs.llvm.org/show_bug.cgi?id=42131#c1">Comment # 1</a>
              on <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - Clang analyzer plugin was compiled with version "(null)""
   href="https://bugs.llvm.org/show_bug.cgi?id=42131">bug 42131</a>
              from <span class="vcard"><a class="email" href="mailto:renat@idrisov.info" title="Renat Idriso <renat@idrisov.info>"> <span class="fn">Renat Idriso</span></a>
</span></b>
        <pre>I found workable example here:

<a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED INVALID - Clang analyzer 8.0.0 external plugin example"
   href="show_bug.cgi?id=42245">https://bugs.llvm.org/show_bug.cgi?id=42245</a>

the thing I was missing in the plugin code was:

```
extern "C"
const char clang_analyzerAPIVersionString[] =
CLANG_ANALYZER_API_VERSION_STRING;
```

the issue is resolved</pre>
        </div>
      </p>


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

      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>