ART: Include cleanup
Let clang-format reorder the header includes.
Derived with:
* .clang-format:
BasedOnStyle: Google
IncludeIsMainRegex: '(_test|-inl)?$'
* Steps:
find . -name '*.cc' -o -name '*.h' | xargs sed -i.bak -e 's/^#include/ #include/' ; git commit -a -m 'ART: Include cleanup'
git-clang-format -style=file HEAD^
manual inspection
git commit -a --amend
Test: mmma art
Change-Id: Ia963a8ce3ce5f96b5e78acd587e26908c7a70d02
diff --git a/runtime/runtime.cc b/runtime/runtime.cc
index 2366e10..2712419 100644
--- a/runtime/runtime.cc
+++ b/runtime/runtime.cc
@@ -23,9 +23,10 @@
#include <sys/prctl.h>
#endif
+#include <fcntl.h>
#include <signal.h>
#include <sys/syscall.h>
-#include "base/memory_tool.h"
+
#if defined(__APPLE__)
#include <crt_externs.h> // for _NSGetEnviron
#endif
@@ -33,9 +34,7 @@
#include <cstdio>
#include <cstdlib>
#include <limits>
-#include <memory_representation.h>
#include <vector>
-#include <fcntl.h>
#include "android-base/strings.h"
@@ -60,6 +59,7 @@
#include "base/arena_allocator.h"
#include "base/dumpable.h"
#include "base/enums.h"
+#include "base/memory_tool.h"
#include "base/stl_util.h"
#include "base/systrace.h"
#include "base/unix_file/fd_file.h"
@@ -88,6 +88,7 @@
#include "jit/profile_saver.h"
#include "jni_internal.h"
#include "linear_alloc.h"
+#include "memory_representation.h"
#include "mirror/array.h"
#include "mirror/class-inl.h"
#include "mirror/class_ext.h"