[llvm] [clang] [clang-tools-extra] [clang] reject to capture variable in `RequiresExprBodyDecl` (PR #78598)
Erich Keane via cfe-commits
cfe-commits at lists.llvm.org
Mon Feb 5 07:44:36 PST 2024
================
@@ -19706,22 +19706,29 @@ static void buildLambdaCaptureFixit(Sema &Sema, LambdaScopeInfo *LSI,
}
}
+static DeclContext *ignoreReuquiresBodyDecl(DeclContext *DC) {
----------------
erichkeane wrote:
```suggestion
static DeclContext *ignoreRequiresBodyDecl(DeclContext *DC) {
```
https://github.com/llvm/llvm-project/pull/78598
More information about the cfe-commits
mailing list