[clang] [FixIt] Improve Source Ranges and Fix-It Hints for Unused Lambda Captures #106445 (PR #117953)
Oliver Hunt via cfe-commits
cfe-commits at lists.llvm.org
Wed May 21 14:06:12 PDT 2025
================
@@ -1633,8 +1633,8 @@ static void repeatForLambdaConversionFunctionCallingConvs(
CC_C, CC_X86StdCall, CC_X86FastCall, CC_X86VectorCall,
DefaultFree, DefaultMember, CallOpCC};
llvm::sort(Convs);
- llvm::iterator_range<CallingConv *> Range(
- std::begin(Convs), std::unique(std::begin(Convs), std::end(Convs)));
+ llvm::iterator_range<CallingConv *> Range(std::begin(Convs),
----------------
ojhunt wrote:
I think there's no actual behavioral change so just reverting this specific change seems reasonable - ideally we want to avoid unrelated changes from PRs
https://github.com/llvm/llvm-project/pull/117953
More information about the cfe-commits
mailing list