Wednesday, April 7, 2010

Error recovery features in Clang

Came across this blogpost about the cool clang error recovery features:

Clang really goes "above and beyond the call of duty" to deliver good error messages. For example, it has a built-in spell-checker, so that if you type "int64" instead of "int64_t", it will actually point that out. It also detects source code conflict markers, and only parse one side of it (failing of course, but without attempting to parse the conflict markers).

This is probably very true:
It's sad but true that being an experienced C++ programmer really means that you're adept at decyphering the error messages that your compiler spews at you.

No comments: