<feed xmlns='http://www.w3.org/2005/Atom'>
<title>llvm-project.git/clang/lib/Format/NamespaceEndCommentsFixer.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][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>Revert "[clang-format][NFC] Delete 100+ redundant #include lines in .cpp files"</title>
<updated>2024-03-20T04:28:22+00:00</updated>
<author>
<name>Owen Pan</name>
<email>owenpiano@gmail.com</email>
</author>
<published>2024-03-20T03:58:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=b2082a98175b0e5356f23bf21d3dc5b76edea390'/>
<id>b2082a98175b0e5356f23bf21d3dc5b76edea390</id>
<content type='text'>
This reverts commit b92d6dd704d789240685a336ad8b25a9f381b4cc. See
github.com/llvm/llvm-project/commit/b92d6dd704d7#commitcomment-139992444

We should use a tool like Visual Studio to clean up the headers.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This reverts commit b92d6dd704d789240685a336ad8b25a9f381b4cc. See
github.com/llvm/llvm-project/commit/b92d6dd704d7#commitcomment-139992444

We should use a tool like Visual Studio to clean up the headers.
</pre>
</div>
</content>
</entry>
<entry>
<title>[clang-format][NFC] Delete 100+ redundant #include lines in .cpp files</title>
<updated>2024-03-17T05:24:11+00:00</updated>
<author>
<name>Owen Pan</name>
<email>owenpiano@gmail.com</email>
</author>
<published>2024-03-17T05:22:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=b92d6dd704d789240685a336ad8b25a9f381b4cc'/>
<id>b92d6dd704d789240685a336ad8b25a9f381b4cc</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] Handle __attribute/__declspec/AttributeMacro consistently (#67518)</title>
<updated>2023-09-29T19:03:08+00:00</updated>
<author>
<name>Owen Pan</name>
<email>owenpiano@gmail.com</email>
</author>
<published>2023-09-29T19:03:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=151d0a4db321dd0d081c7f69f84158580bd9979a'/>
<id>151d0a4db321dd0d081c7f69f84158580bd9979a</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] Fix a bug in NamespaceEndCommentsFixer (#67422)</title>
<updated>2023-09-26T21:22:29+00:00</updated>
<author>
<name>Owen Pan</name>
<email>owenpiano@gmail.com</email>
</author>
<published>2023-09-26T21:22:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=f2c97ffe4688ba85274146b4c9fc4bcffa92ecbc'/>
<id>f2c97ffe4688ba85274146b4c9fc4bcffa92ecbc</id>
<content type='text'>
Fixed #67407.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixed #67407.</pre>
</div>
</content>
</entry>
<entry>
<title>[clang-format] Handle NamespaceMacro string arg for FixNamespaceComments</title>
<updated>2023-08-16T17:45:54+00:00</updated>
<author>
<name>Owen Pan</name>
<email>owenpiano@gmail.com</email>
</author>
<published>2023-08-10T05:18:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=063c42e919c01d7e64c1af5a10898fc84b06dfe8'/>
<id>063c42e919c01d7e64c1af5a10898fc84b06dfe8</id>
<content type='text'>
Fixes #63795.

Differential Revision: https://reviews.llvm.org/D157568
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes #63795.

Differential Revision: https://reviews.llvm.org/D157568
</pre>
</div>
</content>
</entry>
<entry>
<title>[clang-format] Correctly count annoated lines of a namespace body</title>
<updated>2023-08-10T22:55:01+00:00</updated>
<author>
<name>Owen Pan</name>
<email>owenpiano@gmail.com</email>
</author>
<published>2023-08-06T23:13:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=2b8542ce8e8c24dfcdd04333333542cf733556b8'/>
<id>2b8542ce8e8c24dfcdd04333333542cf733556b8</id>
<content type='text'>
Fixes #63882.

Differential Revision: https://reviews.llvm.org/D157244
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes #63882.

Differential Revision: https://reviews.llvm.org/D157244
</pre>
</div>
</content>
</entry>
<entry>
<title>[clang-format] Insert namespace comments with leading spaces</title>
<updated>2023-07-24T16:22:51+00:00</updated>
<author>
<name>Owen Pan</name>
<email>owenpiano@gmail.com</email>
</author>
<published>2023-07-23T20:45:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=2f6b2dafb78345b3013797096e8e71677710ce48'/>
<id>2f6b2dafb78345b3013797096e8e71677710ce48</id>
<content type='text'>
Insert missing namespace comments with SpacesBeforeTrailingComments
leading spaces.

Fixes #64051.

Differential Revision: https://reviews.llvm.org/D156065
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Insert missing namespace comments with SpacesBeforeTrailingComments
leading spaces.

Fixes #64051.

Differential Revision: https://reviews.llvm.org/D156065
</pre>
</div>
</content>
</entry>
<entry>
<title>[clang-format] Fix namespace format when the name is followed by a macro</title>
<updated>2022-03-10T23:00:32+00:00</updated>
<author>
<name>Zequan Wu</name>
<email>zequanwu@google.com</email>
</author>
<published>2022-03-09T02:59:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=d54c4df31470044a66605ebb8a2f936e8dd552af'/>
<id>d54c4df31470044a66605ebb8a2f936e8dd552af</id>
<content type='text'>
Example:
```
$ cat a.cpp
namespace my_namespace::yeah API_AVAILABLE(macos(10.15)) {
void test() {}
}

$ clang-format a.cpp
namespace my_namespace::yeah API_AVAILABLE(macos(10.15)) {
void test() {}
}// namespace my_namespace::yeahAPI_AVAILABLE(macos(10.15))
```
After:
```
$ clang-format a.cpp
namespace my_namespace::yeah API_AVAILABLE(macos(10.15)) {
void test() {}
}// namespace my_namespace::yeah
```

Reviewed By: MyDeveloperDay, owenpan, curdeius

Differential Revision: https://reviews.llvm.org/D121269
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Example:
```
$ cat a.cpp
namespace my_namespace::yeah API_AVAILABLE(macos(10.15)) {
void test() {}
}

$ clang-format a.cpp
namespace my_namespace::yeah API_AVAILABLE(macos(10.15)) {
void test() {}
}// namespace my_namespace::yeahAPI_AVAILABLE(macos(10.15))
```
After:
```
$ clang-format a.cpp
namespace my_namespace::yeah API_AVAILABLE(macos(10.15)) {
void test() {}
}// namespace my_namespace::yeah
```

Reviewed By: MyDeveloperDay, owenpan, curdeius

Differential Revision: https://reviews.llvm.org/D121269
</pre>
</div>
</content>
</entry>
<entry>
<title>[clang-format] fix namepsace format when the name is macro expansion</title>
<updated>2022-03-05T00:01:17+00:00</updated>
<author>
<name>Zequan Wu</name>
<email>zequanwu@google.com</email>
</author>
<published>2022-03-03T19:59:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=be5705767aad8d8eafd40225f7dba8e7e661c6b5'/>
<id>be5705767aad8d8eafd40225f7dba8e7e661c6b5</id>
<content type='text'>
Originally filed at crbug.com/1184570.
When the name of a namespace is a macro that takes arguments,
- It fixed the indentation.
- It fixed the namepsace end comments.

Differential Revision: https://reviews.llvm.org/D120931
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Originally filed at crbug.com/1184570.
When the name of a namespace is a macro that takes arguments,
- It fixed the indentation.
- It fixed the namepsace end comments.

Differential Revision: https://reviews.llvm.org/D120931
</pre>
</div>
</content>
</entry>
</feed>
