summaryrefslogtreecommitdiffstats
path: root/dexdump
diff options
context:
space:
mode:
authorTreehugger Robot <treehugger-gerrit@google.com>2018-09-25 00:36:43 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2018-09-25 00:36:43 +0000
commitfc4b2eaa427e43a51c6f39ffecac0ef4fa732b61 (patch)
treeb6bc4cd9bc846ae40eac280dbc2c9514e05a0f7b /dexdump
parent26f048f48cdb1e884aab2b6fddf26d58346d29ad (diff)
parentc55bb390d88b8eb62a50932f7f9b47c2a3733f16 (diff)
downloadart-fc4b2eaa427e43a51c6f39ffecac0ef4fa732b61.tar.gz
art-fc4b2eaa427e43a51c6f39ffecac0ef4fa732b61.tar.bz2
art-fc4b2eaa427e43a51c6f39ffecac0ef4fa732b61.zip
Merge "Revert^2 "ART: Refactor typedef to using""
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 f09d448493..6b2a1b9a70 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.