From c69d48f007d2521fdbea52a0a7a95cfc4a547174 Mon Sep 17 00:00:00 2001 From: Steve Reinhardt Date: Mon, 3 Jan 2011 14:35:43 -0800 Subject: Make commenting on close namespace brackets consistent. Ran all the source files through 'perl -pi' with this script: s|\s*(};?\s*)?/\*\s*(end\s*)?namespace\s*(\S+)\s*\*/(\s*})?|} // namespace $3|; s|\s*};?\s*//\s*(end\s*)?namespace\s*(\S+)\s*|} // namespace $2\n|; s|\s*};?\s*//\s*(\S+)\s*namespace\s*|} // namespace $1\n|; Also did a little manual editing on some of the arch/*/isa_traits.hh files and src/SConscript. --- src/base/stats/info.hh | 2 +- src/base/stats/mysql.cc | 2 +- src/base/stats/mysql.hh | 2 +- src/base/stats/mysql_run.hh | 2 +- src/base/stats/output.cc | 2 +- src/base/stats/output.hh | 2 +- src/base/stats/text.cc | 2 +- src/base/stats/text.hh | 2 +- src/base/stats/types.hh | 2 +- src/base/stats/visit.cc | 2 +- src/base/stats/visit.hh | 2 +- 11 files changed, 11 insertions(+), 11 deletions(-) (limited to 'src/base/stats') diff --git a/src/base/stats/info.hh b/src/base/stats/info.hh index e5b9e4a65..421ed4a55 100644 --- a/src/base/stats/info.hh +++ b/src/base/stats/info.hh @@ -232,6 +232,6 @@ class FormulaInfo : public VectorInfo }; -/* namespace Stats */ } +} // namespace Stats #endif // __BASE_STATS_INFO_HH__ diff --git a/src/base/stats/mysql.cc b/src/base/stats/mysql.cc index 9d2dadb01..d947122da 100644 --- a/src/base/stats/mysql.cc +++ b/src/base/stats/mysql.cc @@ -836,4 +836,4 @@ initMySQL(string host, string user, string password, string database, return true; } -/* end namespace Stats */ } +} // namespace Stats diff --git a/src/base/stats/mysql.hh b/src/base/stats/mysql.hh index 687f030f2..a09ee095c 100644 --- a/src/base/stats/mysql.hh +++ b/src/base/stats/mysql.hh @@ -179,6 +179,6 @@ initMySQL(std::string host, std::string user, std::string password, } #endif -/* namespace Stats */ } +} // namespace Stats #endif // __BASE_STATS_MYSQL_HH__ diff --git a/src/base/stats/mysql_run.hh b/src/base/stats/mysql_run.hh index 7207cd841..29ca168dd 100644 --- a/src/base/stats/mysql_run.hh +++ b/src/base/stats/mysql_run.hh @@ -62,6 +62,6 @@ struct MySqlRun uint16_t run() const { return run_id; } }; -/* namespace Stats */ } +} // namespace Stats #endif // __BASE_STATS_MYSQL_RUN_HH__ diff --git a/src/base/stats/output.cc b/src/base/stats/output.cc index ae2c9db5e..9d110e4ee 100644 --- a/src/base/stats/output.cc +++ b/src/base/stats/output.cc @@ -63,7 +63,7 @@ dump() } } -/* namespace Stats */ } +} // namespace Stats void debugDumpStats() diff --git a/src/base/stats/output.hh b/src/base/stats/output.hh index 4fe93791f..0f485dee3 100644 --- a/src/base/stats/output.hh +++ b/src/base/stats/output.hh @@ -44,6 +44,6 @@ struct Output : public Visit virtual bool valid() const = 0; }; -/* namespace Stats */ } +} // namespace Stats #endif // __BASE_STATS_OUTPUT_HH__ diff --git a/src/base/stats/text.cc b/src/base/stats/text.cc index 425a917ef..576f7e5d4 100644 --- a/src/base/stats/text.cc +++ b/src/base/stats/text.cc @@ -594,4 +594,4 @@ initText(const string &filename, bool desc) return true; } -/* namespace Stats */ } +} // namespace Stats diff --git a/src/base/stats/text.hh b/src/base/stats/text.hh index 0cb66ded8..ab8512859 100644 --- a/src/base/stats/text.hh +++ b/src/base/stats/text.hh @@ -75,6 +75,6 @@ class Text : public Output bool initText(const std::string &filename, bool desc); -/* namespace Stats */ } +} // namespace Stats #endif // __BASE_STATS_TEXT_HH__ diff --git a/src/base/stats/types.hh b/src/base/stats/types.hh index 87cf91653..9faa8d33d 100644 --- a/src/base/stats/types.hh +++ b/src/base/stats/types.hh @@ -53,6 +53,6 @@ typedef std::vector VResult; typedef unsigned int size_type; typedef unsigned int off_type; -/* namespace Stats */ } +} // namespace Stats #endif // __BASE_STATS_TYPES_HH__ diff --git a/src/base/stats/visit.cc b/src/base/stats/visit.cc index 6680eaa09..1d13bc25d 100644 --- a/src/base/stats/visit.cc +++ b/src/base/stats/visit.cc @@ -38,4 +38,4 @@ Visit::Visit() Visit::~Visit() {} -/* namespace Stats */ } +} // namespace Stats diff --git a/src/base/stats/visit.hh b/src/base/stats/visit.hh index f5c2fc34c..fae7a8883 100644 --- a/src/base/stats/visit.hh +++ b/src/base/stats/visit.hh @@ -55,6 +55,6 @@ struct Visit virtual void visit(const FormulaInfo &info) = 0; }; -/* namespace Stats */ } +} // namespace Stats #endif // __BASE_STATS_VISIT_HH__ -- cgit v1.2.3