#clangformat — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #clangformat, aggregated by home.social.
-
CLion comes with its own code formatter: Should you use that or clang-format? And if you chose clang-format, how do you set that up? Watch this short video to find out more. #CLion #Cpp #SoftwareDevelopment #ClangFormat #Programming #CPlusPlus
-
CLion comes with its own code formatter: Should you use that or clang-format? And if you chose clang-format, how do you set that up? Watch this short video to find out more. #CLion #Cpp #SoftwareDevelopment #ClangFormat #Programming #CPlusPlus
-
CLion comes with its own code formatter: Should you use that or clang-format? And if you chose clang-format, how do you set that up? Watch this short video to find out more. #CLion #Cpp #SoftwareDevelopment #ClangFormat #Programming #CPlusPlus
-
CLion comes with its own code formatter: Should you use that or clang-format? And if you chose clang-format, how do you set that up? Watch this short video to find out more. #CLion #Cpp #SoftwareDevelopment #ClangFormat #Programming #CPlusPlus
-
CLion comes with its own code formatter: Should you use that or clang-format? And if you chose clang-format, how do you set that up? Watch this short video to find out more. #CLion #Cpp #SoftwareDevelopment #ClangFormat #Programming #CPlusPlus
-
Oh, joy, clang-format 22 has compounded an existing bug where
AllowShortBlocksOnASingleLine: Emptydidn't work by applying theAllowShortBlocksOnASingleLinesetting to functions, meaning that there is no way for us to move to clang 22 without some formatting churn. -
Oh, joy, clang-format 22 has compounded an existing bug where
AllowShortBlocksOnASingleLine: Emptydidn't work by applying theAllowShortBlocksOnASingleLinesetting to functions, meaning that there is no way for us to move to clang 22 without some formatting churn. -
Oh, joy, clang-format 22 has compounded an existing bug where
AllowShortBlocksOnASingleLine: Emptydidn't work by applying theAllowShortBlocksOnASingleLinesetting to functions, meaning that there is no way for us to move to clang 22 without some formatting churn. -
Oh, joy, clang-format 22 has compounded an existing bug where
AllowShortBlocksOnASingleLine: Emptydidn't work by applying theAllowShortBlocksOnASingleLinesetting to functions, meaning that there is no way for us to move to clang 22 without some formatting churn. -
Oh, joy, clang-format 22 has compounded an existing bug where
AllowShortBlocksOnASingleLine: Emptydidn't work by applying theAllowShortBlocksOnASingleLinesetting to functions, meaning that there is no way for us to move to clang 22 without some formatting churn. -
Реализация утилиты cat на языке C
Когда я только начинала изучать язык C, меня довольно сильно пугала его "топорность" по сравнению с другими языками. Все довольно строгое, управляемое вручную, но именно этим он и привлек меня. Потому что ощущение, будто ты напрямую разговариваешь с системой. В какой-то момент в моем поле появилась задачка: написать две утилиты линуксоидного существа cat и grep. Несмотря на то, что они кажутся довольно простыми, они оказались отличной возможностью погрузиться в работу с файлами, и понять, даже поверхностно, как работает язык C и с чем его едят. В статье постараюсь рассказать и показать ход своих мыслей и почему теперь я смотрю на консольные команды совсем иначе. В этой статье я подробно остановлюсь только на реализации утилиты cat. Что за зверь этот Cat Cat показалась мне более простой в написании, чем grep, да и частично grep строится на базе cat – тоже читает данные из файла, тоже работает со строками, но с небольшим нюансом в виде фильтрации. Что нам важно понимать на старте?
https://habr.com/ru/articles/939382/
#cat #утилита #clang #clangformat #linux #linuxутилита #утилиты
-
Реализация утилиты cat на языке C
Когда я только начинала изучать язык C, меня довольно сильно пугала его "топорность" по сравнению с другими языками. Все довольно строгое, управляемое вручную, но именно этим он и привлек меня. Потому что ощущение, будто ты напрямую разговариваешь с системой. В какой-то момент в моем поле появилась задачка: написать две утилиты линуксоидного существа cat и grep. Несмотря на то, что они кажутся довольно простыми, они оказались отличной возможностью погрузиться в работу с файлами, и понять, даже поверхностно, как работает язык C и с чем его едят. В статье постараюсь рассказать и показать ход своих мыслей и почему теперь я смотрю на консольные команды совсем иначе. В этой статье я подробно остановлюсь только на реализации утилиты cat. Что за зверь этот Cat Cat показалась мне более простой в написании, чем grep, да и частично grep строится на базе cat – тоже читает данные из файла, тоже работает со строками, но с небольшим нюансом в виде фильтрации. Что нам важно понимать на старте?
https://habr.com/ru/articles/939382/
#cat #утилита #clang #clangformat #linux #linuxутилита #утилиты
-
Реализация утилиты cat на языке C
Когда я только начинала изучать язык C, меня довольно сильно пугала его "топорность" по сравнению с другими языками. Все довольно строгое, управляемое вручную, но именно этим он и привлек меня. Потому что ощущение, будто ты напрямую разговариваешь с системой. В какой-то момент в моем поле появилась задачка: написать две утилиты линуксоидного существа cat и grep. Несмотря на то, что они кажутся довольно простыми, они оказались отличной возможностью погрузиться в работу с файлами, и понять, даже поверхностно, как работает язык C и с чем его едят. В статье постараюсь рассказать и показать ход своих мыслей и почему теперь я смотрю на консольные команды совсем иначе. В этой статье я подробно остановлюсь только на реализации утилиты cat. Что за зверь этот Cat Cat показалась мне более простой в написании, чем grep, да и частично grep строится на базе cat – тоже читает данные из файла, тоже работает со строками, но с небольшим нюансом в виде фильтрации. Что нам важно понимать на старте?
https://habr.com/ru/articles/939382/
#cat #утилита #clang #clangformat #linux #linuxутилита #утилиты
-
Реализация утилиты cat на языке C
Когда я только начинала изучать язык C, меня довольно сильно пугала его "топорность" по сравнению с другими языками. Все довольно строгое, управляемое вручную, но именно этим он и привлек меня. Потому что ощущение, будто ты напрямую разговариваешь с системой. В какой-то момент в моем поле появилась задачка: написать две утилиты линуксоидного существа cat и grep. Несмотря на то, что они кажутся довольно простыми, они оказались отличной возможностью погрузиться в работу с файлами, и понять, даже поверхностно, как работает язык C и с чем его едят. В статье постараюсь рассказать и показать ход своих мыслей и почему теперь я смотрю на консольные команды совсем иначе. В этой статье я подробно остановлюсь только на реализации утилиты cat. Что за зверь этот Cat Cat показалась мне более простой в написании, чем grep, да и частично grep строится на базе cat – тоже читает данные из файла, тоже работает со строками, но с небольшим нюансом в виде фильтрации. Что нам важно понимать на старте?
https://habr.com/ru/articles/939382/
#cat #утилита #clang #clangformat #linux #linuxутилита #утилиты
-
Oh yay #clangformat updated and is now even worse
(No this can't be fixed, give me a .clang-format file which fixes this particular case and I guarantee it'll break 10 other cases)
-
Oh yay #clangformat updated and is now even worse
(No this can't be fixed, give me a .clang-format file which fixes this particular case and I guarantee it'll break 10 other cases)
-
Oh yay #clangformat updated and is now even worse
(No this can't be fixed, give me a .clang-format file which fixes this particular case and I guarantee it'll break 10 other cases)
-
Oh yay #clangformat updated and is now even worse
(No this can't be fixed, give me a .clang-format file which fixes this particular case and I guarantee it'll break 10 other cases)
-
Oh yay #clangformat updated and is now even worse
(No this can't be fixed, give me a .clang-format file which fixes this particular case and I guarantee it'll break 10 other cases)
-
Has scientists figured out yet how to get clang-format to not bizarrely try to align chained methods? #cpp #clang #llvm #clangformat #cplusplus #programming
-
Has scientists figured out yet how to get clang-format to not bizarrely try to align chained methods? #cpp #clang #llvm #clangformat #cplusplus #programming
-
Has scientists figured out yet how to get clang-format to not bizarrely try to align chained methods? #cpp #clang #llvm #clangformat #cplusplus #programming
-
Has scientists figured out yet how to get clang-format to not bizarrely try to align chained methods? #cpp #clang #llvm #clangformat #cplusplus #programming
-
It's actually wild that regardless of how much time and effort you spend trying to prevent clang-format from aligning stuff, you'll still stumble upon cases which it absolutely insists on aligning. You'd think writing a non-aligning formatter was easier than writing an aligning one?
Worse: it occasionally aligns with tabs if you use tabs, even when you tell it to align with spaces
-
It's actually wild that regardless of how much time and effort you spend trying to prevent clang-format from aligning stuff, you'll still stumble upon cases which it absolutely insists on aligning. You'd think writing a non-aligning formatter was easier than writing an aligning one?
Worse: it occasionally aligns with tabs if you use tabs, even when you tell it to align with spaces
-
It's actually wild that regardless of how much time and effort you spend trying to prevent clang-format from aligning stuff, you'll still stumble upon cases which it absolutely insists on aligning. You'd think writing a non-aligning formatter was easier than writing an aligning one?
Worse: it occasionally aligns with tabs if you use tabs, even when you tell it to align with spaces
-
It's actually wild that regardless of how much time and effort you spend trying to prevent clang-format from aligning stuff, you'll still stumble upon cases which it absolutely insists on aligning. You'd think writing a non-aligning formatter was easier than writing an aligning one?
Worse: it occasionally aligns with tabs if you use tabs, even when you tell it to align with spaces
-
It's actually wild that regardless of how much time and effort you spend trying to prevent clang-format from aligning stuff, you'll still stumble upon cases which it absolutely insists on aligning. You'd think writing a non-aligning formatter was easier than writing an aligning one?
Worse: it occasionally aligns with tabs if you use tabs, even when you tell it to align with spaces
-
Автоматическое Выравнивание Отступов в Исходниках (clang-format + Make)
Есть такая тема, как автоматическое выравнивание отступов в исходных текстах программ на Си или С++. Притом для этого есть специальные утилиты. Например clang-format или GNU indent . В этот тексте я написал как встроить процесс выравнивания исходных кодов прямо в систему сборки проекта. Просто в одно касание и выровнять, и собрать бинари.
https://habr.com/ru/articles/833500/
#clang #clangformat #make #makefile #sed #grep #bash #indent #devops #gnu
-
Автоматическое Выравнивание Отступов в Исходниках (clang-format + Make)
Есть такая тема, как автоматическое выравнивание отступов в исходных текстах программ на Си или С++. Притом для этого есть специальные утилиты. Например clang-format или GNU indent . В этот тексте я написал как встроить процесс выравнивания исходных кодов прямо в систему сборки проекта. Просто в одно касание и выровнять, и собрать бинари.
https://habr.com/ru/articles/833500/
#clang #clangformat #make #makefile #sed #grep #bash #indent #devops #gnu
-
Автоматическое Выравнивание Отступов в Исходниках (clang-format + Make)
Есть такая тема, как автоматическое выравнивание отступов в исходных текстах программ на Си или С++. Притом для этого есть специальные утилиты. Например clang-format или GNU indent . В этот тексте я написал как встроить процесс выравнивания исходных кодов прямо в систему сборки проекта. Просто в одно касание и выровнять, и собрать бинари.
https://habr.com/ru/articles/833500/
#clang #clangformat #make #makefile #sed #grep #bash #indent #devops #gnu
-
@deezo nope, same result. clang-format seems to see some structure in this aggregate with designated initializers that tips the formatter over. Its a LLVM based style, minor adjustments for lambdas. #cpp #ClangFormat
-
@deezo nope, same result. clang-format seems to see some structure in this aggregate with designated initializers that tips the formatter over. Its a LLVM based style, minor adjustments for lambdas. #cpp #ClangFormat
-
@deezo nope, same result. clang-format seems to see some structure in this aggregate with designated initializers that tips the formatter over. Its a LLVM based style, minor adjustments for lambdas. #cpp #ClangFormat
-
Any #cpp folks out there know how to tame clang-format with contemporary C++ ... look at the brackets for indices ... why? #ClangFormat
-
Any #cpp folks out there know how to tame clang-format with contemporary C++ ... look at the brackets for indices ... why? #ClangFormat
-
Any #cpp folks out there know how to tame clang-format with contemporary C++ ... look at the brackets for indices ... why? #ClangFormat
-
Okay can someone just make a rustfmt for C++ already, I'm extremely tired of trying to configure broken formatters
I'm just trying to OR together some bits and #uncrustify is making that extremely difficult
If anyone knows how I can make this not absolutely terrible please do tell me because I'm out of ideas (and please don't tell me to use #clangformat, that's even worse)
-
Okay can someone just make a rustfmt for C++ already, I'm extremely tired of trying to configure broken formatters
I'm just trying to OR together some bits and #uncrustify is making that extremely difficult
If anyone knows how I can make this not absolutely terrible please do tell me because I'm out of ideas (and please don't tell me to use #clangformat, that's even worse)
-
Okay can someone just make a rustfmt for C++ already, I'm extremely tired of trying to configure broken formatters
I'm just trying to OR together some bits and #uncrustify is making that extremely difficult
If anyone knows how I can make this not absolutely terrible please do tell me because I'm out of ideas (and please don't tell me to use #clangformat, that's even worse)
-
Okay can someone just make a rustfmt for C++ already, I'm extremely tired of trying to configure broken formatters
I'm just trying to OR together some bits and #uncrustify is making that extremely difficult
If anyone knows how I can make this not absolutely terrible please do tell me because I'm out of ideas (and please don't tell me to use #clangformat, that's even worse)
-
Okay can someone just make a rustfmt for C++ already, I'm extremely tired of trying to configure broken formatters
I'm just trying to OR together some bits and #uncrustify is making that extremely difficult
If anyone knows how I can make this not absolutely terrible please do tell me because I'm out of ideas (and please don't tell me to use #clangformat, that's even worse)
-
Been checking out clang format a bit, trying to have it enabled for new code I write. I like it for the 98% of the stuff it gets right, but the 2% I can't configure the way I want it makes it kind of unusable to format whole documents.
Jury's still out on if I'll keep "format when typing" enabled or not.
-
Been checking out clang format a bit, trying to have it enabled for new code I write. I like it for the 98% of the stuff it gets right, but the 2% I can't configure the way I want it makes it kind of unusable to format whole documents.
Jury's still out on if I'll keep "format when typing" enabled or not.
-
Been checking out clang format a bit, trying to have it enabled for new code I write. I like it for the 98% of the stuff it gets right, but the 2% I can't configure the way I want it makes it kind of unusable to format whole documents.
Jury's still out on if I'll keep "format when typing" enabled or not.
-
Been checking out clang format a bit, trying to have it enabled for new code I write. I like it for the 98% of the stuff it gets right, but the 2% I can't configure the way I want it makes it kind of unusable to format whole documents.
Jury's still out on if I'll keep "format when typing" enabled or not.
-
Been checking out clang format a bit, trying to have it enabled for new code I write. I like it for the 98% of the stuff it gets right, but the 2% I can't configure the way I want it makes it kind of unusable to format whole documents.
Jury's still out on if I'll keep "format when typing" enabled or not.
-
does any #CPP people know how to get #ClangFormat to stop doing this BS, it looks so horrible
-
does any #CPP people know how to get #ClangFormat to stop doing this BS, it looks so horrible
-
does any #CPP people know how to get #ClangFormat to stop doing this BS, it looks so horrible