Home
last modified time | relevance | path

Searched +full:clang +full:- +full:format (Results 1 – 25 of 328) sorted by relevance

12345678910>>...14

/openbmc/libmctp/
H A D.clang-format1 # SPDX-License-Identifier: GPL-2.0
4 ---
5 AccessModifierOffset: -4
10 #AlignEscapedNewlines: Left # Unknown to clang-format-4.0
36 #AfterExternBlock: false # Unknown to clang-format-5.0
40 #SplitEmptyFunction: true # Unknown to clang-format-4.0
41 #SplitEmptyRecord: true # Unknown to clang-format-4.0
42 #SplitEmptyNamespace: true # Unknown to clang-format-4.0
46 #BreakBeforeInheritanceComma: false # Unknown to clang-format-4.0
49 #BreakConstructorInitializers: BeforeComma # Unknown to clang-format-4.0
[all …]
/openbmc/docs/style/c/
H A D.clang-format1 # SPDX-License-Identifier: GPL-2.0
4 ---
5 AccessModifierOffset: -4
10 #AlignEscapedNewlines: Left # Unknown to clang-format-4.0
36 #AfterExternBlock: false # Unknown to clang-format-5.0
40 #SplitEmptyFunction: true # Unknown to clang-format-4.0
41 #SplitEmptyRecord: true # Unknown to clang-format-4.0
42 #SplitEmptyNamespace: true # Unknown to clang-format-4.0
46 #BreakBeforeInheritanceComma: false # Unknown to clang-format-4.0
49 #BreakConstructorInitializers: BeforeComma # Unknown to clang-format-4.0
[all …]
/openbmc/libpldm/
H A D.clang-format1 # SPDX-License-Identifier: GPL-2.0
4 ---
5 AccessModifierOffset: -4
10 #AlignEscapedNewlines: Left # Unknown to clang-format-4.0
36 #AfterExternBlock: false # Unknown to clang-format-5.0
40 #SplitEmptyFunction: true # Unknown to clang-format-4.0
41 #SplitEmptyRecord: true # Unknown to clang-format-4.0
42 #SplitEmptyNamespace: true # Unknown to clang-format-4.0
46 #BreakBeforeInheritanceComma: false # Unknown to clang-format-4.0
49 #BreakConstructorInitializers: BeforeComma # Unknown to clang-format-4.0
[all …]
/openbmc/pam-ipmi/
H A D.clang-format1 # SPDX-License-Identifier: GPL-2.0
4 ---
5 AccessModifierOffset: -4
10 #AlignEscapedNewlines: Left # Unknown to clang-format-4.0
36 #AfterExternBlock: false # Unknown to clang-format-5.0
40 #SplitEmptyFunction: true # Unknown to clang-format-4.0
41 #SplitEmptyRecord: true # Unknown to clang-format-4.0
42 #SplitEmptyNamespace: true # Unknown to clang-format-4.0
46 #BreakBeforeInheritanceComma: false # Unknown to clang-format-4.0
49 #BreakConstructorInitializers: BeforeComma # Unknown to clang-format-4.0
[all …]
/openbmc/libcper/
H A D.clang-format1 # SPDX-License-Identifier: GPL-2.0
4 ---
5 AccessModifierOffset: -4
10 #AlignEscapedNewlines: Left # Unknown to clang-format-4.0
36 #AfterExternBlock: false # Unknown to clang-format-5.0
40 #SplitEmptyFunction: true # Unknown to clang-format-4.0
41 #SplitEmptyRecord: true # Unknown to clang-format-4.0
42 #SplitEmptyNamespace: true # Unknown to clang-format-4.0
46 #BreakBeforeInheritanceComma: false # Unknown to clang-format-4.0
49 #BreakConstructorInitializers: BeforeComma # Unknown to clang-format-4.0
[all …]
/openbmc/obmc-console/
H A D.clang-format1 # SPDX-License-Identifier: GPL-2.0
4 ---
5 AccessModifierOffset: -4
10 #AlignEscapedNewlines: Left # Unknown to clang-format-4.0
36 #AfterExternBlock: false # Unknown to clang-format-5.0
40 #SplitEmptyFunction: true # Unknown to clang-format-4.0
41 #SplitEmptyRecord: true # Unknown to clang-format-4.0
42 #SplitEmptyNamespace: true # Unknown to clang-format-4.0
46 #BreakBeforeInheritanceComma: false # Unknown to clang-format-4.0
49 #BreakConstructorInitializers: BeforeComma # Unknown to clang-format-4.0
[all …]
/openbmc/linux/Documentation/translations/it_IT/process/
H A Dclang-format.rst1 .. include:: ../disclaimer-ita.rst
3 :Original: :ref:`Documentation/process/clang-format.rst <clangformat>`
8 clang-format title
10 ``clang-format`` è uno strumento per formattare codice C/C++/... secondo
14 ``clang-format`` può essere usato per diversi fini:
16 - Per riformattare rapidamente un blocco di codice secondo lo stile del
20 - Identificare errori di stile, refusi e possibili miglioramenti nei
24 - Ti aiuta a seguire lo stile del codice, particolarmente utile per i
28 Il suo file di configurazione è ``.clang-format`` e si trova nella cartella
32 :ref:`Documentation/translations/it_IT/process/coding-style.rst <it_codingstyle>`.
[all …]
/openbmc/hiomapd/
H A Dformat-code.sh3 set -euo
5 set -x
7 if [ $# -ge 1 ]
12 [ -f .clang-format ] && rm .clang-format
14 # Use the provided clang-format, only define a version
16 export CLANG_FORMAT="${CLANG_FORMAT:-clang-format-14}"
18 # phosphor-mboxd is a fork of mboxbridge, the reference mbox daemon
21 # phosphor-mboxd extended the reference in C++, and used the OpenBMC C++ style.
27 # Further, clang-format supports describing styles for multiple languages in
28 # the one .clang-format file, but *doesn't* make a distinction between C and
[all …]
/openbmc/linux/Documentation/process/
H A Dclang-format.rst3 clang-format title
6 ``clang-format`` is a tool to format C/C++/... code according to
10 ``clang-format`` can be used for several purposes:
12 - Quickly reformat a block of code to the kernel style. Specially useful
15 - Spot style mistakes, typos and possible improvements in files
18 - Help you follow the coding style rules, specially useful for those
22 Its configuration file is ``.clang-format`` in the root of the kernel tree.
24 coding style. They also try to follow :ref:`Documentation/process/coding-style.rst <codingstyle>`
28 another ``.clang-format`` file in a subfolder.
31 Linux distributions for a long time. Search for ``clang-format`` in
[all …]
/openbmc/phosphor-mboxd/
H A Dformat-code.sh3 set -euo
5 set -x
7 [ -f .clang-format ] && rm .clang-format
9 CLANG_FORMAT="$(which clang-format-5.0)"
11 # phosphor-mboxd is a fork of mboxbridge, the reference mbox daemon
14 # phosphor-mboxd extended the reference in C++, and used the OpenBMC C++ style.
20 # Further, clang-format supports describing styles for multiple languages in
21 # the one .clang-format file, but *doesn't* make a distinction between C and
22 # C++. So we need two files. It gets worse: the -style parameter doesn't take
24 # literal 'file' and it goes looking for a .clang-format or _clang-format file.
[all …]
/openbmc/linux/tools/testing/selftests/landlock/
H A Dptrace_test.c1 // SPDX-License-Identifier: GPL-2.0
3 * Landlock tests - Ptrace
5 * Copyright © 2017-2020 Mickaël Salaün <mic@digikod.net>
6 * Copyright © 2019-2020 ANSSI
80 return -1; in get_yama_ptrace_scope()
88 /* clang-format off */
90 /* clang-format on */
111 * P1-. P1 -> P2 : allow
112 * \ P2 -> P1 : allow
115 /* clang-format off */
[all …]
/openbmc/docs/
H A Dcpp-style-and-conventions.md41 We also strive to keep the codebase up-to-date with the latest recommended
48 of this document enforced by tools as possible by, for example, clang-format and
49 clang-tidy.
51 For those coming to the project from pre-C++11 environments we strongly
57 OpenBMC targets embedded processors that typically have 32-64MB of flash and
58 similar processing power of a typical smart-watch available in 2016. This means
64 From a macro-optimization perspective, we expect all solutions to have an
89 - NL.10 Avoid CamelCase
90 - NL.17 Use K&R-derived layout
105 1. Use is done as a header-only library. This allows unused functions and
[all …]
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-extended/highway/
H A Dhighway_1.2.0.bb4 LICENSE = "Apache-2.0"
10 file://0001-Add-cmake-check-for-deducing-32bit-or-64bit-RISCV.patch"
15 EXTRA_OECMAKE = "-DBUILD_TESTING=0 -DCMAKE_BUILD_TYPE=Release"
17 CXXFLAGS:append:arm = " -mfp16-format=ieee"
18 # Option not supported with clang and its default format for __fp16 anyway with clang
19 CXXFLAGS:remove:toolchain-clang = "-mfp16-format=ieee"
/openbmc/phosphor-webui/
H A Dformat-code.sh3 # This script reformats source files using the clang-format utility.
5 # Files are changed in-place, so make sure you don't have anything open in an
13 set -e
17 : ${CLANG_FORMAT:=clang-format}
22 if [ -f ".clang-format" ]; then
23 $CLANG_FORMAT -i `git ls-files '*.js'`
24 git --no-pager diff --exit-code
/openbmc/openbmc/poky/meta/recipes-support/gnome-desktop-testing/gnome-desktop-testing/
H A D0001-fix-non-literal-format-string-issue-with-clang.patch3 Date: Thu, 8 Jul 2021 23:13:30 -0700
4 Subject: [PATCH] fix non-literal format string issue with clang
6 clang errors out when using -Werror=format-nonliteral
7 since the definition of g_strdup_vprintf() from glib-2.0
8 is using va_list and clang seems to still warn where as
11 Upstream-Status: Submitted [https://gitlab.gnome.org/GNOME/gnome-desktop-testing/-/merge_requests/9]
12 Signed-off-by: Khem Raj <raj.khem@gmail.com>
13 ---
14 src/gnome-desktop-testing-runner.c | 2 +-
15 1 file changed, 1 insertion(+), 1 deletion(-)
[all …]
/openbmc/dbus-sensors/src/
H A Ddbus-sensor_config.h.in5 // clang-format off
9 // clang-format on
/openbmc/bmcweb/config/
H A Dbmcweb_config.h.in6 // clang-format off
7 // NOLINTBEGIN(readability-identifier-naming)
11 // NOLINTEND(readability-identifier-naming)
12 // clang-format on
/openbmc/bmcweb/scripts/
H A Dgenerate_schema_enums.py10 os.path.join(SCRIPT_DIR, "..", "redfish-core", "schema")
15 SCRIPT_DIR, "..", "redfish-core", "include", "generated", "enums"
20 EDMX = "{http://docs.oasis-open.org/odata/ns/edmx}"
21 EDM = "{http://docs.oasis-open.org/odata/ns/edm}"
67 name = re.sub("(.)([A-Z][a-z]+)", r"\1_\2", name)
68 return re.sub("([a-z0-9])([A-Z])", r"\1_\2", name).lower()
73 "// SPDX-License-Identifier: Apache-2.0\n"
74 "// SPDX-FileCopyrightText: Copyright OpenBMC Authors\n"
79 "// clang-format off\n\n".format(snake_case_namespace)
83 redfish_defs_file.write("enum class {}{{\n".format(element.name))
[all …]
/openbmc/bmcweb/redfish-core/include/generated/enums/
H A Dsignature.hpp1 // SPDX-License-Identifier: Apache-2.0
2 // SPDX-FileCopyrightText: Copyright OpenBMC Authors
8 // clang-format off
21 // clang-format on
H A Dmedia_controller.hpp1 // SPDX-License-Identifier: Apache-2.0
2 // SPDX-FileCopyrightText: Copyright OpenBMC Authors
8 // clang-format off
21 // clang-format on
H A Dthermal.hpp1 // SPDX-License-Identifier: Apache-2.0
2 // SPDX-FileCopyrightText: Copyright OpenBMC Authors
8 // clang-format off
23 // clang-format on
H A Dleak_detector.hpp1 // SPDX-License-Identifier: Apache-2.0
2 // SPDX-FileCopyrightText: Copyright OpenBMC Authors
8 // clang-format off
23 // clang-format on
H A Dtask_service.hpp1 // SPDX-License-Identifier: Apache-2.0
2 // SPDX-FileCopyrightText: Copyright OpenBMC Authors
8 // clang-format off
23 // clang-format on
H A Dtrusted_component.hpp1 // SPDX-License-Identifier: Apache-2.0
2 // SPDX-FileCopyrightText: Copyright OpenBMC Authors
8 // clang-format off
23 // clang-format on
H A Dsecure_boot_database.hpp1 // SPDX-License-Identifier: Apache-2.0
2 // SPDX-FileCopyrightText: Copyright OpenBMC Authors
8 // clang-format off
23 // clang-format on

12345678910>>...14