[all-commits] [llvm/llvm-project] 93b8f5: [llvm][TableGen] Fix value description made by Opt...
David Spickett via All-commits
all-commits at lists.llvm.org
Mon Nov 6 02:36:06 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 93b8f5695bb73fa381c00611b3aeefb3644192e1
https://github.com/llvm/llvm-project/commit/93b8f5695bb73fa381c00611b3aeefb3644192e1
Author: David Spickett <david.spickett at linaro.org>
Date: 2023-11-06 (Mon, 06 Nov 2023)
Changed paths:
M llvm/utils/TableGen/OptRSTEmitter.cpp
Log Message:
-----------
[llvm][TableGen] Fix value description made by OptRSTEmitter
When this was ported to clang-tblen for https://reviews.llvm.org/D123682,
some of the refactoring for the clang copy was backported to llvm,
but used .front instead of .back as clang does.
This means that if you have values "a, b, c" you get
"must be 'a', ' b' or 'a'." instead of "must be 'a', ' b' or 'c'.".
More information about the All-commits
mailing list