llvmorg-github-actions[bot] wrote:
<!--LLVM PR SUMMARY COMMENT--> @llvm/pr-subscribers-clang Author: David Pagan (ddpagan) <details> <summary>Changes</summary> --- Full diff: https://github.com/llvm/llvm-project/pull/197052.diff 1 Files Affected: - (modified) clang/lib/CodeGen/CGOpenMPRuntime.cpp (+3-3) ``````````diff diff --git a/clang/lib/CodeGen/CGOpenMPRuntime.cpp b/clang/lib/CodeGen/CGOpenMPRuntime.cpp index 7cdc206aea0c4..ec059f9dfef82 100644 --- a/clang/lib/CodeGen/CGOpenMPRuntime.cpp +++ b/clang/lib/CodeGen/CGOpenMPRuntime.cpp @@ -11291,7 +11291,7 @@ bool CGOpenMPRuntime::emitTargetFunctions(GlobalDecl GD) { return true; } - // Do not to emit function if it is not marked as declare target. + // Do not emit function if it is not marked as declare target. return !OMPDeclareTargetDeclAttr::isDeclareTargetDeclaration(VD) && AlreadyEmittedTargetDecls.count(VD) == 0; } @@ -11321,7 +11321,7 @@ bool CGOpenMPRuntime::emitTargetGlobalVariable(GlobalDecl GD) { } } - // Do not to emit variable if it is not marked as declare target. + // Do not emit variable if it is not marked as declare target. std::optional<OMPDeclareTargetDeclAttr::MapTypeTy> Res = OMPDeclareTargetDeclAttr::isDeclareTargetDeclaration( cast<VarDecl>(GD.getDecl())); @@ -11501,7 +11501,7 @@ bool CGOpenMPRuntime::markAsGlobalTarget(GlobalDecl GD) { return true; const auto *D = cast<FunctionDecl>(GD.getDecl()); - // Do not to emit function if it is marked as declare target as it was already + // Do not emit function if it is marked as declare target as it was already // emitted. if (OMPDeclareTargetDeclAttr::isDeclareTargetDeclaration(D)) { if (D->hasBody() && AlreadyEmittedTargetDecls.count(D) == 0) { `````````` </details> https://github.com/llvm/llvm-project/pull/197052 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
