B
B
bfDeveloper2012-03-25 17:42:38
IDE
bfDeveloper, 2012-03-25 17:42:38

Clang based IDE?

Are there any IDEs that use clang not only as a compiler, but also as a tool for autocompletion, syntax highlighting, static analysis? The fact is that it is very inconvenient to write using the same variadic templates without a hint, and clang, as I understand it, must work correctly with all the code that it can compile.
I tried to build QtCreator from the wip/clang branch that uses clang, but the result is no different from the usual 2.5, which does not recognize either templates or user-defined literals.
The purpose of the question is not mainly to get an IDE that understands and highlights everything as it should, but an IDE based on clang. I really want to get to know this animal.
UPD1: Linux or Windows operating system.
UPD2: CodeLite partially solves the problem . He can use clang for analysis, but for some reason he does not know how to use clang as a compiler. Now I'm trying to figure it out, but so far the opinion is twofold: the prompter can do everything, but slowly and somehow not conveniently.
UPD3: CodeLite may use clang as a compiler, thinking it's g++. I just changed the compiler settings from g++ to clang and it worked. In any case, this is not the most convenient IDE. The most interesting thing will be to learn about the successful experience of building QtCreator.

Answer the question

In order to leave comments, you need to log in

4 answer(s)
I
ixSci, 2012-03-25
@ixSci

Why didn't you specify the OS? I believe XCode is using clang to build the index, but I'm not sure.

G
Gribozavr, 2012-03-25
@gribozavr

The LLVM and clang repositories have scripts for vim and emacs if you just want to see how it works.

C
Caefah, 2013-10-16
@Caefah

CodeLite 5.2 supports clang natively. It is enough to choose a compiler for the project.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question