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

Unified Diff: src/IceTypes.h

Issue 1197223002: Subzero: Use C++11 member initializers where practical. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Rebase Created 5 years, 6 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/IceTranslator.cpp ('k') | src/PNaClTranslator.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/IceTypes.h
diff --git a/src/IceTypes.h b/src/IceTypes.h
index 9353d749542ff73869a057eeaac0421e9424a6f8..a881fb441d9471a258de5bbc146a0eaca691de2d 100644
--- a/src/IceTypes.h
+++ b/src/IceTypes.h
@@ -130,7 +130,7 @@ public:
// Creates a function signature type with the given return type.
// Parameter types should be added using calls to appendArgType.
- FuncSigType() : ReturnType(IceType_void) {}
+ FuncSigType() = default;
FuncSigType(const FuncSigType &Ty) = default;
void appendArgType(Type ArgType) { ArgList.push_back(ArgType); }
@@ -147,7 +147,7 @@ public:
private:
// The return type.
- Type ReturnType;
+ Type ReturnType = IceType_void;
// The list of parameters.
ArgListType ArgList;
};
« no previous file with comments | « src/IceTranslator.cpp ('k') | src/PNaClTranslator.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698