summaryrefslogtreecommitdiffstats
path: root/dexdump
diff options
context:
space:
mode:
authorAndreas Gampe <agampe@google.com>2018-09-19 10:58:18 -0700
committerAndreas Gampe <agampe@google.com>2018-09-19 21:56:32 -0700
commit9a20ff06f7ccee08a742c315ec6d351ab56ba1cd (patch)
tree7e55557e118eb5fffe03ad3456e00d8469a36232 /dexdump
parent70dfb6983492aff1c52cc1b52044258aef51f47f (diff)
downloadart-9a20ff06f7ccee08a742c315ec6d351ab56ba1cd.tar.gz
art-9a20ff06f7ccee08a742c315ec6d351ab56ba1cd.tar.bz2
art-9a20ff06f7ccee08a742c315ec6d351ab56ba1cd.zip
ART: Refactor typedef to using
Add clang-tidy's modernize-use-using. Bug: 32619234 Test: WITH_TIDY=1 mmma art Change-Id: If50d37b5152af4270784e3cde7951292a9e19033
Diffstat (limited to 'dexdump')
-rw-r--r--dexdump/dexdump.cc16
1 files changed, 8 insertions, 8 deletions
diff --git a/dexdump/dexdump.cc b/dexdump/dexdump.cc
index 2cf05678c6..1d6112f2e8 100644
--- a/dexdump/dexdump.cc
+++ b/dexdump/dexdump.cc
@@ -69,14 +69,14 @@ FILE* gOutFile = stdout;
/*
* Data types that match the definitions in the VM specification.
*/
-typedef uint8_t u1;
-typedef uint16_t u2;
-typedef uint32_t u4;
-typedef uint64_t u8;
-typedef int8_t s1;
-typedef int16_t s2;
-typedef int32_t s4;
-typedef int64_t s8;
+using u1 = uint8_t;
+using u2 = uint16_t;
+using u4 = uint32_t;
+using u8 = uint64_t;
+using s1 = int8_t;
+using s2 = int16_t;
+using s4 = int32_t;
+using s8 = int64_t;
/*
* Basic information about a field or a method.