History log of /freebsd-13.1/.clang-format (Results 1 – 19 of 19)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: release/12.4.0, release/13.1.0, release/12.3.0
# 4e669a95 21-Sep-2021 Mark Johnston <[email protected]>

clang-format: Add bitset loop macros

Sponsored by: The FreeBSD Foundation

(cherry picked from commit a3e3d90863f3af81bca485468814a787206a235d)


Revision tags: release/13.0.0
# 71167bd5 28-Oct-2020 Alex Richardson <[email protected]>

clang-format: Avoid breaking after the opening paren of function definitions

This depends on https://reviews.llvm.org/D90246 to have any effect, but once
that has landed clang-format will no longer

clang-format: Avoid breaking after the opening paren of function definitions

This depends on https://reviews.llvm.org/D90246 to have any effect, but once
that has landed clang-format will no longer format code like this:

```
int
myfunction(
int param1, int param2, int param2)
{
...
}
```

and instead create the following:

```
int
myfunction(int param1, int param2,
int param2)
{
...
}
```

Reviewed By: emaste, cem
Differential Revision: https://reviews.freebsd.org/D26978

show more ...


# 453d775b 28-Oct-2020 Alex Richardson <[email protected]>

clang-format: place sys/systm.h immediately after sys/param.h

Should fix one of the objections to r366993.
See also https://reviews.freebsd.org/D26981.

Reviewed By: emaste
Differential Revision: ht

clang-format: place sys/systm.h immediately after sys/param.h

Should fix one of the objections to r366993.
See also https://reviews.freebsd.org/D26981.

Reviewed By: emaste
Differential Revision: https://reviews.freebsd.org/D26979

show more ...


Revision tags: release/12.2.0
# ab041f71 21-Sep-2020 D Scott Phillips <[email protected]>

Move vm_page_dump bitset array definition to MI code

These definitions were repeated by all architectures, with small
variations. Consolidate the common definitons in machine
independent code and us

Move vm_page_dump bitset array definition to MI code

These definitions were repeated by all architectures, with small
variations. Consolidate the common definitons in machine
independent code and use bitset(9) macros for manipulation. Many
opportunities for deduplication remain in the machine dependent
minidump logic. The only intended functional change is increasing
the bit index type to vm_pindex_t, allowing the indexing of pages
with address of 8 TiB and greater.

Reviewed by: kib, markj
Approved by: scottl (implicit)
MFC after: 1 week
Sponsored by: Ampere Computing, Inc.
Differential Revision: https://reviews.freebsd.org/D26129

show more ...


# 22a39a89 10-Sep-2020 Alex Richardson <[email protected]>

Set AlignTrailingComments in the clang-format config

This seems to be fairly common in existing code and often looks better when
adding trailing comments to e.g. enumerators or array initializers.
S

Set AlignTrailingComments in the clang-format config

This seems to be fairly common in existing code and often looks better when
adding trailing comments to e.g. enumerators or array initializers.
See D26340 for more context.

Reviewed By: emaste
Differential Revision: https://reviews.freebsd.org/D26391

show more ...


# 8efceeb6 10-Sep-2020 Alex Richardson <[email protected]>

Use the correct config names for some .clang-format entries

Those values are enum entries and should use "Never" instead of "false".
clang-format currently accepts false, but it's better to use the

Use the correct config names for some .clang-format entries

Those values are enum entries and should use "Never" instead of "false".
clang-format currently accepts false, but it's better to use the correct
syntax in case that changes in the future.

show more ...


# a8caa639 24-Jun-2020 Conrad Meyer <[email protected]>

Clang-format: Avoid hardcoded LLVM include-order style

Reported by: emaste


# 9e8fd9d8 24-Jun-2020 Conrad Meyer <[email protected]>

Update .clang-format type and foreach macros lists

No functional change.

Reviewed by: markj
Differential Revision: https://reviews.freebsd.org/D25429


# e59d5d14 24-Jun-2020 Conrad Meyer <[email protected]>

Update .clang-format with style(9) header-sorting

Thanks to work done in the NetBSD clang-format project. No functional change.

Reviewed by: markj
Differential Revision: https://reviews.freebsd.or

Update .clang-format with style(9) header-sorting

Thanks to work done in the NetBSD clang-format project. No functional change.

Reviewed by: markj
Differential Revision: https://reviews.freebsd.org/D25428

show more ...


Revision tags: release/11.4.0, release/12.1.0, release/11.3.0
# b0f20f11 07-Jun-2019 Alex Richardson <[email protected]>

Add a basic clang-format configuration file

This gets reasonably close to the existing format in sys/kern but will
probably require some changes to upstream clang-format before it can be
used as the

Add a basic clang-format configuration file

This gets reasonably close to the existing format in sys/kern but will
probably require some changes to upstream clang-format before it can be
used as the default formatting tool.

I tried formatting a few files in sys/kern and the result is pretty close to
the existing code. However, this configuration file is not ready to be used
without manually checking the output.

Reviewed By: emaste
Differential Revision: https://reviews.freebsd.org/D20533

show more ...


Revision tags: release/12.0.0, release/11.2.0, release/10.4.0, release/11.1.0
# 0dc0969c 16-Apr-2017 Dimitry Andric <[email protected]>

Vendor import of libc++ trunk r300422:
https://llvm.org/svn/llvm-project/libcxx/trunk@300422


# cb08bb04 04-Jan-2017 Dimitry Andric <[email protected]>

Vendor import of libc++ trunk r291012:
https://llvm.org/svn/llvm-project/libcxx/trunk@291012


# 14f1b3e8 02-Jan-2017 Dimitry Andric <[email protected]>

Vendor import of lldb trunk r290819:
https://llvm.org/svn/llvm-project/lldb/trunk@290819


# 53a420fb 02-Jan-2017 Dimitry Andric <[email protected]>

Vendor import of libc++ trunk r290819:
https://llvm.org/svn/llvm-project/libcxx/trunk@290819


Revision tags: release/11.0.1, release/11.0.0, release/10.3.0
# 9e6d3549 06-Jan-2016 Dimitry Andric <[email protected]>

Vendor import of lldb trunk r256945:
https://llvm.org/svn/llvm-project/lldb/trunk@256945


Revision tags: release/10.2.0
# fb911942 24-Mar-2015 Dimitry Andric <[email protected]>

Vendor import of lld trunk r233088:
https://llvm.org/svn/llvm-project/lld/trunk@233088


# 5ca98fd9 24-Nov-2014 Dimitry Andric <[email protected]>

Vendor import of llvm RELEASE_350/final tag r216957 (effectively, 3.5.0 release):
https://llvm.org/svn/llvm-project/llvm/tags/RELEASE_350/final@216957


Revision tags: release/10.1.0, release/9.3.0, release/10.0.0
# bfef3995 22-Dec-2013 Dimitry Andric <[email protected]>

Vendor import of clang release_34 branch r197841 (effectively, 3.4 RC3):
https://llvm.org/svn/llvm-project/cfe/branches/release_34@197841


# f8af5cf6 22-Dec-2013 Dimitry Andric <[email protected]>

Vendor import of llvm release_34 branch r197841 (effectively, 3.4 RC3):
https://llvm.org/svn/llvm-project/llvm/branches/release_34@197841