Move several plugin to its own namespace
Affected paths:
* Plugins/Platform/Android/*
* Plugins/Platform/Linux/*
* Plugins/Platform/gdb-server/*
* Plugins/Process/Linux/*
* Plugins/Process/gdb-remote/*
Differential revision: http://reviews.llvm.org/D8654
llvm-svn: 233679
diff --git a/lldb/source/Plugins/Process/Linux/ProcFileReader.h b/lldb/source/Plugins/Process/Linux/ProcFileReader.h
index dfd77d3..7b38124 100644
--- a/lldb/source/Plugins/Process/Linux/ProcFileReader.h
+++ b/lldb/source/Plugins/Process/Linux/ProcFileReader.h
@@ -15,8 +15,9 @@
#include "lldb/lldb-forward.h"
#include "lldb/lldb-types.h"
-namespace lldb_private
-{
+namespace lldb_private {
+namespace process_linux {
+
class ProcFileReader
{
public:
@@ -26,9 +27,11 @@
/// Parse the /proc/{@a pid}/{@a name} file line by line, passing each line to line_parser, until
/// either end of file or until line_parser returns false.
- static lldb_private::Error
+ static Error
ProcessLineByLine (lldb::pid_t pid, const char *name, std::function<bool (const std::string &line)> line_parser);
};
-}
+
+} // namespace process_linux
+} // namespace lldb_private
#endif // #ifndef liblldb_ProcFileReader_h_