[clang] [clang] Correct FixIt ranges for unused capture warnings (PR #141148)
via cfe-commits
cfe-commits at lists.llvm.org
Tue Jun 3 02:54:31 PDT 2025
================
@@ -2095,6 +2101,39 @@ FieldDecl *Sema::BuildCaptureField(RecordDecl *RD,
return Field;
}
+static SourceRange
+constructFixItRangeForUnusedCapture(Sema &S, SourceRange CaptureRange,
----------------
cor3ntin wrote:
```suggestion
ConstructFixItRangeForUnusedCapture(Sema &S, SourceRange CaptureRange,
```
https://github.com/llvm/llvm-project/pull/141148
More information about the cfe-commits
mailing list