https://github.com/AaronBallman commented:
Thank you for working on this! I was trying to devise a test case that would exercise the issue... and I think I've convinced myself this entire function is dead code. It only seems to be possible to reach in C++ mode, but `ident<ident>` is annotated as a typename before getting into a code path that would lead here. I removed the code entirely and ran the test suite and no tests failed. @rjmccall -- do you have ideas on how we can trigger the issue here or do you think this code can be removed? https://github.com/llvm/llvm-project/pull/95917 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits