home.social

#clangformat — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #clangformat, aggregated by home.social.

  1. 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

    youtube.com/watch?v=y4PZqDuBuZI

  2. 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

    youtube.com/watch?v=y4PZqDuBuZI

  3. 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

    youtube.com/watch?v=y4PZqDuBuZI

  4. 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

    youtube.com/watch?v=y4PZqDuBuZI

  5. 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.

    youtube.com/watch?v=y4PZqDuBuZI

  6. Oh, joy, clang-format 22 has compounded an existing bug where AllowShortBlocksOnASingleLine: Empty didn't work by applying the AllowShortBlocksOnASingleLine setting to functions, meaning that there is no way for us to move to clang 22 without some formatting churn.

    #llvm #ClangFormat

  7. Oh, joy, clang-format 22 has compounded an existing bug where AllowShortBlocksOnASingleLine: Empty didn't work by applying the AllowShortBlocksOnASingleLine setting to functions, meaning that there is no way for us to move to clang 22 without some formatting churn.

    #llvm #ClangFormat

  8. Oh, joy, clang-format 22 has compounded an existing bug where AllowShortBlocksOnASingleLine: Empty didn't work by applying the AllowShortBlocksOnASingleLine setting to functions, meaning that there is no way for us to move to clang 22 without some formatting churn.

    #llvm #ClangFormat

  9. Oh, joy, clang-format 22 has compounded an existing bug where AllowShortBlocksOnASingleLine: Empty didn't work by applying the AllowShortBlocksOnASingleLine setting to functions, meaning that there is no way for us to move to clang 22 without some formatting churn.

    #llvm #ClangFormat

  10. Oh, joy, clang-format 22 has compounded an existing bug where AllowShortBlocksOnASingleLine: Empty didn't work by applying the AllowShortBlocksOnASingleLine setting to functions, meaning that there is no way for us to move to clang 22 without some formatting churn.

    #llvm #ClangFormat

  11. Реализация утилиты cat на языке C

    Когда я только начинала изучать язык C, меня довольно сильно пугала его "топорность" по сравнению с другими языками. Все довольно строгое, управляемое вручную, но именно этим он и привлек меня. Потому что ощущение, будто ты напрямую разговариваешь с системой. В какой-то момент в моем поле появилась задачка: написать две утилиты линуксоидного существа cat и grep. Несмотря на то, что они кажутся довольно простыми, они оказались отличной возможностью погрузиться в работу с файлами, и понять, даже поверхностно, как работает язык C и с чем его едят. В статье постараюсь рассказать и показать ход своих мыслей и почему теперь я смотрю на консольные команды совсем иначе. В этой статье я подробно остановлюсь только на реализации утилиты cat. Что за зверь этот Cat Cat показалась мне более простой в написании, чем grep, да и частично grep строится на базе cat – тоже читает данные из файла, тоже работает со строками, но с небольшим нюансом в виде фильтрации. Что нам важно понимать на старте?

    habr.com/ru/articles/939382/

    #cat #утилита #clang #clangformat #linux #linuxутилита #утилиты

  12. Реализация утилиты cat на языке C

    Когда я только начинала изучать язык C, меня довольно сильно пугала его "топорность" по сравнению с другими языками. Все довольно строгое, управляемое вручную, но именно этим он и привлек меня. Потому что ощущение, будто ты напрямую разговариваешь с системой. В какой-то момент в моем поле появилась задачка: написать две утилиты линуксоидного существа cat и grep. Несмотря на то, что они кажутся довольно простыми, они оказались отличной возможностью погрузиться в работу с файлами, и понять, даже поверхностно, как работает язык C и с чем его едят. В статье постараюсь рассказать и показать ход своих мыслей и почему теперь я смотрю на консольные команды совсем иначе. В этой статье я подробно остановлюсь только на реализации утилиты cat. Что за зверь этот Cat Cat показалась мне более простой в написании, чем grep, да и частично grep строится на базе cat – тоже читает данные из файла, тоже работает со строками, но с небольшим нюансом в виде фильтрации. Что нам важно понимать на старте?

    habr.com/ru/articles/939382/

    #cat #утилита #clang #clangformat #linux #linuxутилита #утилиты

  13. Реализация утилиты cat на языке C

    Когда я только начинала изучать язык C, меня довольно сильно пугала его "топорность" по сравнению с другими языками. Все довольно строгое, управляемое вручную, но именно этим он и привлек меня. Потому что ощущение, будто ты напрямую разговариваешь с системой. В какой-то момент в моем поле появилась задачка: написать две утилиты линуксоидного существа cat и grep. Несмотря на то, что они кажутся довольно простыми, они оказались отличной возможностью погрузиться в работу с файлами, и понять, даже поверхностно, как работает язык C и с чем его едят. В статье постараюсь рассказать и показать ход своих мыслей и почему теперь я смотрю на консольные команды совсем иначе. В этой статье я подробно остановлюсь только на реализации утилиты cat. Что за зверь этот Cat Cat показалась мне более простой в написании, чем grep, да и частично grep строится на базе cat – тоже читает данные из файла, тоже работает со строками, но с небольшим нюансом в виде фильтрации. Что нам важно понимать на старте?

    habr.com/ru/articles/939382/

    #cat #утилита #clang #clangformat #linux #linuxутилита #утилиты

  14. Реализация утилиты cat на языке C

    Когда я только начинала изучать язык C, меня довольно сильно пугала его "топорность" по сравнению с другими языками. Все довольно строгое, управляемое вручную, но именно этим он и привлек меня. Потому что ощущение, будто ты напрямую разговариваешь с системой. В какой-то момент в моем поле появилась задачка: написать две утилиты линуксоидного существа cat и grep. Несмотря на то, что они кажутся довольно простыми, они оказались отличной возможностью погрузиться в работу с файлами, и понять, даже поверхностно, как работает язык C и с чем его едят. В статье постараюсь рассказать и показать ход своих мыслей и почему теперь я смотрю на консольные команды совсем иначе. В этой статье я подробно остановлюсь только на реализации утилиты cat. Что за зверь этот Cat Cat показалась мне более простой в написании, чем grep, да и частично grep строится на базе cat – тоже читает данные из файла, тоже работает со строками, но с небольшим нюансом в виде фильтрации. Что нам важно понимать на старте?

    habr.com/ru/articles/939382/

    #cat #утилита #clang #clangformat #linux #linuxутилита #утилиты

  15. 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)

    #cpp #cplusplus #programming #clang #llvm

  16. Oh yay 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)

  17. 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)

    #cpp #cplusplus #programming #clang #llvm

  18. 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)

    #cpp #cplusplus #programming #clang #llvm

  19. 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)

    #cpp #cplusplus #programming #clang #llvm

  20. Has scientists figured out yet how to get clang-format to not bizarrely try to align chained methods?

  21. Has scientists figured out yet how to get clang-format to not bizarrely try to align chained methods? #cpp #clang #llvm #clangformat #cplusplus #programming

  22. Has scientists figured out yet how to get clang-format to not bizarrely try to align chained methods? #cpp #clang #llvm #clangformat #cplusplus #programming

  23. Has scientists figured out yet how to get clang-format to not bizarrely try to align chained methods? #cpp #clang #llvm #clangformat #cplusplus #programming

  24. 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

    #ClangFormat #clang #llvm #cpp #programming

  25. 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

  26. 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

    #ClangFormat #clang #llvm #cpp #programming

  27. 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

    #ClangFormat #clang #llvm #cpp #programming

  28. 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

    #ClangFormat #clang #llvm #cpp #programming

  29. Автоматическое Выравнивание Отступов в Исходниках (clang-format + Make)

    Есть такая тема, как автоматическое выравнивание отступов в исходных текстах программ на Си или С++. Притом для этого есть специальные утилиты. Например clang-format или GNU indent . В этот тексте я написал как встроить процесс выравнивания исходных кодов прямо в систему сборки проекта. Просто в одно касание и выровнять, и собрать бинари.

    habr.com/ru/articles/833500/

    #clang #clangformat #make #makefile #sed #grep #bash #indent #devops #gnu

  30. Автоматическое Выравнивание Отступов в Исходниках (clang-format + Make)

    Есть такая тема, как автоматическое выравнивание отступов в исходных текстах программ на Си или С++. Притом для этого есть специальные утилиты. Например clang-format или GNU indent . В этот тексте я написал как встроить процесс выравнивания исходных кодов прямо в систему сборки проекта. Просто в одно касание и выровнять, и собрать бинари.

    habr.com/ru/articles/833500/

    #clang #clangformat #make #makefile #sed #grep #bash #indent #devops #gnu

  31. Автоматическое Выравнивание Отступов в Исходниках (clang-format + Make)

    Есть такая тема, как автоматическое выравнивание отступов в исходных текстах программ на Си или С++. Притом для этого есть специальные утилиты. Например clang-format или GNU indent . В этот тексте я написал как встроить процесс выравнивания исходных кодов прямо в систему сборки проекта. Просто в одно касание и выровнять, и собрать бинари.

    habr.com/ru/articles/833500/

    #clang #clangformat #make #makefile #sed #grep #bash #indent #devops #gnu

  32. @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

  33. @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

  34. @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

  35. Any #cpp folks out there know how to tame clang-format with contemporary C++ ... look at the brackets for indices ... why? #ClangFormat

  36. Any #cpp folks out there know how to tame clang-format with contemporary C++ ... look at the brackets for indices ... why? #ClangFormat

  37. Any #cpp folks out there know how to tame clang-format with contemporary C++ ... look at the brackets for indices ... why? #ClangFormat

  38. 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)

    #cpp #programming

  39. 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 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 , that's even worse)

  40. 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)

    #cpp #programming

  41. 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)

    #cpp #programming

  42. 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)

    #cpp #programming

  43. 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.

    #cpp #clang #ClangFormat

  44. 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.

    #cpp #clang #ClangFormat

  45. 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.

    #cpp #clang #ClangFormat

  46. 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.

    #cpp #clang #ClangFormat

  47. 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.

    #cpp #clang #ClangFormat

  48. does any #CPP people know how to get #ClangFormat to stop doing this BS, it looks so horrible

    #clang #llvm #programming #c

  49. does any people know how to get to stop doing this BS, it looks so horrible

  50. does any #CPP people know how to get #ClangFormat to stop doing this BS, it looks so horrible

    #clang #llvm #programming #c