Comment Static analyzer vs compiler (Score 1) 370
You can (and should) use the LLVM/Clang static analyzer regardless of whether you compile with LLVM, GCC, or the hybrid of the two. During development, it’s sometimes worth experimenting with the compiler you’re not using, e.g. if you’re struggling with an error message. I’ve generally found LLVM’s diagnostics more useful, but sometimes a second opinion can be helpful, and Googling a GCC error message generally gets more hits.