

Note: For subsequent Clang development, you can just run.

cmake -DLLVM_ENABLE_PROJECTS=clang -DCMAKE_BUILD_TYPE=Release -G "Unix Makefiles".You need a debug build, switch Release to Debug. This builds both LLVM and Clang in release mode.mkdir build (in-tree build is not supported).But if someone later becomes a contributor, since they can't push code from a shallow clone, it needs to be converted into a full clone:

