<feed xmlns='http://www.w3.org/2005/Atom'>
<title>llvm-project.git/clang/lib/Format/UnwrappedLineFormatter.cpp, branch users/ojhunt/ptrauth-additions</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][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] 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] Allow short function body on a single line (#151428)</title>
<updated>2025-08-30T01:51:33+00:00</updated>
<author>
<name>闫立栋</name>
<email>yldhome2d2@gmail.com</email>
</author>
<published>2025-08-30T01:51:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=81035c31cd7d0f65ef650474c0d585131f958bda'/>
<id>81035c31cd7d0f65ef650474c0d585131f958bda</id>
<content type='text'>
Fix #145161</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fix #145161</pre>
</div>
</content>
</entry>
<entry>
<title>[clang-format] Add SpaceInEmptyBraces option (#153765)</title>
<updated>2025-08-17T19:56:22+00:00</updated>
<author>
<name>owenca</name>
<email>owenpiano@gmail.com</email>
</author>
<published>2025-08-17T19:56:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=6cfedea492c11cd46f03cfad76a638bf73de40f4'/>
<id>6cfedea492c11cd46f03cfad76a638bf73de40f4</id>
<content type='text'>
Also set it to SIEB_Always for WebKit style.

Closes #85525.
Closes #93635.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Also set it to SIEB_Always for WebKit style.

Closes #85525.
Closes #93635.</pre>
</div>
</content>
</entry>
<entry>
<title>[clang-format][NFC] Replace size() with empty() (#147164)</title>
<updated>2025-07-06T21:19:30+00:00</updated>
<author>
<name>Owen Pan</name>
<email>owenpiano@gmail.com</email>
</author>
<published>2025-07-06T21:19:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=5ccbea9f480d5c387c7f21aa101e72774c91f1d3'/>
<id>5ccbea9f480d5c387c7f21aa101e72774c91f1d3</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] Propagate `LeadingEmptyLinesAffected` when joining lines (#146761)</title>
<updated>2025-07-05T21:06:59+00:00</updated>
<author>
<name>Eric Li</name>
<email>li.zhe.hua@gmail.com</email>
</author>
<published>2025-07-05T21:06:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=878ce210e30f8ebcb4b73d834f91229a403e2376'/>
<id>878ce210e30f8ebcb4b73d834f91229a403e2376</id>
<content type='text'>
Before this commit, when `LineJoiner` joins a line with affected leading
whitespace, it would drop the knowledge of this entirely. However, when
the `AffectedRangeManager` is computing the affected lines, the leading
empty whitespace lines are potentially considered for non-first tokens
in the `AnnotatedLine`. This causes a discrepancy in behavior when an
`AnnotatedLine` is put together from joining multiple lines versus when
it is not.

We change `LineJoiner::join` to follow `AffectedRangeManager`'s logic,
considering the leading whitespace when determining `Affected` for a
token.


https://github.com/llvm/llvm-project/blob/a63f57262898588b576d66e5fd79c0aa64b35f2d/clang/lib/Format/AffectedRangeManager.cpp#L111-L130

Fixes #138942.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Before this commit, when `LineJoiner` joins a line with affected leading
whitespace, it would drop the knowledge of this entirely. However, when
the `AffectedRangeManager` is computing the affected lines, the leading
empty whitespace lines are potentially considered for non-first tokens
in the `AnnotatedLine`. This causes a discrepancy in behavior when an
`AnnotatedLine` is put together from joining multiple lines versus when
it is not.

We change `LineJoiner::join` to follow `AffectedRangeManager`'s logic,
considering the leading whitespace when determining `Affected` for a
token.


https://github.com/llvm/llvm-project/blob/a63f57262898588b576d66e5fd79c0aa64b35f2d/clang/lib/Format/AffectedRangeManager.cpp#L111-L130

Fixes #138942.</pre>
</div>
</content>
</entry>
<entry>
<title>[clang-format] Merge short inline function in macro definition body (#140366)</title>
<updated>2025-05-19T08:30:42+00:00</updated>
<author>
<name>Owen Pan</name>
<email>owenpiano@gmail.com</email>
</author>
<published>2025-05-19T08:30:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=6da2acf8e99ec517bfbe498af2519d29834e2583'/>
<id>6da2acf8e99ec517bfbe498af2519d29834e2583</id>
<content type='text'>
Fix #62356</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fix #62356</pre>
</div>
</content>
</entry>
<entry>
<title>[clang-format] Fix a bug in BWACS_MultiLine (#136281)</title>
<updated>2025-04-19T01:13:02+00:00</updated>
<author>
<name>Owen Pan</name>
<email>owenpiano@gmail.com</email>
</author>
<published>2025-04-19T01:13:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=58a5c469d97302bb33a54338cf827a4cbe4e416a'/>
<id>58a5c469d97302bb33a54338cf827a4cbe4e416a</id>
<content type='text'>
Fixes #136266</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes #136266</pre>
</div>
</content>
</entry>
<entry>
<title>[clang-format] Fix a bug in BWACS_MultiLine (#135906)</title>
<updated>2025-04-17T01:48:10+00:00</updated>
<author>
<name>Owen Pan</name>
<email>owenpiano@gmail.com</email>
</author>
<published>2025-04-17T01:48:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=9bd0c8726a5e3fd4f76e84692bd920dfca7a8d7f'/>
<id>9bd0c8726a5e3fd4f76e84692bd920dfca7a8d7f</id>
<content type='text'>
Fix #51940</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fix #51940</pre>
</div>
</content>
</entry>
<entry>
<title>[clang-format][NFC] Add isJava() and isTextProto() in FormatStyle (#135466)</title>
<updated>2025-04-12T22:04:29+00:00</updated>
<author>
<name>Owen Pan</name>
<email>owenpiano@gmail.com</email>
</author>
<published>2025-04-12T22:04:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=09c8cfe219481a8fc20c6711dc5c87451f5a5ef1'/>
<id>09c8cfe219481a8fc20c6711dc5c87451f5a5ef1</id>
<content type='text'>
Also remove redundant name qualifiers format::, FormatStyle::, and
LanguageKind::.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Also remove redundant name qualifiers format::, FormatStyle::, and
LanguageKind::.</pre>
</div>
</content>
</entry>
</feed>
