Clean up single namespace forward-declarations

Done using the following ruby script:

Dir.glob('**/*.h').each { |file|
  if File.file?(file)
    s = File.read(file)
    t = s.gsub(/^namespace .+ \{\n\s*class .*;\n\s*\}.*$/) { |m| m.gsub(/\n\s*/, ' ').gsub(/\s*\/\/.*$/, '') }
    if t != s
      puts file
      File.open(file, 'w').write(t)
    end
  end
}

Change-Id: Iffcb966e90eb8e1a625eccd5dd0b94f000ae368e
Reviewed-by: hjk <hjk121@nokiamail.com>
This commit is contained in:
Orgad Shaneh
2014-02-11 21:55:42 +02:00
committed by hjk
parent 3f44590f4b
commit 7ed1576083
268 changed files with 306 additions and 922 deletions

View File

@@ -36,9 +36,7 @@
#include <coreplugin/editormanager/ieditorfactory.h>
namespace VcsBase {
namespace Internal {
class BaseVcsEditorFactoryPrivate;
} // namespace Internal
namespace Internal { class BaseVcsEditorFactoryPrivate; }
class VCSBASE_EXPORT BaseVcsEditorFactory : public Core::IEditorFactory
{