diff options
| author | Andreas Gampe <agampe@google.com> | 2017-07-19 09:28:38 -0700 |
|---|---|---|
| committer | Andreas Gampe <agampe@google.com> | 2017-07-24 16:07:10 -0700 |
| commit | 8cf9cb386cd9286d67e879f1ee501ec00d72a4e1 (patch) | |
| tree | 88e86e214b425e444760fe4e0ffeee677e1558a2 /dexlist | |
| parent | 914b7b6a6c9f399b26b41e9160e9871ef749e0db (diff) | |
| download | art-8cf9cb386cd9286d67e879f1ee501ec00d72a4e1.tar.gz art-8cf9cb386cd9286d67e879f1ee501ec00d72a4e1.tar.bz2 art-8cf9cb386cd9286d67e879f1ee501ec00d72a4e1.zip | |
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
Diffstat (limited to 'dexlist')
| -rw-r--r-- | dexlist/dexlist.cc | 2 | ||||
| -rw-r--r-- | dexlist/dexlist_test.cc | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/dexlist/dexlist.cc b/dexlist/dexlist.cc index fa232a7634..6a1e22a525 100644 --- a/dexlist/dexlist.cc +++ b/dexlist/dexlist.cc @@ -23,8 +23,8 @@ * List all methods in all concrete classes in one or more DEX files. */ -#include <stdlib.h> #include <stdio.h> +#include <stdlib.h> #include "dex_file-inl.h" #include "mem_map.h" diff --git a/dexlist/dexlist_test.cc b/dexlist/dexlist_test.cc index 173a456982..f645f878d1 100644 --- a/dexlist/dexlist_test.cc +++ b/dexlist/dexlist_test.cc @@ -14,9 +14,9 @@ * limitations under the License. */ +#include <sstream> #include <string> #include <vector> -#include <sstream> #include <sys/types.h> #include <unistd.h> |
