Fix a bunch more lint.
(If you ignore the compilers, we've got relatively little lint now. Fits on
a single screen.)
Change-Id: I51389002894d4fd8cf46f79d2bac57079322a030
diff --git a/src/object.h b/src/object.h
index cbb3aa9..c1e4667 100644
--- a/src/object.h
+++ b/src/object.h
@@ -1044,6 +1044,11 @@
return reinterpret_cast<void*>(data);
}
+ const void* GetRawData(size_t component_size) const {
+ intptr_t data = reinterpret_cast<intptr_t>(this) + DataOffset(component_size).Int32Value();
+ return reinterpret_cast<const void*>(data);
+ }
+
protected:
bool IsValidIndex(int32_t index) const {
if (UNLIKELY(index < 0 || index >= length_)) {
@@ -1126,7 +1131,6 @@
// C++ mirror of java.lang.Class
class MANAGED Class : public StaticStorageBase {
public:
-
// Class Status
//
// kStatusNotReady: If a Class cannot be found in the class table by
@@ -1158,7 +1162,6 @@
// again at runtime.
//
// TODO: Explain the other states
-
enum Status {
kStatusError = -1,
kStatusNotReady = 0,
@@ -2220,7 +2223,6 @@
// C++ mirror of java.lang.String
class MANAGED String : public Object {
public:
-
static MemberOffset CountOffset() {
return OFFSET_OF_OBJECT_MEMBER(String, count_);
}