Author: labath
Date: Mon Feb 29 05:44:15 2016
New Revision: 262214

URL: http://llvm.org/viewvc/llvm-project?rev=262214&view=rev
Log:
Fix compiler warnings in the java code

Modified:
    lldb/trunk/source/Plugins/Language/Java/JavaLanguage.h
    lldb/trunk/source/Symbol/JavaASTContext.cpp

Modified: lldb/trunk/source/Plugins/Language/Java/JavaLanguage.h
URL: 
http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/Language/Java/JavaLanguage.h?rev=262214&r1=262213&r2=262214&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/Language/Java/JavaLanguage.h (original)
+++ lldb/trunk/source/Plugins/Language/Java/JavaLanguage.h Mon Feb 29 05:44:15 
2016
@@ -56,7 +56,7 @@ public:
     IsNilReference(ValueObject &valobj) override;
 
     lldb::TypeCategoryImplSP
-    GetFormatters();
+    GetFormatters() override;
 };
 
 } // namespace lldb_private

Modified: lldb/trunk/source/Symbol/JavaASTContext.cpp
URL: 
http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Symbol/JavaASTContext.cpp?rev=262214&r1=262213&r2=262214&view=diff
==============================================================================
--- lldb/trunk/source/Symbol/JavaASTContext.cpp (original)
+++ lldb/trunk/source/Symbol/JavaASTContext.cpp Mon Feb 29 05:44:15 2016
@@ -366,8 +366,7 @@ public:
     JavaArrayType(CompilerType element_type, const DWARFExpression 
&length_expression, const lldb::addr_t data_offset)
         : JavaType(JavaType::eKindArray),
           m_element_type(element_type),
-          m_length_expression(length_expression),
-          m_data_offset(data_offset)
+          m_length_expression(length_expression)
     {
     }
 
@@ -422,7 +421,6 @@ public:
 private:
     CompilerType m_element_type;
     DWARFExpression m_length_expression;
-    lldb::addr_t m_data_offset;
 };
 
 } // end of anonymous namespace


_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to