Advertisement
Guest User

clang-format-comments-reflowed

a guest
Jun 29th, 2014
345
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.67 KB | None | 0 0
  1.  
  2.  
  3. // aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa bbbbbbbbbbbbbbbbbbb
  4. // NoNoN
  5.  
  6. // aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa bbbbbbbbbbbbbbbbbbb YesY
  7.  
  8. // aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa bbbbbbbbbbbbbbbbbbbbbbb cccccccc
  9. // N 1
  10.  
  11. /// gh hhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh kkkkkkkkkkkkkkk
  12. ////--------------------------------------------------------------------------
  13. //
  14. // u i
  15.  
  16. int foo() { // jimmy bob thronton
  17. {
  18. {
  19. // eeeeee ffffffff hhhhh xxxxxxxxxxxxxxxxxx yyyyyyyy yyyyyyy jjjjj kkkk
  20. // llll 1 bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
  21. // bbbbbbbbbbbbbbbbbbb ab xcd
  22. }
  23. }
  24. }
  25.  
  26. int foo() {
  27. {
  28. // aaaaaaaaaaaaaaaaaaaaaa aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
  29. // aaaaaaaaaaaaa bbbbbbbbbbb ccccccc cccccccccccccccccccccccccccccc
  30. }
  31. }
  32.  
  33. int foo() {
  34. {
  35. // aaaaaaaaaaaaaaaaaaaaaa aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
  36. // aaaaaaaaaaaaa bbbbbbbbbbb ccccccc cccccccccccccccccccccccccccccc ddddd
  37. // eeeeee ffffffff hhhhh xxxxxxxxxxxxxxxxxx yyyyyyyy yyyyyyy
  38. // hhhhhhhhhhhhhhh
  39. }
  40. }
  41.  
  42. int foo() {
  43. {
  44. // aaaaaaaaaaaaaaaaaaaaaa aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
  45. // aaaaaaaaaaaaa bbbbbbbbbbb ccccccc cccccccccccccccccccccccccccccc ddddd
  46. // eeeeee ffffffff hhhhh
  47. {
  48. {
  49. {
  50. {
  51. {
  52. {
  53. {
  54. {
  55. {
  56. // xxxxxxxxxxxxxxxxxx yyyyyyyy yyyyyyy hhhhhhhhhhhhhhh aa
  57. }
  58. }
  59. }
  60. }
  61. }
  62. }
  63. }
  64. }
  65. }
  66. }
  67. }
  68.  
  69. int foo() {
  70. {
  71. // aaaaaaaaaaaaaaaaaaaaaa aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
  72. // aaaaaaaaaaaaa bbbbbbbbbbb ccccccc cccccccccccccccccccccccccccccc
  73. }
  74. }
  75.  
  76. int foo() {
  77. {
  78. {
  79. // aaaaaaaaaaaaaaaaaaaaaa aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
  80. // aaaaaaaaaaaaa bbbbbbbbbbb ccccccc cccccccccccccccccccccccccccccc ddddd
  81. // eeeeee ffffffff hhhhh xxxxxxxxxxxxxxxxxx yyyyyyyy yyyyyyy
  82. // hhhhhhhhhhhhhhh
  83. }
  84. }
  85. }
  86.  
  87. int foo() {
  88. {
  89. {
  90. // eeeeee ffffffff hhhhh xxxxxxxxxxxxxxxxxx yyyyyyyy yyyyyyy 1
  91. // 1hhhhhhhhhhh3 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
  92. // xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx 45467676767676 yuyuyuoioouoiuoiu
  93. // hjhjhjhjhjh kjlkjlkjlkj
  94. }
  95. }
  96. }
  97.  
  98. int foo() {
  99. {
  100. {
  101. // aaaaaaaaaaaaaaaaaaaaaa aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa bb
  102. // aaaaaaaaaaaaa bbbbbbbbbbb ccccccc cccccccccccccccccccccccccccccc ddddd
  103. // eee
  104. }
  105. }
  106. }
  107.  
  108. int g() {} // this is a comment
  109. // as is this.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement