<feed xmlns='http://www.w3.org/2005/Atom'>
<title>llvm-project.git/clang/unittests/Format/FormatTestTableGen.cpp, branch main</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/'/>
<entry>
<title>[clang-format] Fix TableGen nested DAGArg format (#155837)</title>
<updated>2025-08-31T07:08:34+00:00</updated>
<author>
<name>Hirofumi Nakamura</name>
<email>k.nakamura.hirofumi@gmail.com</email>
</author>
<published>2025-08-31T07:08:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=bfc841108211f3739591b1583913ebe78c7cfd92'/>
<id>bfc841108211f3739591b1583913ebe78c7cfd92</id>
<content type='text'>
Fixes https://github.com/llvm/llvm-project/issues/154634. 
Allow inserting space before DAGArg's opener paren when nested.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes https://github.com/llvm/llvm-project/issues/154634. 
Allow inserting space before DAGArg's opener paren when nested.</pre>
</div>
</content>
</entry>
<entry>
<title>[clang-format] Recognize TableGen paste operator on separate line (#133722)</title>
<updated>2025-04-10T12:52:02+00:00</updated>
<author>
<name>sstwcw</name>
<email>su3e8a96kzlver@posteo.net</email>
</author>
<published>2025-04-10T12:52:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=f7617f7f909102080f1a0cee46f8ca75ec8d14ff'/>
<id>f7617f7f909102080f1a0cee46f8ca75ec8d14ff</id>
<content type='text'>
Formatting this piece of code made the program crash.

```
class TypedVecListRegOperand&lt;RegisterClass Reg, int lanes, string eltsize&gt;
    : RegisterOperand&lt;Reg, "printTypedVectorList&lt;" # lanes # ", '"
                                                   # eltsize # "'&gt;"&gt;;
```

The line starting with the `#` was treated as a separate preprocessor
directive line. Then the code dereferenced a null pointer when it tried
to continue parsing the first line that did not end in a semicolon.

Now the 2 problems are fixed.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Formatting this piece of code made the program crash.

```
class TypedVecListRegOperand&lt;RegisterClass Reg, int lanes, string eltsize&gt;
    : RegisterOperand&lt;Reg, "printTypedVectorList&lt;" # lanes # ", '"
                                                   # eltsize # "'&gt;"&gt;;
```

The line starting with the `#` was treated as a separate preprocessor
directive line. Then the code dereferenced a null pointer when it tried
to continue parsing the first line that did not end in a semicolon.

Now the 2 problems are fixed.
</pre>
</div>
</content>
</entry>
<entry>
<title>[clang-format] Fix a TableGen crash on comment after l_paren (#124380)</title>
<updated>2025-01-26T02:31:42+00:00</updated>
<author>
<name>Owen Pan</name>
<email>owenpiano@gmail.com</email>
</author>
<published>2025-01-26T02:31:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=c1ec5beb4ab36c2c4d99ed6d735d217e74364771'/>
<id>c1ec5beb4ab36c2c4d99ed6d735d217e74364771</id>
<content type='text'>
Fixes #124248.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes #124248.</pre>
</div>
</content>
</entry>
<entry>
<title>[clang-format][NFC] Remove redundnat llvm::, clang::, etc.</title>
<updated>2024-05-21T03:32:18+00:00</updated>
<author>
<name>Owen Pan</name>
<email>owenpiano@gmail.com</email>
</author>
<published>2024-05-21T02:28:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=1c58208d899285318c89e069268145c85ec33368'/>
<id>1c58208d899285318c89e069268145c85ec33368</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[clang-format] Remove trailing newlines in TableGen formatting test. (#87983)</title>
<updated>2024-04-09T12:17:01+00:00</updated>
<author>
<name>Hirofumi Nakamura</name>
<email>k.nakamura.hirofumi@gmail.com</email>
</author>
<published>2024-04-09T12:17:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=bf0b21aa685264c65a2d7fd4a8b86e3c42dfd729'/>
<id>bf0b21aa685264c65a2d7fd4a8b86e3c42dfd729</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[clang-format] Added unittest of TableGen formatting w.r.t. block type calculation. (#87924)</title>
<updated>2024-04-08T12:12:12+00:00</updated>
<author>
<name>Hirofumi Nakamura</name>
<email>k.nakamura.hirofumi@gmail.com</email>
</author>
<published>2024-04-08T12:12:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=5a855d51272608e2122c45d86676aa2247a11d19'/>
<id>5a855d51272608e2122c45d86676aa2247a11d19</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[clang-format] Added AlignConsecutiveTableGenBreakingDAGArgColons option. (#86150)</title>
<updated>2024-03-22T14:11:36+00:00</updated>
<author>
<name>Hirofumi Nakamura</name>
<email>k.nakamura.hirofumi@gmail.com</email>
</author>
<published>2024-03-22T14:11:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=e54af608160350baa7ae1b8069f916eb625beadd'/>
<id>e54af608160350baa7ae1b8069f916eb625beadd</id>
<content type='text'>
The option to specify the style of alignment of the colons inside TableGen's DAGArg.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The option to specify the style of alignment of the colons inside TableGen's DAGArg.</pre>
</div>
</content>
</entry>
<entry>
<title>[clang-format] Add Options to break inside the TableGen DAGArg. (#83149)</title>
<updated>2024-03-18T15:13:59+00:00</updated>
<author>
<name>Hirofumi Nakamura</name>
<email>k.nakamura.hirofumi@gmail.com</email>
</author>
<published>2024-03-18T15:13:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=0c423af59c971ddf1aa12d94529edf8293608157'/>
<id>0c423af59c971ddf1aa12d94529edf8293608157</id>
<content type='text'>
Add two options to control the line break inside TableGen DAGArg.
- TableGenBreakInsideDAGArg
- TableGenBreakingDAGArgOperators</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add two options to control the line break inside TableGen DAGArg.
- TableGenBreakInsideDAGArg
- TableGenBreakingDAGArgOperators</pre>
</div>
</content>
</entry>
<entry>
<title>[clang-format] Add AlignConsecutiveTableGenDefinitions option. (#83008)</title>
<updated>2024-02-27T13:31:23+00:00</updated>
<author>
<name>Hirofumi Nakamura</name>
<email>k.nakamura.hirofumi@gmail.com</email>
</author>
<published>2024-02-27T13:31:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=19cec9ca1206c4707064cc2fc2344de75dfbd8c9'/>
<id>19cec9ca1206c4707064cc2fc2344de75dfbd8c9</id>
<content type='text'>
To align TableGen consecutive definitions.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
To align TableGen consecutive definitions.</pre>
</div>
</content>
</entry>
<entry>
<title>[clang-format] Add AlignConsecutiveTableGenCondOperatorColons option. (#82878)</title>
<updated>2024-02-26T13:50:51+00:00</updated>
<author>
<name>Hirofumi Nakamura</name>
<email>k.nakamura.hirofumi@gmail.com</email>
</author>
<published>2024-02-26T13:50:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=046682ef88a254443e8620bfd48b35bfa0a83809'/>
<id>046682ef88a254443e8620bfd48b35bfa0a83809</id>
<content type='text'>
To align colons inside TableGen !cond operators.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
To align colons inside TableGen !cond operators.</pre>
</div>
</content>
</entry>
</feed>
