diff options
Diffstat (limited to 'include/lldb/Symbol/ObjectContainer.h')
-rw-r--r-- | include/lldb/Symbol/ObjectContainer.h | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/include/lldb/Symbol/ObjectContainer.h b/include/lldb/Symbol/ObjectContainer.h index 679e8f0..eeda1c4 100644 --- a/include/lldb/Symbol/ObjectContainer.h +++ b/include/lldb/Symbol/ObjectContainer.h @@ -14,7 +14,6 @@ // C++ Includes // Other libraries and framework includes // Project includes - #include "lldb/lldb-private.h" #include "lldb/Core/DataExtractor.h" #include "lldb/Host/FileSpec.h" @@ -71,10 +70,7 @@ public: /// The destructor is virtual since this class is designed to be /// inherited from by the plug-in instance. //------------------------------------------------------------------ - virtual - ~ObjectContainer() - { - } + ~ObjectContainer() override = default; //------------------------------------------------------------------ /// Dump a description of this object to a Stream. @@ -188,7 +184,7 @@ public: /// /// @return /// Returns a pointer to the object file of the requested \a - /// arch and optional \a name. Returns NULL of no such object + /// arch and optional \a name. Returns nullptr of no such object /// file exists in the container. //------------------------------------------------------------------ virtual lldb::ObjectFileSP @@ -203,19 +199,19 @@ public: virtual ObjectFile * GetObjectFileAtIndex (uint32_t object_idx) { - return NULL; + return nullptr; } virtual ObjectContainer * GetObjectContainerAtIndex (uint32_t object_idx) { - return NULL; + return nullptr; } virtual const char * GetObjectNameAtIndex (uint32_t object_idx) const { - return NULL; + return nullptr; } protected: @@ -233,4 +229,4 @@ private: } // namespace lldb_private -#endif // liblldb_ObjectContainer_h_ +#endif // liblldb_ObjectContainer_h_ |