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 842a332f11f53c698fa0560505e533ecdca28876 
28fb0bd68f1feb2284c9000f2f36c0d91552f8ff --extensions cpp,h -- 
clang/test/OpenMP/target_map_nest_defalut_mapper_ast_dump.cpp 
clang/test/OpenMP/target_map_nest_defalut_mapper_codegen.cpp 
offload/test/mapping/declare_mapper_nested_default_mappers_1.cpp 
clang/include/clang/AST/OpenMPClause.h clang/lib/Sema/SemaOpenMP.cpp
``````````

</details>

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

``````````diff
diff --git a/clang/lib/Sema/SemaOpenMP.cpp b/clang/lib/Sema/SemaOpenMP.cpp
index f57fe3f9fc..1203ff70b5 100644
--- a/clang/lib/Sema/SemaOpenMP.cpp
+++ b/clang/lib/Sema/SemaOpenMP.cpp
@@ -5820,8 +5820,8 @@ static void buildImplicitMapper(Sema &S, QualType 
BaseType, DSAStackTy *Stack,
   DeclarationName MapperId;
   auto &DeclNames = Ctx.DeclarationNames;
   MapperId = DeclNames.getIdentifier(&Ctx.Idents.get("default"));
-  auto *DMD = OMPDeclareMapperDecl::Create(
-      Ctx, DCT, SourceLocation(), MapperId, BaseType, MapperId, Maps, nullptr);
+  auto *DMD = OMPDeclareMapperDecl::Create(Ctx, DCT, SourceLocation(), 
MapperId,
+                                           BaseType, MapperId, Maps, nullptr);
   Scope *Scope = S.getScopeForContext(DCT);
   if (Scope)
     S.PushOnScopeChains(DMD, Scope, /*AddToContext*/ false);

``````````

</details>


https://github.com/llvm/llvm-project/pull/101101
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to