Occasionally, I can see clangbackend process starting to continuously consume 100% of one CPU core. When this happens, QtCreator stops applying code coloring in the editor. This situation does not recover by itself, I have to restart QtCreator or kill clangbackend so it is restarted.
I do not have a reliable way to reproduce the issue, it just happens at random times while I'm editing C++ code, most often template function bodies. I cannot create a small reproducer project.
I've attached a bactrace of clangbackend during one of these busy loops.
|For Gerrit Dashboard: QTCREATORBUG-22010|
|253966,1||Clang: Fix potential infinite loop when resolving pointer type||4.9||qt-creator/qt-creator||Status: ABANDONED||0||0|
|253970,3||Clang: Fix infinite loop when resolving pointer type||4.8||qt-creator/qt-creator||Status: MERGED||+2||0|