<feed xmlns='http://www.w3.org/2005/Atom'>
<title>llvm-project.git/clang/lib/Format/QualifierAlignmentFixer.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] Don't swap `(const override)` with QAS_Right (#167191)</title>
<updated>2025-11-13T04:55:34+00:00</updated>
<author>
<name>owenca</name>
<email>owenpiano@gmail.com</email>
</author>
<published>2025-11-13T04:55:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=dfe9838f9c790aa632bed0a1b67976c2a7e95f76'/>
<id>dfe9838f9c790aa632bed0a1b67976c2a7e95f76</id>
<content type='text'>
Fixes #154846</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes #154846</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 qualifier ordering for lines after PP directives (#160731)</title>
<updated>2025-09-28T03:12:36+00:00</updated>
<author>
<name>Ruoyu Zhong</name>
<email>zhongruoyu@outlook.com</email>
</author>
<published>2025-09-28T03:12:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=9a01561760a2785fbf6d66f86ba2361d36a648f7'/>
<id>9a01561760a2785fbf6d66f86ba2361d36a648f7</id>
<content type='text'>
Lines appearing after preprocessor conditional blocks (like `#endif`)
were not having their qualifiers reordered by `QualifierOrder`, while
lines inside the conditional blocks were processed correctly.

The issue was that tokens on lines following preprocessor directives
have `MustBreakBefore` = `true`. The qualifier alignment logic was
breaking immediately upon encountering any token with `MustBreakBefore`
= `true`, preventing analysis of the entire line.

The fix allows processing to continue when `MustBreakBefore` = `true` on
the first token of a line, since this is expected behavior (the token
legitimately starts a new line). Only tokens with `MustBreakBefore` =
`true` that appear mid-line will cause the analysis loop to break.

Fixes https://github.com/llvm/llvm-project/issues/160487.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Lines appearing after preprocessor conditional blocks (like `#endif`)
were not having their qualifiers reordered by `QualifierOrder`, while
lines inside the conditional blocks were processed correctly.

The issue was that tokens on lines following preprocessor directives
have `MustBreakBefore` = `true`. The qualifier alignment logic was
breaking immediately upon encountering any token with `MustBreakBefore`
= `true`, preventing analysis of the entire line.

The fix allows processing to continue when `MustBreakBefore` = `true` on
the first token of a line, since this is expected behavior (the token
legitimately starts a new line). Only tokens with `MustBreakBefore` =
`true` that appear mid-line will cause the analysis loop to break.

Fixes https://github.com/llvm/llvm-project/issues/160487.</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] Improve QualifierAlignment in guessing macros (#145468)</title>
<updated>2025-06-25T07:01:06+00:00</updated>
<author>
<name>Owen Pan</name>
<email>owenpiano@gmail.com</email>
</author>
<published>2025-06-25T07:01:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=01b288fe6a1e627954329198ed5641f2bf55ee8d'/>
<id>01b288fe6a1e627954329198ed5641f2bf55ee8d</id>
<content type='text'>
Fixes #145388</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes #145388</pre>
</div>
</content>
</entry>
<entry>
<title>[Format] Remove unused includes (NFC) (#142296)</title>
<updated>2025-06-01T02:00:34+00:00</updated>
<author>
<name>Kazu Hirata</name>
<email>kazu@google.com</email>
</author>
<published>2025-06-01T02:00:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=dfaa66281a1a44065e24857f2f97dccc4860639a'/>
<id>dfaa66281a1a44065e24857f2f97dccc4860639a</id>
<content type='text'>
These are identified by misc-include-cleaner.  I've filtered out those
that break builds.  Also, I'm staying away from llvm-config.h,
config.h, and Compiler.h, which likely cause platform- or
compiler-specific build failures.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
These are identified by misc-include-cleaner.  I've filtered out those
that break builds.  Also, I'm staying away from llvm-config.h,
config.h, and Compiler.h, which likely cause platform- or
compiler-specific build failures.</pre>
</div>
</content>
</entry>
<entry>
<title>[clang-format] Hanlde qualified type name for `QualifierAlignment` (#125327)</title>
<updated>2025-02-04T09:33:44+00:00</updated>
<author>
<name>Owen Pan</name>
<email>owenpiano@gmail.com</email>
</author>
<published>2025-02-04T09:33:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=eb6ca1242c1035fac6a8f1edfe7925b4994d4ecf'/>
<id>eb6ca1242c1035fac6a8f1edfe7925b4994d4ecf</id>
<content type='text'>
Fixes #125178.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes #125178.</pre>
</div>
</content>
</entry>
<entry>
<title>[clang-format] Handle leading C++11 attribute in QualifierAlignment (#123690)</title>
<updated>2025-01-22T05:22:13+00:00</updated>
<author>
<name>Owen Pan</name>
<email>owenpiano@gmail.com</email>
</author>
<published>2025-01-22T05:22:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=3bd8b02aa0c5fcbb005f6d72f58f4a05421e7823'/>
<id>3bd8b02aa0c5fcbb005f6d72f58f4a05421e7823</id>
<content type='text'>
Fixes #123573.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes #123573.</pre>
</div>
</content>
</entry>
<entry>
<title>[clang-format] Fix a crash in `QualifierAlignment: Right` (#120821)</title>
<updated>2024-12-22T01:16:29+00:00</updated>
<author>
<name>Owen Pan</name>
<email>owenpiano@gmail.com</email>
</author>
<published>2024-12-22T01:16:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=40acaa394fa235796c2d98de87380887c59d5448'/>
<id>40acaa394fa235796c2d98de87380887c59d5448</id>
<content type='text'>
Fixes #120793.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes #120793.</pre>
</div>
</content>
</entry>
<entry>
<title>Reland "[clang-format] Fix FormatToken::isSimpleTypeSpecifier() (#91712)"</title>
<updated>2024-05-14T04:54:23+00:00</updated>
<author>
<name>Owen Pan</name>
<email>owenpiano@gmail.com</email>
</author>
<published>2024-05-14T04:52:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=364f988d3feb46ead8fdb657c9eab78d93425a28'/>
<id>364f988d3feb46ead8fdb657c9eab78d93425a28</id>
<content type='text'>
Remove FormatToken::isSimpleTypeSpecifier() and call
Token::isSimpleTypeSpecifier(LangOpts) instead.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Remove FormatToken::isSimpleTypeSpecifier() and call
Token::isSimpleTypeSpecifier(LangOpts) instead.
</pre>
</div>
</content>
</entry>
</feed>
