Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(903)

Unified Diff: src/IceFixups.h

Issue 1343843003: Refactor all instances of `typedef y x` to the C++11 `using x = y` syntax. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/IceELFSection.h ('k') | src/IceGlobalContext.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/IceFixups.h
diff --git a/src/IceFixups.h b/src/IceFixups.h
index 3b79a92641196e44453c534d759d2f30166be662..43284ac9fefb8b3f81fc40c35ec0e6d7c1eb3e0f 100644
--- a/src/IceFixups.h
+++ b/src/IceFixups.h
@@ -21,7 +21,7 @@ namespace Ice {
/// Each target and container format has a different namespace of relocations.
/// This holds the specific target+container format's relocation number.
-typedef uint32_t FixupKind;
+using FixupKind = uint32_t;
/// Assembler fixups are positions in generated code/data that hold relocation
/// information that needs to be processed before finalizing the code/data.
@@ -53,8 +53,8 @@ private:
const Constant *value_ = nullptr;
};
-typedef std::vector<AssemblerFixup> FixupList;
-typedef std::vector<AssemblerFixup *> FixupRefList;
+using FixupList = std::vector<AssemblerFixup>;
+using FixupRefList = std::vector<AssemblerFixup *>;
} // end of namespace Ice
« no previous file with comments | « src/IceELFSection.h ('k') | src/IceGlobalContext.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698