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/SConscript | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/SConscript') diff --git a/src/SConscript b/src/SConscript index 2d4ad7b0c..7d342e04c 100644 --- a/src/SConscript +++ b/src/SConscript @@ -835,7 +835,7 @@ extern const int numFlagStrings; // base flags to set. Inidividual flag arrays are terminated by -1. extern const Flags *compoundFlags[]; -/* namespace Trace */ } +} // namespace Trace #endif // __BASE_TRACE_FLAGS_HH__ ''') @@ -902,7 +902,7 @@ EmbeddedPython embedded_${sym}( ${{len(data)}}, ${{len(marshalled)}}); -/* namespace */ } +} // anonymous namespace ''') code.write(str(target[0])) -- cgit v1.2.3