Condense namespaces in tint/reader.

This PR condenses the namespaces in the tint/reader folder.

Change-Id: Idfcff142b33a1e08884271ff1124a69b75b4e606
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/86034
Reviewed-by: Ben Clayton <bclayton@google.com>
Auto-Submit: Dan Sinclair <dsinclair@chromium.org>
Commit-Queue: Dan Sinclair <dsinclair@chromium.org>
This commit is contained in:
dan sinclair 2022-04-07 19:10:14 +00:00 committed by Dawn LUCI CQ
parent 258cbafdec
commit 612a59be41
2 changed files with 4 additions and 8 deletions

View File

@ -14,12 +14,10 @@
#include "src/tint/reader/reader.h" #include "src/tint/reader/reader.h"
namespace tint { namespace tint::reader {
namespace reader {
Reader::Reader() = default; Reader::Reader() = default;
Reader::~Reader() = default; Reader::~Reader() = default;
} // namespace reader } // namespace tint::reader
} // namespace tint

View File

@ -19,8 +19,7 @@
#include "src/tint/program.h" #include "src/tint/program.h"
namespace tint { namespace tint::reader {
namespace reader {
/// Base class for input readers /// Base class for input readers
class Reader { class Reader {
@ -59,7 +58,6 @@ class Reader {
diag::List diags_; diag::List diags_;
}; };
} // namespace reader } // namespace tint::reader
} // namespace tint
#endif // SRC_TINT_READER_READER_H_ #endif // SRC_TINT_READER_READER_H_