[clang] Implement current CWG direction for string literal comparisons. (PR #109208)

2024-09-18 Thread Richard Smith via cfe-commits
https://github.com/zygoloid ready_for_review https://github.com/llvm/llvm-project/pull/109208 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] Implement current CWG direction for string literal comparisons. (PR #109208)

2024-09-18 Thread Richard Smith via cfe-commits
https://github.com/zygoloid updated https://github.com/llvm/llvm-project/pull/109208 >From 81193568c17a89f6cf42f43a82fb1fbf0f90184d Mon Sep 17 00:00:00 2001 From: Richard Smith Date: Wed, 18 Sep 2024 21:59:56 + Subject: [PATCH 1/2] Implement current CWG direction for string literal compari

[clang] Implement current CWG direction for string literal comparisons. (PR #109208)

2024-09-18 Thread Richard Smith via cfe-commits
https://github.com/zygoloid created https://github.com/llvm/llvm-project/pull/109208 Track the identity of each string literal object produced by evaluation with a global version number. Accept comparisons between literals of the same version, and between literals of different versions that cann