-
create a github action workflow with running clang format and checking if everything is formatted correctly
-
Hi,
I use Neovim on linux arch. Everything up-to-date.
When I run `:Autoformat` my .clang-format is only detected if it is in the same directory as the c file.
If it is in a parent directory (like …
-
Details
```
FAILED: multiarc/CMakeFiles/multiarc.dir/src/formats/7z/C/SwapBytes.c.o
/usr/bin/cc -DHAVE_LIBARCHIVE -DHAVE_PCRE -DHAVE_UNRAR -DRARDLL -D_7ZIP_PPMD_SUPPPORT -D_7ZIP_ST -Dmultiarc_…
-
As discussed in my [RFC](https://discourse.llvm.org/t/rfc-clang-format-option-to-include-another-configuration-file/74891) earlier this year, I need a way for a .clang-format file to be based on anoth…
-
I have a clang-format configuration file that is getting close to our formatting
```
BasedOnStyle: Mozilla
AccessModifierOffset: '-4'
AlignAfterOpenBracket: Align
AlignEscapedNewlinesLeft: 'fa…
-
Would you be interested in using clang-format to have a standard format of your source code?
I would submit a PR for that if you find
Advantages:
- all code has the same format, consistency
-…
-
.... at least at some point. May need to wait for issue #35 to be resolved.
-
## Describe problem solved by the proposed feature
clang-format is a more generally used formatting tool. Its installation is easier than astyle
## Describe your preferred solution
A clear and co…
-
Often I need disable formatting only on one line. In this case it is annoying write `// clang-format off` above line and `// clang-format on` below line. And there is room for error also. It would be …
-
clang 18.1.8
clang 17.0.3 (from Visual Studio 2022)
Under windows code:
```C++
#include
#include
#include
int main()
{
#pragma omp parallel
std::cout
wmurw updated
1 month ago