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

Unified Diff: util/mach/symbolic_constants_mach_test.cc

Issue 700143004: C++11: Use type aliases instead of typedefs (Closed) Base URL: https://chromium.googlesource.com/crashpad/crashpad@master
Patch Set: Created 6 years, 1 month 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 | « util/mach/exception_ports.h ('k') | util/misc/initialization_state_dcheck.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: util/mach/symbolic_constants_mach_test.cc
diff --git a/util/mach/symbolic_constants_mach_test.cc b/util/mach/symbolic_constants_mach_test.cc
index ff7d71dbcb97f8a43c36583e5008513a5ef525b4..3ac09f24f76c5a953af8ec23b08798834857b0bf 100644
--- a/util/mach/symbolic_constants_mach_test.cc
+++ b/util/mach/symbolic_constants_mach_test.cc
@@ -134,7 +134,7 @@ const struct {
};
struct ConvertExceptionTraits {
- typedef exception_type_t ValueType;
+ using ValueType = exception_type_t;
static std::string SomethingToString(
ValueType value,
SymbolicConstantToStringOptions options) {
@@ -309,7 +309,7 @@ const struct {
};
struct ConvertExceptionMaskTraits {
- typedef exception_mask_t ValueType;
+ using ValueType = exception_mask_t;
static std::string SomethingToString(
ValueType value,
SymbolicConstantToStringOptions options) {
@@ -552,7 +552,7 @@ const struct {
};
struct ConvertExceptionBehaviorTraits {
- typedef exception_behavior_t ValueType;
+ using ValueType = exception_behavior_t;
static std::string SomethingToString(
ValueType value,
SymbolicConstantToStringOptions options) {
@@ -815,7 +815,7 @@ const struct {
};
struct ConvertThreadStateFlavorTraits {
- typedef thread_state_flavor_t ValueType;
+ using ValueType = thread_state_flavor_t;
static std::string SomethingToString(
ValueType value,
SymbolicConstantToStringOptions options) {
« no previous file with comments | « util/mach/exception_ports.h ('k') | util/misc/initialization_state_dcheck.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698