[clang] [AST] Mark the fallthrough coreturn statement implicit. (PR #77465)

via cfe-commits cfe-commits at lists.llvm.org
Tue Jan 9 23:53:22 PST 2024


================
@@ -1743,7 +1743,7 @@ bool CoroutineStmtBuilder::makeOnFallthrough() {
       return false;
   } else if (HasRVoid) {
     Fallthrough = S.BuildCoreturnStmt(FD.getLocation(), nullptr,
-                                      /*IsImplicit*/false);
+                                      /*IsImplicit*/true);
----------------
cor3ntin wrote:

```suggestion
                                      /*IsImplicit=*/true);
```

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


More information about the cfe-commits mailing list