User forums > General (but related to Code::Blocks)

Integration with LLVM/clang

<< < (2/4) > >>

stahta01:

--- Quote from: JohnBaptist on October 05, 2009, 03:56:40 am ---The C++ part of clang works fine based on my non-thorough experiments. I don't know if it works with Boost or the STL yet, but this being worked on, and the fact that work is not complete shouldn't dissuade us from implementing support for the compiler in Code::Blocks. We should get started now, so that when it is finished, this will be the first fully *nix-based IDE that fully supports LLVM/clang.

--- End quote ---

Feel free to start work on an Compiler Plugin using LLVM, I see no reason till I can use LLVM to compile C++ code under windows. The debug plugin is what is normally hard for new compiler support.

My testing on windows has "Hello World" failing. Might be an option issue, but I think some thing is missing/wrong with Compiler/Library under windows.

Tim S.

heromyth:
That's a great idea. I think I can do something as your whish. A long time ago, I hacked CB a little :)
My main programming langs are C/C++/D, and the OS are WinXP SP3 and FreeBSD.

I think I can take some tasks from this project. You can contact me via e-mail:zxpmyth at yahoo.com.cn

Kazade:

--- Quote from: oBFusCATed on October 05, 2009, 02:53:47 am ---
Another thing to have in mind is the license compatibility between C::B and clang -> GPL3 and the LLVM license.
Are they compatible? Can C::B link to llvm/clang libs?

I don't understand licenses much, so I can't tell, we need a lawyer or someone who understands the GPL.

--- End quote ---

I'm no lawyer, but Clang is released under the BSD license which is more liberal than GPL and so compatible. There would be no issue with C::B linking to it.

Clang could help with both code completion AND static code analysis (e.g. underlining errors in red). I think if C::B got in early and started integrating Clang NOW then when Clang is feature complete, Code Blocks would have unmatched code completion and syntax checking in C++. If I had the time, I'd start implementing plugins for this. But I would recommend that those guys working on code completion start looking at providing a Clang "backend" for it.

stealthpaladin:
Integrating with LLVM would also give C::B more flexibility with Open CL developers (especially those coding in C++, which needs more developer support right now!) That's why I got to this topic today, isn't there some kind of file that could be edited to at least rig it together for now?

bluephoenix:
Has there been any process on this?
Is a plugin available?

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version