Fix cpplint whitespace/indent issues
Change-Id: I7c1647f0c39e1e065ca5820f9b79998691ba40b1
diff --git a/runtime/common_test.h b/runtime/common_test.h
index e735e27..778ca63 100644
--- a/runtime/common_test.h
+++ b/runtime/common_test.h
@@ -246,7 +246,7 @@
#if GCC_VERSION >= 40303
__builtin___clear_cache(reinterpret_cast<void*>(base), reinterpret_cast<void*>(base + len));
#else
- LOG(FATAL) << "UNIMPLEMENTED: cache flush";
+ LOG(FATAL) << "UNIMPLEMENTED: cache flush";
#endif
}
diff --git a/runtime/dex_instruction.cc b/runtime/dex_instruction.cc
index a36d7c5..be5fcc6 100644
--- a/runtime/dex_instruction.cc
+++ b/runtime/dex_instruction.cc
@@ -56,11 +56,11 @@
int const Instruction::kInstructionSizeInCodeUnits[] = {
#define INSTRUCTION_SIZE(opcode, c, p, format, r, i, a, v) \
- ((opcode == NOP) ? -1 : \
- ((format >= k10x) && (format <= k10t)) ? 1 : \
- ((format >= k20t) && (format <= k22c)) ? 2 : \
- ((format >= k32x) && (format <= k3rc)) ? 3 : \
- (format == k51l) ? 5 : -1),
+ ((opcode == NOP) ? -1 : \
+ ((format >= k10x) && (format <= k10t)) ? 1 : \
+ ((format >= k20t) && (format <= k22c)) ? 2 : \
+ ((format >= k32x) && (format <= k3rc)) ? 3 : \
+ (format == k51l) ? 5 : -1),
#include "dex_instruction_list.h"
DEX_INSTRUCTION_LIST(INSTRUCTION_SIZE)
#undef DEX_INSTRUCTION_LIST
diff --git a/runtime/output_stream.h b/runtime/output_stream.h
index aff6bcd..e7f8006 100644
--- a/runtime/output_stream.h
+++ b/runtime/output_stream.h
@@ -26,9 +26,9 @@
namespace art {
enum Whence {
- kSeekSet = SEEK_SET,
- kSeekCurrent = SEEK_CUR,
- kSeekEnd = SEEK_END,
+ kSeekSet = SEEK_SET,
+ kSeekCurrent = SEEK_CUR,
+ kSeekEnd = SEEK_END,
};
class OutputStream {
@@ -41,9 +41,9 @@
return location_;
}
- virtual bool WriteFully(const void* buffer, int64_t byte_count) = 0;
+ virtual bool WriteFully(const void* buffer, int64_t byte_count) = 0;
- virtual off_t Seek(off_t offset, Whence whence) = 0;
+ virtual off_t Seek(off_t offset, Whence whence) = 0;
private:
const std::string location_;
diff --git a/runtime/verifier/reg_type.h b/runtime/verifier/reg_type.h
index 5b806c4..fa9fc8c 100644
--- a/runtime/verifier/reg_type.h
+++ b/runtime/verifier/reg_type.h
@@ -497,7 +497,7 @@
static LongLoType* CreateInstance(mirror::Class* klass, const std::string& descriptor,
uint16_t cache_id)
SHARED_LOCKS_REQUIRED(Locks::mutator_lock_);
- static LongLoType* GetInstance();
+ static LongLoType* GetInstance();
static void Destroy();
private:
LongLoType(mirror::Class* klass, const std::string& descriptor, uint16_t cache_id)
diff --git a/runtime/verifier/reg_type_cache.cc b/runtime/verifier/reg_type_cache.cc
index 22c585c..2cc3d59 100644
--- a/runtime/verifier/reg_type_cache.cc
+++ b/runtime/verifier/reg_type_cache.cc
@@ -399,7 +399,7 @@
} else {
return Conflict();
}
- }
+ }
entries_.push_back(entry);
return *entry;
}