[clang] [clang] Fix nullptr dereference when checking friend default comparison (PR #132320)

2025-03-21 Thread Chongzhi Deng via cfe-commits
https://github.com/BruceAko updated https://github.com/llvm/llvm-project/pull/132320 >From 3268a174a694eacb57fe13b732ef961dc94bee0b Mon Sep 17 00:00:00 2001 From: BruceAko Date: Fri, 21 Mar 2025 07:54:16 + Subject: [PATCH] [clang] Fix nullptr dereference when checking friend default compar

[clang] [clang] Fix nullptr dereference when checking friend default comparison (PR #132320)

2025-03-21 Thread Chongzhi Deng via cfe-commits
https://github.com/BruceAko updated https://github.com/llvm/llvm-project/pull/132320 >From bcf24c8442023fbe9283b0746ea5d2ba3ecfb86f Mon Sep 17 00:00:00 2001 From: BruceAko Date: Fri, 21 Mar 2025 07:54:16 + Subject: [PATCH] [clang] Fix nullptr dereference when checking friend default compar

[clang] [clang] Fix friend declaration check (PR #132320)

2025-03-20 Thread Chongzhi Deng via cfe-commits
https://github.com/BruceAko edited https://github.com/llvm/llvm-project/pull/132320 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang] Fix friend declaration check (PR #132320)

2025-03-20 Thread Chongzhi Deng via cfe-commits
https://github.com/BruceAko created https://github.com/llvm/llvm-project/pull/132320 Fix a crash in `SemaDeclCXX.cpp` when defaulting a comparison operator that has been declared as a friend function alongside class friend declarations. When checking if a defaulted operator is a friend, the co