I’ll submit an issue to Clang project for this similar bug.
Since the problem only happens at the signature, I can work around the issue by doing a global search and replace of ::T
with an empty string. So the end result isn’t too bad.
Thanks for your help.