Updating Pybind11 is necessary for gem5 to compile correctly with Python 3.11. As of March 9th 2023, 2.10.3 is the latest version of Pybind11. Change-Id: I32c68c507770040d3fac2de442d88a8f46b48896 Issue-on: https://gem5.atlassian.net/browse/GEM5-1295 Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/68818 Maintainer: Jason Lowe-Power <power.jg@gmail.com> Tested-by: kokoro <noreply+kokoro@google.com> Reviewed-by: Jason Lowe-Power <power.jg@gmail.com>
39 lines
996 B
YAML
39 lines
996 B
YAML
---
|
|
# See all possible options and defaults with:
|
|
# clang-format --style=llvm --dump-config
|
|
BasedOnStyle: LLVM
|
|
AccessModifierOffset: -4
|
|
AllowShortLambdasOnASingleLine: true
|
|
AlwaysBreakTemplateDeclarations: Yes
|
|
BinPackArguments: false
|
|
BinPackParameters: false
|
|
BreakBeforeBinaryOperators: All
|
|
BreakConstructorInitializers: BeforeColon
|
|
ColumnLimit: 99
|
|
CommentPragmas: 'NOLINT:.*|^ IWYU pragma:'
|
|
IncludeBlocks: Regroup
|
|
IndentCaseLabels: true
|
|
IndentPPDirectives: AfterHash
|
|
IndentWidth: 4
|
|
Language: Cpp
|
|
SpaceAfterCStyleCast: true
|
|
Standard: Cpp11
|
|
StatementMacros: ['PyObject_HEAD']
|
|
TabWidth: 4
|
|
IncludeCategories:
|
|
- Regex: '<pybind11/.*'
|
|
Priority: -1
|
|
- Regex: 'pybind11.h"$'
|
|
Priority: 1
|
|
- Regex: '^".*/?detail/'
|
|
Priority: 1
|
|
SortPriority: 2
|
|
- Regex: '^"'
|
|
Priority: 1
|
|
SortPriority: 3
|
|
- Regex: '<[[:alnum:]._]+>'
|
|
Priority: 4
|
|
- Regex: '.*'
|
|
Priority: 5
|
|
...
|