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/mem/ruby/common/Address.hh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/mem/ruby/common/Address.hh') diff --git a/src/mem/ruby/common/Address.hh b/src/mem/ruby/common/Address.hh index 23b683d69..89e1929a0 100644 --- a/src/mem/ruby/common/Address.hh +++ b/src/mem/ruby/common/Address.hh @@ -277,7 +277,7 @@ template <> struct hash
return (size_t)s.getAddress(); } }; -/* namespace __hash_namespace */ } +} // namespace __hash_namespace namespace std { template <> struct equal_to
@@ -288,6 +288,6 @@ template <> struct equal_to
return s1 == s2; } }; -/* namespace std */ } +} // namespace std #endif // __MEM_RUBY_COMMON_ADDRESS_HH__ -- cgit v1.2.3