<feed xmlns='http://www.w3.org/2005/Atom'>
<title>llvm-project.git/clang/lib/Format/UnwrappedLineParser.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] Recognize Verilog DPI export and import (#165595)</title>
<updated>2025-11-13T23:52:35+00:00</updated>
<author>
<name>sstwcw</name>
<email>su3e8a96kzlver@posteo.net</email>
</author>
<published>2025-11-13T23:52:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=d719876c2059d821497fae70f4c6dc9dd9eaccd2'/>
<id>d719876c2059d821497fae70f4c6dc9dd9eaccd2</id>
<content type='text'>
The directives should not change the indentation level. Previously the
program erroneously added an indentation level when it saw the
`function` keyword.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The directives should not change the indentation level. Previously the
program erroneously added an indentation level when it saw the
`function` keyword.
</pre>
</div>
</content>
</entry>
<entry>
<title>[clang-format] Fix brace wrapping for Java records (#164711)</title>
<updated>2025-11-05T19:55:32+00:00</updated>
<author>
<name>Hannes Braun</name>
<email>hannes@hannesbraun.net</email>
</author>
<published>2025-11-05T19:55:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=6c4f9688082361a5c5d57aa1e6d368dfc4aeea75'/>
<id>6c4f9688082361a5c5d57aa1e6d368dfc4aeea75</id>
<content type='text'>
The brace wrapping for Java records should now behave similar to
classes. Before, opening braces for Java records were always placed in
the same line as the record definition.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The brace wrapping for Java records should now behave similar to
classes. Before, opening braces for Java records were always placed in
the same line as the record definition.
</pre>
</div>
</content>
</entry>
<entry>
<title>[clang] Replace LLVM_ATTRIBUTE_UNUSED with [[maybe_unused]] (NFC) (#163914)</title>
<updated>2025-10-17T14:27:11+00:00</updated>
<author>
<name>Kazu Hirata</name>
<email>kazu@google.com</email>
</author>
<published>2025-10-17T14:27:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=1dfbfbd637a67b58c4ab24f78ef30e5c0491ea48'/>
<id>1dfbfbd637a67b58c4ab24f78ef30e5c0491ea48</id>
<content type='text'>
This patch replaces LLVM_ATTRIBUTE_UNUSED with [[maybe_unused]],
introduced as part of C++17.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch replaces LLVM_ATTRIBUTE_UNUSED with [[maybe_unused]],
introduced as part of C++17.</pre>
</div>
</content>
</entry>
<entry>
<title>[clang-format] Fix formatting of `requires` expressions in braced initializers (#163005)</title>
<updated>2025-10-12T23:43:04+00:00</updated>
<author>
<name>Ruoyu Zhong</name>
<email>zhongruoyu@outlook.com</email>
</author>
<published>2025-10-12T23:43:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=513b10df4308a4704989655241090399173c69dd'/>
<id>513b10df4308a4704989655241090399173c69dd</id>
<content type='text'>
`UnwrappedLineParser::parseBracedList` had no
explicit handling for the `requires` keyword, so it would just call
`nextToken()` instead of properly parsing the `requires` expression.

This fix adds a case for `tok::kw_requires` in `parseBracedList`,
calling `parseRequiresExpression` to handle it correctly, matching the
existing behavior in `parseParens`.

Fixes https://github.com/llvm/llvm-project/issues/162984.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
`UnwrappedLineParser::parseBracedList` had no
explicit handling for the `requires` keyword, so it would just call
`nextToken()` instead of properly parsing the `requires` expression.

This fix adds a case for `tok::kw_requires` in `parseBracedList`,
calling `parseRequiresExpression` to handle it correctly, matching the
existing behavior in `parseParens`.

Fixes https://github.com/llvm/llvm-project/issues/162984.</pre>
</div>
</content>
</entry>
<entry>
<title>[clang-format][NFC] Introduce isNoneOf (#161021)</title>
<updated>2025-10-02T18:52:45+00:00</updated>
<author>
<name>Björn Schäpers</name>
<email>bjoern@hazardy.de</email>
</author>
<published>2025-10-02T18:52:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=847e1e18902d1bedb9d7df8cbec84dbda8042e47'/>
<id>847e1e18902d1bedb9d7df8cbec84dbda8042e47</id>
<content type='text'>
And apply throughout the code base.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
And apply throughout the code base.</pre>
</div>
</content>
</entry>
<entry>
<title>[clang-format] Fix bugs in annotating arrows and square brackets (#160973)</title>
<updated>2025-09-28T04:29:25+00:00</updated>
<author>
<name>owenca</name>
<email>owenpiano@gmail.com</email>
</author>
<published>2025-09-28T04:29:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=4edda3d78c26b9d928d115b2059d0c719eec237b'/>
<id>4edda3d78c26b9d928d115b2059d0c719eec237b</id>
<content type='text'>
Fixes #160518</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes #160518</pre>
</div>
</content>
</entry>
<entry>
<title>[clang-format] Add IndentPPDirectives Leave option (#139750)</title>
<updated>2025-09-14T20:47:06+00:00</updated>
<author>
<name>Gedare Bloom</name>
<email>gedare@rtems.org</email>
</author>
<published>2025-09-14T20:47:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=7dd2f1cc10902e632c0c78c75a30432a53eb59dc'/>
<id>7dd2f1cc10902e632c0c78c75a30432a53eb59dc</id>
<content type='text'>
Allow an option to leave preprocessor directive indenting as-is. This
simplifies handling mixed styles of CPP directive indentation.

Fixes #38511</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Allow an option to leave preprocessor directive indenting as-is. This
simplifies handling mixed styles of CPP directive indentation.

Fixes #38511</pre>
</div>
</content>
</entry>
<entry>
<title>[clang-format] Fix a bug in SkipMacroDefinitionBody (#155346)</title>
<updated>2025-08-26T16:00:56+00:00</updated>
<author>
<name>owenca</name>
<email>owenpiano@gmail.com</email>
</author>
<published>2025-08-26T16:00:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=ac771f4574cc9cebfe374d6a2a631616a35fd69f'/>
<id>ac771f4574cc9cebfe374d6a2a631616a35fd69f</id>
<content type='text'>
All comments before the macro definition body should be skipped.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
All comments before the macro definition body should be skipped.</pre>
</div>
</content>
</entry>
<entry>
<title>[clang-format] Fix a bug in SkipMacroDefinitionBody (#154787)</title>
<updated>2025-08-23T02:37:52+00:00</updated>
<author>
<name>owenca</name>
<email>owenpiano@gmail.com</email>
</author>
<published>2025-08-23T02:37:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=0b1d353926e43737cc56d74685826fc417964fd2'/>
<id>0b1d353926e43737cc56d74685826fc417964fd2</id>
<content type='text'>
Fixes #154683</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes #154683</pre>
</div>
</content>
</entry>
<entry>
<title>[clang-format] Add MacrosSkippedByRemoveParentheses option (#148345)</title>
<updated>2025-07-13T21:29:51+00:00</updated>
<author>
<name>Owen Pan</name>
<email>owenpiano@gmail.com</email>
</author>
<published>2025-07-13T21:29:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=c384ec431dd7f771c9dd7c462cec5301ac0f32bb'/>
<id>c384ec431dd7f771c9dd7c462cec5301ac0f32bb</id>
<content type='text'>
This allows RemoveParentheses to skip the invocations of function-like
macros.

Fixes #68354.
Fixes #147780.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This allows RemoveParentheses to skip the invocations of function-like
macros.

Fixes #68354.
Fixes #147780.</pre>
</div>
</content>
</entry>
</feed>
