cmListFileCache: Implement cmListFileBacktrace ctor/dtor out-of-line
This commit is contained in:
parent
85fe26b5f7
commit
bc1d3a8a87
|
@ -398,6 +398,17 @@ bool cmListFileParser::AddArgument(cmListFileLexer_Token* token,
|
|||
}
|
||||
}
|
||||
|
||||
cmListFileBacktrace::cmListFileBacktrace(cmState::Snapshot snapshot,
|
||||
cmCommandContext const& cc)
|
||||
: Context(cc)
|
||||
, Snapshot(snapshot)
|
||||
{
|
||||
}
|
||||
|
||||
cmListFileBacktrace::~cmListFileBacktrace()
|
||||
{
|
||||
}
|
||||
|
||||
void cmListFileBacktrace::PrintTitle(std::ostream& out) const
|
||||
{
|
||||
if (!this->Snapshot.IsValid())
|
||||
|
|
|
@ -90,10 +90,8 @@ class cmListFileBacktrace
|
|||
{
|
||||
public:
|
||||
cmListFileBacktrace(cmState::Snapshot snapshot = cmState::Snapshot(),
|
||||
cmCommandContext const& cc = cmCommandContext())
|
||||
: Context(cc), Snapshot(snapshot)
|
||||
{
|
||||
}
|
||||
cmCommandContext const& cc = cmCommandContext());
|
||||
~cmListFileBacktrace();
|
||||
|
||||
void PrintTitle(std::ostream& out) const;
|
||||
void PrintCallStack(std::ostream& out) const;
|
||||
|
|
Loading…
Reference in New Issue