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

Unified Diff: src/IceTimerTree.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/IceTargetLoweringX86Base.h ('k') | src/IceTimerTree.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/IceTimerTree.h
diff --git a/src/IceTimerTree.h b/src/IceTimerTree.h
index aabeb292939e566cc45ec356477dc996099db3c0..98bbddadbc5b5f767f0ed4acd50023f3d6488799 100644
--- a/src/IceTimerTree.h
+++ b/src/IceTimerTree.h
@@ -28,14 +28,14 @@ class TimerStack {
/// Timer tree index type. A variable of this type is used to access
/// an interior, not-necessarily-leaf node of the tree.
- typedef std::vector<class TimerTreeNode>::size_type TTindex;
+ using TTindex = std::vector<class TimerTreeNode>::size_type;
/// Representation of a path of leaf values leading to a particular
/// node. The representation happens to be in "reverse" order,
/// i.e. from leaf/interior to root, for implementation efficiency.
- typedef llvm::SmallVector<TTindex, 8> PathType;
+ using PathType = llvm::SmallVector<TTindex, 8>;
/// Representation of a mapping of leaf node indexes from one timer
/// stack to another.
- typedef std::vector<TimerIdT> TranslationType;
+ using TranslationType = std::vector<TimerIdT>;
/// TimerTreeNode represents an interior or leaf node in the call tree.
/// It contains a list of children, a pointer to its parent, and the
« no previous file with comments | « src/IceTargetLoweringX86Base.h ('k') | src/IceTimerTree.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698