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 | 12a3f8302a2a2973fc9fa2e336ec51f37e845fa7 (patch) | |
tree | 263507c1522b253940777bab3b8f1f7377439bf5 /utils | |
parent | f413cdfb0bd6cd47448e92ceb9614c9e94099b8c (diff) | |
download | external_llvm-12a3f8302a2a2973fc9fa2e336ec51f37e845fa7.zip external_llvm-12a3f8302a2a2973fc9fa2e336ec51f37e845fa7.tar.gz external_llvm-12a3f8302a2a2973fc9fa2e336ec51f37e845fa7.tar.bz2 |
Initialize members properly during construction
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51841 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils')
-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) {} }; |