swote-git wrote: Currently, this only about adding test code.
While adding these tests, I noticed two potential improvements to the current error message `"comma operator in operand of #if"`: 1. The same message appears for `#elif`, `#ifdef`, etc. 2. Per CWG 1436, comma operators are explicitly **not permitted** in preprocessor conditionals. The current message describes **where** the comma is, but doesn't clearly convey **why** it's prohibited. A clearer message should be more clear. https://github.com/llvm/llvm-project/pull/155570 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
