Brad King
0ac18d40c8
Remove //------...
horizontal separator comments
Modern editors provide plenty of ways to visually separate functions.
Drop the explicit comments that previously served this purpose.
Use the following command to automate the change:
$ git ls-files -z -- \
"*.c" "*.cc" "*.cpp" "*.cxx" "*.h" "*.hh" "*.hpp" "*.hxx" |
egrep -z -v "^Source/cmCommandArgumentLexer\." |
egrep -z -v "^Source/cmCommandArgumentParser(\.y|\.cxx|Tokens\.h)" |
egrep -z -v "^Source/cmDependsJavaLexer\." |
egrep -z -v "^Source/cmDependsJavaParser(\.y|\.cxx|Tokens\.h)" |
egrep -z -v "^Source/cmExprLexer\." |
egrep -z -v "^Source/cmExprParser(\.y|\.cxx|Tokens\.h)" |
egrep -z -v "^Source/cmFortranLexer\." |
egrep -z -v "^Source/cmFortranParser(\.y|\.cxx|Tokens\.h)" |
egrep -z -v "^Source/cmListFileLexer\." |
egrep -z -v "^Source/cm_sha2" |
egrep -z -v "^Source/(kwsys|CursesDialog/form)/" |
egrep -z -v "^Utilities/(KW|cm).*/" |
xargs -0 sed -i '/^\(\/\/---*\|\/\*---*\*\/\)$/ {d;}'
This avoids modifying third-party sources and generated sources.
2016-05-09 09:41:43 -04:00
..
2016-03-29 14:31:02 -04:00
2005-06-20 17:37:40 -04:00
2016-05-09 09:41:43 -04:00
2015-07-07 09:16:40 -04:00
2016-04-29 13:58:31 -04:00
2016-04-29 13:58:31 -04:00
2016-04-29 13:58:54 -04:00
2015-04-13 11:44:16 -04:00
2015-04-13 11:44:16 -04:00
2014-12-11 13:53:06 -05:00
2015-04-13 11:44:16 -04:00
2014-12-11 13:53:06 -05:00
2014-01-07 09:27:44 -05:00
2016-04-29 13:58:31 -04:00
2014-03-11 15:03:50 +01:00
2016-04-29 13:58:31 -04:00
2016-04-29 13:58:54 -04:00
2016-04-29 13:58:31 -04:00
2016-04-29 13:58:54 -04:00
2016-04-29 13:58:31 -04:00
2016-04-29 13:58:31 -04:00
2016-04-29 13:58:31 -04:00
2015-04-13 11:44:16 -04:00
2014-12-11 13:53:06 -05:00
2016-04-29 13:58:31 -04:00
2016-04-29 13:58:31 -04:00
2014-12-11 13:53:06 -05:00
2015-09-16 08:42:20 -04:00
2016-04-29 13:58:31 -04:00