I was unsure whether to ask here or in superuser, but this site seemed more appropriate
I'm looking for documentation/analysis on Clang specifically for these two areas:
--analyze
flag, what exactly does it check?In the end, Apple chose to develop Clang, a new compiler front end that supports C, Objective-C and C++.
GCC supports more traditional languages than Clang and LLVM, such as Ada, Fortran, and Go. GCC supports more less-popular architectures, and supported RISC-V earlier than Clang and LLVM. GCC supports more language extensions and more assembly language features than Clang and LLVM.
bat for Clang and MSVC, both with 3 different build settings: Slow, Fast and Release. MSVC compiles both of them faster than Clang takes to compile just one.
GCC is slower to compile than clang, so I spend a lot of time compiling, but my final system is (usually) faster with GCC, so I have set GCC as my system compiler.
I did ask on the Clang mailing list and the documentation is non-existent at this point.
You can follow this thread for more information: http://lists.cs.uiuc.edu/pipermail/cfe-dev/2011-March/013655.html
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With