diff options
author | Anton Korobeynikov <asl@math.spbu.ru> | 2008-06-01 16:22:49 +0000 |
---|---|---|
committer | Anton Korobeynikov <asl@math.spbu.ru> | 2008-06-01 16:22:49 +0000 |
commit | 246fceda0a698b2fa889e5713f706560cd4f2b55 (patch) | |
tree | 263507c1522b253940777bab3b8f1f7377439bf5 | |
parent | 7901ce1d8ee58b046bd3214c0ecb3c66baf062d3 (diff) | |
download | external_llvm-246fceda0a698b2fa889e5713f706560cd4f2b55.zip external_llvm-246fceda0a698b2fa889e5713f706560cd4f2b55.tar.gz external_llvm-246fceda0a698b2fa889e5713f706560cd4f2b55.tar.bz2 |
Initialize members properly during construction
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51841 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | utils/TableGen/LLVMCConfigurationEmitter.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/TableGen/LLVMCConfigurationEmitter.cpp b/utils/TableGen/LLVMCConfigurationEmitter.cpp index 15803f2..94c52d1 100644 --- a/utils/TableGen/LLVMCConfigurationEmitter.cpp +++ b/utils/TableGen/LLVMCConfigurationEmitter.cpp @@ -352,8 +352,8 @@ struct ToolProperties : public RefCountedBase<ToolProperties> { // Default ctor here is needed because StringMap can only store // DefaultConstructible objects - ToolProperties() : Flags(0) {} - ToolProperties (const std::string& n) : Name(n), Flags(0) {} + ToolProperties() : CmdLine(0), Flags(0) {} + ToolProperties (const std::string& n) : Name(n), CmdLine(0), Flags(0) {} }; |