Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
CMake
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
David Golden
CMake
Commits
bc1d3a8a
Commit
bc1d3a8a
authored
9 years ago
by
Brad King
Browse files
Options
Downloads
Patches
Plain Diff
cmListFileCache: Implement cmListFileBacktrace ctor/dtor out-of-line
parent
85fe26b5
Loading
Loading
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Source/cmListFileCache.cxx
+11
-0
11 additions, 0 deletions
Source/cmListFileCache.cxx
Source/cmListFileCache.h
+2
-4
2 additions, 4 deletions
Source/cmListFileCache.h
with
13 additions
and
4 deletions
Source/cmListFileCache.cxx
+
11
−
0
View file @
bc1d3a8a
...
...
@@ -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
())
...
...
This diff is collapsed.
Click to expand it.
Source/cmListFileCache.h
+
2
−
4
View file @
bc1d3a8a
...
...
@@ -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
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment