History log of /freebsd/.clang-format (Results 1 – 25 of 25)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: release/13.4.0, release/14.1.0, release/13.3.0, release/14.0.0, release/13.2.0, release/12.4.0, release/13.1.0, release/12.3.0, release/13.0.0, release/12.2.0, release/11.4.0
# cd024ff3 09-Apr-2020 Enji Cooper <ngie@FreeBSD.org>

Import GoogleTest 1.10.0

GoogleTest 1.10.0 is the last official release series planned for GoogleTest.
After 1.10.x, Google is switching GoogleTest to a "release on master" model,
as documented here

Import GoogleTest 1.10.0

GoogleTest 1.10.0 is the last official release series planned for GoogleTest.
After 1.10.x, Google is switching GoogleTest to a "release on master" model,
as documented here: https://abseil.io/about/philosophy .

More information about what's captured between releases can be found on the
GitHub release page: https://github.com/google/googletest/releases .

show more ...


# 2c18289b 30-Apr-2024 Mark Johnston <markj@FreeBSD.org>

clang-format: Minor tweaks

Invert KeepEmptyLinesAtTheStartOfBlocks. We used to require an empty
line at the beginning of functions with no local variables, which I
believe is the reason for this se

clang-format: Minor tweaks

Invert KeepEmptyLinesAtTheStartOfBlocks. We used to require an empty
line at the beginning of functions with no local variables, which I
believe is the reason for this setting. Now it is discouraged in new
code.

Tell clang-format to align consecutive macros, since we tend to do that.
clang-format's output isn't quite what we want here. Typically we have
a tab after a #define for some reason, and clang-format doesn't appear
to have an option for that. clang-format will also use a mix of tabs
and spaces to minimize indentation, which is also against our
convention. However, the result looks better with this setting than
without.

Reviewed by: emaste
MFC after: 2 weeks
Differential Revision: https://reviews.freebsd.org/D29870

show more ...


# d0b2dbfa 16-Aug-2023 Warner Losh <imp@FreeBSD.org>

Remove $FreeBSD$: one-line sh pattern

Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/


# 6982f799 14-Jun-2022 Stefan Eßer <se@FreeBSD.org>

vendor/bc: import version 5.3.2

This update restores support for suppression of the prompt with -P
when using the libedit or libreadline libraries for command line
editing and history.


# 5b2defbd 02-Oct-2021 Ed Maste <emaste@FreeBSD.org>

Vendor import of libcbor 0.8.0


# a3e3d908 21-Sep-2021 Mark Johnston <markj@FreeBSD.org>

clang-format: Add bitset loop macros

MFC after: 2 weeks
Sponsored by: The FreeBSD Foundation


# 71167bd5 28-Oct-2020 Alex Richardson <arichardson@FreeBSD.org>

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 <arichardson@FreeBSD.org>

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 ...


# ab041f71 22-Sep-2020 D Scott Phillips <scottph@FreeBSD.org>

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 <arichardson@FreeBSD.org>

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 <arichardson@FreeBSD.org>

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 25-Jun-2020 Conrad Meyer <cem@FreeBSD.org>

Clang-format: Avoid hardcoded LLVM include-order style

Reported by: emaste


# 9e8fd9d8 25-Jun-2020 Conrad Meyer <cem@FreeBSD.org>

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 <cem@FreeBSD.org>

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/12.1.0, release/11.3.0
# e532a999 20-Jun-2019 Alan Somers <asomers@FreeBSD.org>

MFHead @349234

Sponsored by: The FreeBSD Foundation


# b0f20f11 07-Jun-2019 Alex Richardson <arichardson@FreeBSD.org>

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 <dim@FreeBSD.org>

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


# cb08bb04 04-Jan-2017 Dimitry Andric <dim@FreeBSD.org>

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


# 53a420fb 02-Jan-2017 Dimitry Andric <dim@FreeBSD.org>

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, release/10.2.0
# fb911942 24-Mar-2015 Dimitry Andric <dim@FreeBSD.org>

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


# 5ca98fd9 24-Nov-2014 Dimitry Andric <dim@FreeBSD.org>

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 <dim@FreeBSD.org>

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 <dim@FreeBSD.org>

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


# 14f1b3e8 02-Jan-2017 Dimitry Andric <dim@FreeBSD.org>

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


# 9e6d3549 06-Jan-2016 Dimitry Andric <dim@FreeBSD.org>

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