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 | 10d2f508262cc7d2eb798fd5d2f9e5435ad4ee3e (patch) | |
tree | 86681f8df5233b98117ca0920db5f54105ac1de6 /llvm/utils | |
parent | 412c66839e0a293670be1a307140eadff889b150 (diff) | |
download | bcm5719-llvm-10d2f508262cc7d2eb798fd5d2f9e5435ad4ee3e.tar.gz bcm5719-llvm-10d2f508262cc7d2eb798fd5d2f9e5435ad4ee3e.zip |
Initialize members properly during construction
llvm-svn: 51841
Diffstat (limited to 'llvm/utils')
-rw-r--r-- | llvm/utils/TableGen/LLVMCConfigurationEmitter.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/utils/TableGen/LLVMCConfigurationEmitter.cpp b/llvm/utils/TableGen/LLVMCConfigurationEmitter.cpp index 15803f244f8..94c52d10849 100644 --- a/llvm/utils/TableGen/LLVMCConfigurationEmitter.cpp +++ b/llvm/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) {} }; |