[llvm-commits] [llvm] r51841 - /llvm/trunk/utils/TableGen/LLVMCConfigurationEmitter.cpp
Anton Korobeynikov
asl at math.spbu.ru
Sun Jun 1 09:22:50 PDT 2008
Author: asl
Date: Sun Jun 1 11:22:49 2008
New Revision: 51841
URL: http://llvm.org/viewvc/llvm-project?rev=51841&view=rev
Log:
Initialize members properly during construction
Modified:
llvm/trunk/utils/TableGen/LLVMCConfigurationEmitter.cpp
Modified: llvm/trunk/utils/TableGen/LLVMCConfigurationEmitter.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/TableGen/LLVMCConfigurationEmitter.cpp?rev=51841&r1=51840&r2=51841&view=diff
==============================================================================
--- llvm/trunk/utils/TableGen/LLVMCConfigurationEmitter.cpp (original)
+++ llvm/trunk/utils/TableGen/LLVMCConfigurationEmitter.cpp Sun Jun 1 11:22:49 2008
@@ -352,8 +352,8 @@
// 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) {}
};
More information about the llvm-commits
mailing list