Re: Making C function declaration parameter names consistent with corresponding definition names
В списке pgsql-hackers по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: Making C function declaration parameter names consistent with corresponding definition names |
| Дата | |
| Msg-id | 3922750.1663372191@sss.pgh.pa.us обсуждение |
| Ответ на | Re: Making C function declaration parameter names consistent with corresponding definition names (Peter Geoghegan <pg@bowt.ie>) |
| Ответы |
Re: Making C function declaration parameter names consistent with corresponding definition names
|
| Список | pgsql-hackers |
Peter Geoghegan <pg@bowt.ie> writes:
> It's possible to configure the clang-tidy tooling to tolerate various
> inconsistencies, below some kind of threshold -- it is totally
> customizable. But I think that a strict, simple rule is the way to go
> here.
Agreed; I see no need to tolerate any inconsistency.
> (Though without creating busy work for committers that don't
> want to use clang-tidy all the time.)
Yeah. I'd be inclined to handle it about like cpluspluscheck:
provide a script that people can run from time to time, but
don't insist that it's a commit-blocker. (I wouldn't be unhappy
to see the cfbot include this in its compiler warnings suite,
though, once we get rid of the existing instances.)
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера