diff options
author | Steve Reinhardt <steve.reinhardt@amd.com> | 2011-01-03 14:35:43 -0800 |
---|---|---|
committer | Steve Reinhardt <steve.reinhardt@amd.com> | 2011-01-03 14:35:43 -0800 |
commit | c69d48f007d2521fdbea52a0a7a95cfc4a547174 (patch) | |
tree | 59a866d2f48310090b5dd18dad0095029314cb6f /src/cpu/inorder | |
parent | 1a10ccc5e551857fc3a7c049df99547ccfe3f72b (diff) | |
download | gem5-c69d48f007d2521fdbea52a0a7a95cfc4a547174.tar.xz |
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.
Diffstat (limited to 'src/cpu/inorder')
-rw-r--r-- | src/cpu/inorder/inorder_trace.cc | 2 | ||||
-rw-r--r-- | src/cpu/inorder/inorder_trace.hh | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/cpu/inorder/inorder_trace.cc b/src/cpu/inorder/inorder_trace.cc index 70a947671..75f6be63d 100644 --- a/src/cpu/inorder/inorder_trace.cc +++ b/src/cpu/inorder/inorder_trace.cc @@ -81,7 +81,7 @@ InOrderTrace::getInstRecord(Tick when, ThreadContext *tc, return new InOrderTraceRecord(ThePipeline::NumStages, true, tc, _pc); } -/* namespace Trace */ } +} // namespace Trace //////////////////////////////////////////////////////////////////////// // diff --git a/src/cpu/inorder/inorder_trace.hh b/src/cpu/inorder/inorder_trace.hh index fd1427500..5386f641d 100644 --- a/src/cpu/inorder/inorder_trace.hh +++ b/src/cpu/inorder/inorder_trace.hh @@ -93,6 +93,6 @@ class InOrderTrace : public InstTracer const StaticInstPtr macroStaticInst = NULL); }; -/* namespace Trace */ } +} // namespace Trace #endif // __CPU_INORDER_INORDER_TRACE_HH__ |