[clang] [OpenMP] clang/Driver/Options.td - fix typo in fopenmp-force-usm HelpText (PR #93599)

Tobias Burnus via cfe-commits cfe-commits at lists.llvm.org
Tue May 28 12:05:03 PDT 2024


https://github.com/tob2 created https://github.com/llvm/llvm-project/pull/93599

This is a follow up to commit fa4780fa6cc36188b84b2a977ac15351c39d45dd and #76571

@jplehr @jhuber6

>From 2d792bc3f3246dde4a8963dfb7503f811c7ab68f Mon Sep 17 00:00:00 2001
From: Tobias Burnus <tburnus at baylibre.com>
Date: Tue, 28 May 2024 21:03:32 +0200
Subject: [PATCH] [OpenMP] clang/Driver/Options.td - fix typo in
 fopenmp-force-usm HelpText

This is a follow up to commit fa4780fa6cc36188b84b2a977ac15351c39d45dd
and #76571
---
 clang/include/clang/Driver/Options.td | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/clang/include/clang/Driver/Options.td b/clang/include/clang/Driver/Options.td
index de2f245fb29f8e..8342cfb7d7b26a 100644
--- a/clang/include/clang/Driver/Options.td
+++ b/clang/include/clang/Driver/Options.td
@@ -3575,7 +3575,7 @@ def fopenmp_offload_mandatory : Flag<["-"], "fopenmp-offload-mandatory">, Group<
   MarshallingInfoFlag<LangOpts<"OpenMPOffloadMandatory">>;
 def fopenmp_force_usm : Flag<["-"], "fopenmp-force-usm">, Group<f_Group>,
   Flags<[NoArgumentUnused]>, Visibility<[ClangOption, CC1Option]>,
-  HelpText<"Force behvaior as if the user specified pragma omp requires unified_shared_memory.">,
+  HelpText<"Force behavior as if the user specified pragma omp requires unified_shared_memory.">,
   MarshallingInfoFlag<LangOpts<"OpenMPForceUSM">>;
 def fopenmp_target_jit : Flag<["-"], "fopenmp-target-jit">, Group<f_Group>,
   Flags<[NoArgumentUnused]>, Visibility<[ClangOption, CLOption]>,



More information about the cfe-commits mailing list