license question about source link to clang

If I implement a Codeblocks’ plug-in which is statically link to the libclang library.see:[1]

As I know, the clang/llvm has a BSD like license, but as Codeblock has GPLV3 license.

So, my question is: If I would like to release the plug-in source in GPLV3, is this possible? or there are some conflict?

Sorry If I’m wrong.



ollydbg from codeblocks’ forum.

I’m not a lawyer, but it is commonly understood that the LLVM/UIUC license is compatible with the GPL. The FSF has a web page that discusses license compatibility somewhere.


Chris Lattner <> writes:

Thanks Chris for the reply.

I'm not a lawyer either.:slight_smile:

I have found the FAQ
see:Frequently Asked Questions about the GNU Licenses - GNU Project - Free Software Foundation

but after reading for several hours, I still does no get the clean answer.
I know that LLVM/UIUC's license is compatible with GPL, but if my code was statically link to libclang, can I publish the code under GPLV3 ?

This is the main point I still can't find under the FAQ.


ollydbg from codeblocks' forum

My understanding is that if you add code to libclang and link that into a GPL app, that the entire unit is GPL including the code you add.


Thanks for the response.

So, The answer is definitely "YES" to my original question.

I just asked in stackoverflow site, and get the same answer here:

Finally, it seems that currently there's no barrier to start a New Codecompletion plugin for Codeblocks now.

ollydbg from codeblocks' forum