title: LLVM C++ IDE for Windows
body: <p>Is there some C/C++ IDE for Windows, which is <strong>integrated</strong> with the LLVM compiler (and Clang C/C++ analyzer), just like modern Xcode do.</p>
  
  <p>I have Dev-Cpp (it uses outdated GCC) and <a href="https://en.wikipedia.org/wiki/Code::Blocks" rel="noreferrer">Code::Blocks</a> (with some GCC). But GCC gives me very cryptic error messages. I want to get some more user-friendly error messages from the Clang frontend.</p>
  
  <p>Yes, Clang was not able to be used with complex C++ code, but trunk Clang  already can compile LLVM itself. So I wonder if is there any of LLVM IDEs in development or in beta versions.</p>
  
  <p>Yes, I can use Clang as other compiler with GCC-compatible IDEs. But is there any IDE, that are <em>integrated</em> with Clang? Clang have a different output format, so the IDE must parse it. Clang can provide IDE parsing of sources. Clang has an analyze option, which must be supported in an IDE. Take a look, e.g <a href="http://iosdevelopertips.com/xcode/static-code-analysis-clang-and-xcode-3-2.html" rel="noreferrer">http://iosdevelopertips.com/xcode/static-code-analysis-clang-and-xcode-3-2.html</a></p>
  
  <p>And the most wanted feature of Clang - is smart auto-completion, so the IDE can suggest only syntaxilly-correct variants, e.g. list only fields of this struct, class.</p>
  
  <p><strong>Results:</strong> (merged from answers):</p>
  
  <ul>
  <li>Eclipse with CDT>=8 and with <a href="https://code.google.com/archive/p/llvm4eclipsecdt/" rel="noreferrer">https://code.google.com/archive/p/llvm4eclipsecdt/</a> plugin, from Petri Tuononen (no smart auto-completion)</li>
  <li>Vim with vimrc from the LLVM project (smart completion only?) <a href="https://llvm.org/viewvc/llvm-project/llvm/trunk/utils/vim/" rel="noreferrer">https://llvm.org/viewvc/llvm-project/llvm/trunk/utils/vim/</a></li>
  <li>Emacs with (smart completion only?) <a href="https://llvm.org/svn/llvm-project/cfe/trunk/utils/clang-completion-mode.el" rel="noreferrer">https://llvm.org/svn/llvm-project/cfe/trunk/utils/clang-completion-mode.el</a></li>
  <li>Qt Creator: <a href="https://blog.qt.io/blog/2011/10/19/qt-creator-and-clang/" rel="noreferrer">https://blog.qt.io/blog/2011/10/19/qt-creator-and-clang/</a></li>
  <li>CodeLite: <a href="http://www.codelite.org/LiteEditor/ClangIntegration35" rel="noreferrer">http://www.codelite.org/LiteEditor/ClangIntegration35</a></li>
  </ul>