Skip to content

Commit 8c4a428

Browse files
committed
[clang][docs][RISCV] Pre-pend the HelpText for -mrvv-vector-bits into the DocBrief.
The DocBrief is used to generate the webpage description of the optio. The current text only talks about the possible values, but not what the option does.
1 parent fd43215 commit 8c4a428

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

clang/include/clang/Driver/Options.td

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5056,9 +5056,10 @@ def mrvv_vector_bits_EQ : Joined<["-"], "mrvv-vector-bits=">, Group<m_Group>,
50565056
Visibility<[ClangOption, FlangOption]>,
50575057
HelpText<"Specify the size in bits of an RVV vector register">,
50585058
DocBrief<!strconcat(
5059-
"Defaults to the vector length agnostic value of \"scalable\". "
5060-
"Accepts power of 2 values between 64 and 65536. Also accepts "
5061-
"\"zvl\" to use the value implied by -march/-mcpu.",
5059+
"Specify the size in bits of an RVV vector register. Defaults to the "
5060+
"vector length agnostic value of \"scalable\". Accepts power of 2 values "
5061+
"between 64 and 65536. Also accepts \"zvl\" to use the value implied by "
5062+
"-march/-mcpu.",
50625063
!cond(
50635064
// Flang does not set the preprocessor define.
50645065
!eq(GlobalDocumentation.Program, "Flang") : "",

0 commit comments

Comments
 (0)