[clang] [clang][Sema] Fix particular operator overload crash (PR #105976)

2024-09-02 Thread Nicolas van Kempen via cfe-commits
nicovank wrote: The reason for the break in 0cb7e7ca0c864e052bf49978f3bcd667c9e16930 is that prior to this commit, using declarations were always kept at the front of the `NamedDecl` list. This behavior was changed in that commit. See a comment here: https://github.com/llvm/llvm-project/blob/3

[clang] [clang][Sema] Fix particular operator overload crash (PR #105976)

2024-09-02 Thread Nicolas van Kempen via cfe-commits
https://github.com/nicovank updated https://github.com/llvm/llvm-project/pull/105976 >From 465eadc6e5f83470764a14071f62f272c3cd7921 Mon Sep 17 00:00:00 2001 From: Nicolas van Kempen Date: Tue, 3 Sep 2024 00:43:30 -0400 Subject: [PATCH] [clang] Keep using declarations at head of list in addOrRe

[clang] [clang][Sema] Fix particular operator overload crash (PR #105976)

2024-08-26 Thread Nicolas van Kempen via cfe-commits
@@ -7425,6 +7425,13 @@ void Sema::AddMethodCandidate(DeclAccessPair FoundDecl, QualType ObjectType, /*ExplicitArgs*/ nullptr, ObjectType, ObjectClassification, Args, CandidateSet, Supp

[clang] [clang][Sema] Fix particular operator overload crash (PR #105976)

2024-08-26 Thread Matheus Izvekov via cfe-commits
@@ -7425,6 +7425,13 @@ void Sema::AddMethodCandidate(DeclAccessPair FoundDecl, QualType ObjectType, /*ExplicitArgs*/ nullptr, ObjectType, ObjectClassification, Args, CandidateSet, Supp

[clang] [clang][Sema] Fix particular operator overload crash (PR #105976)

2024-08-24 Thread Nicolas van Kempen via cfe-commits
https://github.com/nicovank updated https://github.com/llvm/llvm-project/pull/105976 >From 033d4003154440fb00c62c0e85fe3dac4af10d22 Mon Sep 17 00:00:00 2001 From: Nicolas van Kempen Date: Sun, 25 Aug 2024 02:57:55 -0400 Subject: [PATCH] [clang][Sema] Fix particular operator overload crash Fix

[clang] [clang][Sema] Fix particular operator overload crash (PR #105976)

2024-08-24 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Nicolas van Kempen (nicovank) Changes Fix #104883. Fix #104800. Thanks @Endilll for the reduced reproducer. Bisection points to 0cb7e7ca0c864e052bf49978f3bcd667c9e16930 as the faulty commit, but nothing there seems to indicate what the p

[clang] [clang][Sema] Fix particular operator overload crash (PR #105976)

2024-08-24 Thread Nicolas van Kempen via cfe-commits
https://github.com/nicovank created https://github.com/llvm/llvm-project/pull/105976 Fix #104883. Fix #104800. Thanks @Endilll for the reduced reproducer. Bisection points to 0cb7e7ca0c864e052bf49978f3bcd667c9e16930 as the faulty commit, but nothing there seems to indicate what the problem is