[clang] [clang][Sema] Fix a bug when instantiating a lambda with requires clause (PR #65193)

Erich Keane via cfe-commits cfe-commits at lists.llvm.org
Mon Oct 2 12:58:44 PDT 2023


================
@@ -7370,7 +7370,8 @@ class Sema final {
   public:
     LambdaScopeForCallOperatorInstantiationRAII(
         Sema &SemasRef, FunctionDecl *FD, MultiLevelTemplateArgumentList MLTAL,
-        LocalInstantiationScope &Scope);
+        LocalInstantiationScope &Scope,
+        bool shouldAddDeclsFromParentScope = true);
----------------
erichkeane wrote:

```suggestion
        bool ShouldAddDeclsFromParentScope = true);
```

https://github.com/llvm/llvm-project/pull/65193


More information about the cfe-commits mailing list