[llvm-bugs] [Bug 42131] Clang analyzer plugin was compiled with version "(null)"

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Jun 12 09:29:13 PDT 2019


Renat Idriso <renat at idrisov.info> changed:

           What    |Removed                     |Added
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #1 from Renat Idriso <renat at idrisov.info> ---
I found workable example here:


the thing I was missing in the plugin code was:

extern "C"
const char clang_analyzerAPIVersionString[] =

the issue is resolved

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/20190612/a3450745/attachment.html>

More information about the llvm-bugs mailing list