mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-27 14:34:58 +00:00
Initialize members properly during construction
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51841 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
f413cdfb0b
commit
12a3f8302a
@ -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) {}
|
||||
};
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user