github-actions[bot] wrote: <!--LLVM CODE FORMAT COMMENT: {clang-format}-->
:warning: C/C++ code formatter, clang-format found issues in your code. :warning: <details> <summary> You can test this locally with the following command: </summary> ``````````bash git-clang-format --diff 962a6970f2827bcdda574426701c7c57f79a1ccf cdbf2a137ed7ba0a6d40f955072ef636ee93b292 -- clang/test/SemaOpenACC/no-branch-in-out.cpp clang/include/clang/Sema/Scope.h clang/lib/Sema/SemaStmt.cpp clang/test/SemaOpenACC/no-branch-in-out.c `````````` </details> <details> <summary> View the diff from clang-format here. </summary> ``````````diff diff --git a/clang/include/clang/Sema/Scope.h b/clang/include/clang/Sema/Scope.h index 370133cd74..b6b5a1f347 100644 --- a/clang/include/clang/Sema/Scope.h +++ b/clang/include/clang/Sema/Scope.h @@ -525,10 +525,10 @@ public: for (const Scope *S = this; S; S = S->getParent()) { if (S->getFlags() & Scope::OpenACCComputeConstructScope) return true; - else if (S->getFlags() & (Scope::FnScope | Scope::ClassScope | - Scope::BlockScope | Scope::TemplateParamScope | - Scope::FunctionPrototypeScope | - Scope::AtCatchScope | Scope::ObjCMethodScope)) + else if (S->getFlags() & + (Scope::FnScope | Scope::ClassScope | Scope::BlockScope | + Scope::TemplateParamScope | Scope::FunctionPrototypeScope | + Scope::AtCatchScope | Scope::ObjCMethodScope)) return false; } return false; `````````` </details> https://github.com/llvm/llvm-project/pull/82814 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits