discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: clang formating


From: Gisle Vanem
Subject: Re: clang formating
Date: Wed, 11 Nov 2020 13:50:29 +0100
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0



Den 11.11.2020 13.28, skrev Johannes Demel:
Hi Gisle,

`file` is not a placeholder but the literal argument. `--style=file` tells `clang-format` to search for a `.clang-format` file in the current and parent folders.

Oh. But deleting the '%GR_ROOT/.clang-format' and doing a:
  clang-format.exe -style=file -i file_descriptor_sink_impl.cc

in '%GR_ROOT/gr-blocks/lib', works too. So it traverses multiple
directories under my %GR_ROOT? Adding a '--verbose' gives no
extra clue what this tool does and where it finds '.clang-format'.

--
--gv



reply via email to

[Prev in Thread] Current Thread [Next in Thread]