diff options
author | Simon Marchi <simon.marchi@efficios.com> | 2025-02-27 21:29:39 -0500 |
---|---|---|
committer | Simon Marchi <simon.marchi@efficios.com> | 2025-02-27 21:35:38 -0500 |
commit | b6fb76ec6ef1e6643c87f29594d76c13aa94d876 (patch) | |
tree | 4b546e409f68ef5a786b44c38b0d140008affa01 /gdb/testsuite | |
parent | f0e6467e1044384ab1f882d26c16dec38fdad950 (diff) | |
download | binutils-b6fb76ec6ef1e6643c87f29594d76c13aa94d876.zip binutils-b6fb76ec6ef1e6643c87f29594d76c13aa94d876.tar.gz binutils-b6fb76ec6ef1e6643c87f29594d76c13aa94d876.tar.bz2 |
gdb, gdbserver, gdbsupport: fix some namespace comment formatting
I noticed a
// namespace selftests
comment, which doesn't follow our comment formatting convention. I did
a find & replace to fix all the offenders.
Change-Id: Idf8fe9833caf1c3d99e15330db000e4bab4ec66c
Diffstat (limited to 'gdb/testsuite')
-rw-r--r-- | gdb/testsuite/gdb.linespec/cp-replace-typedefs-ns-template.cc | 4 | ||||
-rw-r--r-- | gdb/testsuite/gdb.python/py-xmethods.cc | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/gdb/testsuite/gdb.linespec/cp-replace-typedefs-ns-template.cc b/gdb/testsuite/gdb.linespec/cp-replace-typedefs-ns-template.cc index 2ec402b..af2e583 100644 --- a/gdb/testsuite/gdb.linespec/cp-replace-typedefs-ns-template.cc +++ b/gdb/testsuite/gdb.linespec/cp-replace-typedefs-ns-template.cc @@ -70,9 +70,9 @@ int_Templ1_t_func (int_Templ1_t *) { } -} // namespace NS2 +} /* namespace NS2 */ -} // namespace NS1 +} /* namespace NS1 */ /* These typedefs have the same name as some of the components within NS1 that they alias to, on purpose, to try to confuse GDB and cause diff --git a/gdb/testsuite/gdb.python/py-xmethods.cc b/gdb/testsuite/gdb.python/py-xmethods.cc index 52fa2ff..99753dc 100644 --- a/gdb/testsuite/gdb.python/py-xmethods.cc +++ b/gdb/testsuite/gdb.python/py-xmethods.cc @@ -137,7 +137,7 @@ G<T>::mul (const T1 t1) return t1 * t; } -} // namespace dop +} /* namespace dop */ using namespace dop; |