Index: src/IceClFlagsExtra.h |
diff --git a/src/IceClFlagsExtra.h b/src/IceClFlagsExtra.h |
index 9346d6e571cb231d3a89c0a775fa8275b6f94b8f..6f393363efba3a8389e7cbdc49bfe81b1412a1d2 100644 |
--- a/src/IceClFlagsExtra.h |
+++ b/src/IceClFlagsExtra.h |
@@ -25,9 +25,7 @@ class ClFlagsExtra { |
ClFlagsExtra &operator=(const ClFlagsExtra &) = delete; |
public: |
- ClFlagsExtra() |
- : AlwaysExitSuccess(false), BuildOnRead(false), GenerateBuildAtts(false), |
- LLVMVerboseErrors(false), InputFileFormat(llvm::LLVMFormat) {} |
+ ClFlagsExtra() = default; |
bool getAlwaysExitSuccess() const { return AlwaysExitSuccess; } |
void setAlwaysExitSuccess(bool NewValue) { AlwaysExitSuccess = NewValue; } |
@@ -61,17 +59,17 @@ public: |
} |
private: |
- bool AlwaysExitSuccess; |
- bool BuildOnRead; |
- bool GenerateBuildAtts; |
- bool LLVMVerboseErrors; |
+ bool AlwaysExitSuccess = false; |
+ bool BuildOnRead = false; |
+ bool GenerateBuildAtts = false; |
+ bool LLVMVerboseErrors = false; |
- llvm::NaClFileFormat InputFileFormat; |
+ llvm::NaClFileFormat InputFileFormat = llvm::LLVMFormat; |
- IceString AppName; |
- IceString IRFilename; |
- IceString LogFilename; |
- IceString OutputFilename; |
+ IceString AppName = ""; |
+ IceString IRFilename = ""; |
+ IceString LogFilename = ""; |
+ IceString OutputFilename = ""; |
}; |
} // end of namespace Ice |