summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/Process/Linux/ProcFileReader.h
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/source/Plugins/Process/Linux/ProcFileReader.h')
-rw-r--r--lldb/source/Plugins/Process/Linux/ProcFileReader.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/lldb/source/Plugins/Process/Linux/ProcFileReader.h b/lldb/source/Plugins/Process/Linux/ProcFileReader.h
index dfd77d349e8..7b381243306 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 @@ namespace lldb_private
/// 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_
OpenPOWER on IntegriCloud