You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Configuration file .clang-format should be discussed.
There are projects like dpNP and daal4py which also use clang-format and have .clang-format.
It is better to have similar style among projects.
Choices made in _clang-format used in daal4py was necessitated by shortcomings of daal4py's C++ header parser, so I am not sure it needs to be replicated across projects.
Choices made in _clang-format used in daal4py was necessitated by shortcomings of daal4py's C++ header parser, so I am not sure it needs to be replicated across projects.
It might be hard to share coding style across projects, especially if there is no sharing of code. E.g. oneDAL's ColumnLimit=150 is not acceptable to me. I will go with LLVM's standard https://llvm.org/docs/CodingStandards.html with perhaps some minor modifications.
Activity
oleksandr-pavlyk commentedon Oct 15, 2020
Choices made in
_clang-formatused in daal4py was necessitated by shortcomings of daal4py's C++ header parser, so I am not sure it needs to be replicated across projects.Alexander-Makaryev commentedon Oct 17, 2020
It is a copy of config from original DAAL with single change ColumnLimit field. So it is not a synthetic example, it is used in huge and serious c++ project.
https://github.com/oneapi-src/oneDAL/blob/master/cpp/daal/.clang-format
diptorupd commentedon Oct 19, 2020
It might be hard to share coding style across projects, especially if there is no sharing of code. E.g. oneDAL's
ColumnLimit=150is not acceptable to me. I will go with LLVM's standard https://llvm.org/docs/CodingStandards.html with perhaps some minor modifications.diptorupd commentedon Feb 14, 2021
We now have a
clang-formatfor the dpctl C API. Closing this ticket. Please reopen if we really want to discuss an IntelPython C coding style.