[llvm] [Tablegen] Add keyword `dump`. (PR #68793)
via llvm-commits
llvm-commits at lists.llvm.org
Fri Oct 13 02:23:39 PDT 2023
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 cacfac416c959ab06dd4f7978f0f2a067b1cb283 529758f60f323c59fbe895aa60667684de493adc -- llvm/include/llvm/TableGen/Error.h llvm/include/llvm/TableGen/Record.h llvm/lib/TableGen/Error.cpp llvm/lib/TableGen/Record.cpp llvm/lib/TableGen/TGLexer.cpp llvm/lib/TableGen/TGLexer.h llvm/lib/TableGen/TGParser.cpp llvm/lib/TableGen/TGParser.h
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/llvm/lib/TableGen/Record.cpp b/llvm/lib/TableGen/Record.cpp
index fe9dd35a3ab4..675969003ab3 100644
--- a/llvm/lib/TableGen/Record.cpp
+++ b/llvm/lib/TableGen/Record.cpp
@@ -809,7 +809,7 @@ Init *UnOpInit::Fold(Record *CurRec, bool IsFinal) const {
} else {
// Otherwise, print the value of the variable.
//
- // NOTE: we could recursively !repr the elements of a list,
+ // NOTE: we could recursively !repr the elements of a list,
// but that could produce a lot of output when printing a
// defset.
return StringInit::get(RK, LHS->getAsString());
``````````
</details>
https://github.com/llvm/llvm-project/pull/68793
More information about the llvm-commits
mailing list