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
|
void cmListFileBacktrace::PrintTitle(std::ostream& out) const
|
||||||
{
|
{
|
||||||
if (!this->Snapshot.IsValid())
|
if (!this->Snapshot.IsValid())
|
||||||
|
|
|
@ -90,10 +90,8 @@ class cmListFileBacktrace
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
cmListFileBacktrace(cmState::Snapshot snapshot = cmState::Snapshot(),
|
cmListFileBacktrace(cmState::Snapshot snapshot = cmState::Snapshot(),
|
||||||
cmCommandContext const& cc = cmCommandContext())
|
cmCommandContext const& cc = cmCommandContext());
|
||||||
: Context(cc), Snapshot(snapshot)
|
~cmListFileBacktrace();
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
void PrintTitle(std::ostream& out) const;
|
void PrintTitle(std::ostream& out) const;
|
||||||
void PrintCallStack(std::ostream& out) const;
|
void PrintCallStack(std::ostream& out) const;
|
||||||
|
|
Loading…
Reference in New Issue