[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
https://bugs.llvm.org/show_bug.cgi?id=42131
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:
https://bugs.llvm.org/show_bug.cgi?id=42245
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
--
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