llvm-mirror/clang — reverse-engineered prompt

Reverse engineered prompt

I want this codebase turned into a working local build of Clang, basically a usable compiler front end for C, C++, Objective C, and Objective C++. Please get it building cleanly, wire up whatever is needed so I can run it from the command line, and make sure I can use it on a few tiny example source files to prove it works. If the static analyzer in here is meant to be usable too, set that up as well and show me a simple example of running it.

This repo looks like an older mirror, so if anything here is outdated or incomplete, use the current LLVM and Clang docs online to fill in the gaps. Please leave the project in a state where someone can clone it, build it, run a basic test or two, and understand the exact commands to compile a small program and see the output.

Want more depth? Deep Reverse