Top "Clang" questions

For questions about the clang LLVM compiler front end.

How can I install clang-format in Ubuntu?

I am trying to use clang-tools in particular clang-format for automatic code formatting in vim but I couldn't find this …

vim clang code-formatting clang-format
How can I use C++ 11 features in Clang?

How can I use the latest C++ 11 features in Clang? What (sub)set of features is supported?

c++ c++11 clang
How to call clang-format over a cpp project folder?

Is there a way to call something like clang-format --style=Webkit for an entire cpp project folder, rather than running …

c++ clang clang-format
What are the differences between -std=c++11 and -std=gnu++11?

What are the differences between -std=c++11 and -std=gnu++11 as compilation parameter for gcc and clang? Same question with …

c++ gcc c++11 clang
LLVM C++ IDE for Windows

Is there some C/C++ IDE for Windows, which is integrated with the LLVM compiler (and Clang C/C++ analyzer), …

c++ windows ide llvm clang
GCC -g vs -g3 GDB Flag: What is the Difference?

When compiling C source code with either gcc or Clang, I always use the -g flag to generate debugging information …

c debugging gcc gdb clang
"'cc' failed with exit status 1" error when install python library

Like many others, I'm having issues installing a python library (downloaded as a tar, then extracted). rodolphe-mbp:python-Levenshtein-0.11.2 Rodolphe$ sudo …

python clang osx-mavericks xcode5.1
member initializer does not name a non-static data member or base class

I'm having a hard time finding hits on google for this. struct a { float m_x; float m_z; public: …

c++ c++11 clang
How to fix PCH error?

When I try to build my app in Xcode, I get this error message: PCH file built from a different …

xcode clang precompiled-headers
Xcode: ld: library not found for -lAFNetworking

Because of this one reason, build always fails...Any ideas about what I could try? EDIT: the solution is to …

xcode clang afnetworking cocoapods ld