[Lldb-commits] [lldb] 60d690b - Add include guards for PlatformQemuUser.h

Pavel Labath via lldb-commits lldb-commits at lists.llvm.org
Tue Nov 22 07:14:00 PST 2022


Author: Pavel Labath
Date: 2022-11-22T16:13:29+01:00
New Revision: 60d690b3a956a727ecf2c3dc1d00a74d667a0f5f

URL: https://github.com/llvm/llvm-project/commit/60d690b3a956a727ecf2c3dc1d00a74d667a0f5f
DIFF: https://github.com/llvm/llvm-project/commit/60d690b3a956a727ecf2c3dc1d00a74d667a0f5f.diff

LOG: Add include guards for PlatformQemuUser.h

Added: 
    

Modified: 
    lldb/source/Plugins/Platform/QemuUser/PlatformQemuUser.h

Removed: 
    


################################################################################
diff  --git a/lldb/source/Plugins/Platform/QemuUser/PlatformQemuUser.h b/lldb/source/Plugins/Platform/QemuUser/PlatformQemuUser.h
index a29b5bcdedc74..596cf75b591f2 100644
--- a/lldb/source/Plugins/Platform/QemuUser/PlatformQemuUser.h
+++ b/lldb/source/Plugins/Platform/QemuUser/PlatformQemuUser.h
@@ -6,6 +6,9 @@
 //
 //===----------------------------------------------------------------------===//
 
+#ifndef LLDB_SOURCE_PLUGINS_PLATFORM_QEMUUSER_PLATFORMQEMUUSER_H
+#define LLDB_SOURCE_PLUGINS_PLATFORM_QEMUUSER_PLATFORMQEMUUSER_H
+
 #include "lldb/Host/Host.h"
 #include "lldb/Host/HostInfo.h"
 #include "lldb/Target/Platform.h"
@@ -74,3 +77,5 @@ class PlatformQemuUser : public Platform {
 };
 
 } // namespace lldb_private
+
+#endif // LLDB_SOURCE_PLUGINS_PLATFORM_QEMUUSER_PLATFORMQEMUUSER_H


        


More information about the lldb-commits mailing list