C++ compiler diagnostic pain points in Clang
Compilers use "diagnostics" to communicate with people. Most of the time these come in the form of errors and warnings, but some compilers also issue notes and remarks.

The ISO C++ Annual Survey often notes that "error messages" are a pain point for many programmers, but they don't collect why they're a problem. This survey aims to garner more insight into developer experience with compiler diagnostics, in order to work out how to improve Clang's diagnostics.

In this section, we ask questions about Clang, as it is today. All questions are optional.
Sign in to Google to save your progress. Learn more
With respect to other C++ compilers, how satisfied are you with Clang's diagnostics?
Very dissatisfied
Very satisfied
Clear selection
With respect to compilers for other programming languages, how happy are you with Clang's C++ diagnostics?
Very dissatisfied
Very satisfied
Clear selection
In a typical week, how much time do you spend trying to figure out what Clang is trying to tell you?

(This is different to working out how to fix the error.)
Clear selection
In a typical week, how many times have you spent an hour or more on a diagnostic, that if it were clearer, would've taken a couple of moments to fix?
Clear selection
How often do you find these statements to be true? (You can leave rows blank.) Clang diagnostics...
Never
Rarely
Sometimes
Often
Always
can be too verbose
can be too short
can be too long and still not get the message across
can be unstructured
give too much context
give too little context
give too much context, but not what I need
Clear selection
Pick up to 3 areas of Clang diagnostics that you think should be improved the most. If you think something else should be improved you can add it in the next question.
Prioritise first
Prioritise second
Prioritise third
Overload sets
Implicit conversions
Undeclared symbols
Templates
Concepts
Clear selection
Please share the best and/or worst error messages you’ve experienced with Clang. Let us know why they were memorably clear/unclear.
What other feedback would you like to pass on about Clang diagnostics as they are today?
Next
Clear form
Never submit passwords through Google Forms.
This form was created inside of Google.com. Privacy & Terms