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 origin/main HEAD --extensions h,cpp -- 
flang/include/flang/Evaluate/tools.h 
flang/include/flang/Lower/HostAssociations.h 
flang/include/flang/Lower/PFTBuilder.h flang/include/flang/Semantics/symbol.h 
flang/lib/Evaluate/tools.cpp flang/lib/Frontend/CompilerInvocation.cpp 
flang/lib/Frontend/ParserActions.cpp flang/lib/Lower/Bridge.cpp 
flang/lib/Lower/HostAssociations.cpp flang/lib/Lower/PFTBuilder.cpp 
flang/tools/bbc/bbc.cpp flang/unittests/Frontend/CompilerInstanceTest.cpp 
--diff_from_common_commit
``````````

:warning:
The reproduction instructions above might return results for more than one PR
in a stack if you are using a stacked PR workflow. You can limit the results by
changing `origin/main` to the base branch/commit you want to compare against.
:warning:

</details>

<details>
<summary>
View the diff from clang-format here.
</summary>

``````````diff
diff --git a/flang/include/flang/Semantics/symbol.h 
b/flang/include/flang/Semantics/symbol.h
index 1de5a7b74..af182e4a2 100644
--- a/flang/include/flang/Semantics/symbol.h
+++ b/flang/include/flang/Semantics/symbol.h
@@ -971,8 +971,7 @@ public:
       OmpThreadprivate, OmpDeclareReduction, OmpFlushed, OmpCriticalLock,
       OmpIfSpecified, OmpNone, OmpPreDetermined, OmpExplicit, OmpImplicit,
       OmpDependObject, OmpInclusiveScan, OmpExclusiveScan, OmpInScanReduction,
-      OmpUniform, OmpAssumesNoOpenmp,
-      OmpMainGlobal);
+      OmpUniform, OmpAssumesNoOpenmp, OmpMainGlobal);
   using Flags = common::EnumSet<Flag, Flag_enumSize>;
 
   const Scope &owner() const { return *owner_; }

``````````

</details>


https://github.com/llvm/llvm-project/pull/236384
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to