https://github.com/erichkeane commented:
I don't think this patch is the right way forward. We shouldn't lie to the user about the type, and have to count on the left side of the diagnostic to tell them how to analyze the types to figure out the problem. Qualifiers are part of the type, so being incorrect here isn't something we typically do. https://github.com/llvm/llvm-project/pull/128614 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits