clang-based cross-platform C++ IDE?

HighCommander4 picture HighCommander4 · Oct 22, 2011 · Viewed 18.4k times · Source

The clang C++ compiler claims to be built for, among other things, better IDE integration by providing an API for the IDE to use for tasks such as parsing the code.

So, are there are any good C++ IDE's that use clang to provide features such as semantic highlighting, refactoring, and finding and showing semantic errors in real-time?

I've been using Eclipse CDT, but its C++ parser is full of imperfections that cause the IDE to report a lot of annoying false positive errors in the code. I would like to have an IDE that reports an error if and only if the compiler would report the same error, hence my interest in an IDE that's built on a compiler's internals.

I'm primarily interested in cross-platform IDE's, although I wouldn't mind knowing about single-platform ones for Windows or Linux (so not Xcode), as long as they are FOSS (another reason why not Xcode).

Answer

rubenvb picture rubenvb · Oct 22, 2011

Qt Creator is basing their next-gen code parsing and associated functionality on Clang:

http://blog.qt.digia.com/blog/2011/10/19/qt-creator-and-clang/

Looks very, very promising!