Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
CMake
CMake
Commits
db74ce58
Commit
db74ce58
authored
May 31, 2015
by
Stephen Kelly
Browse files
cmMakefile: Inline PushScope into PushFunctionScope.
Make it possible to group the various methods here a different way.
parent
ca140c2e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Source/cmMakefile.cxx
View file @
db74ce58
...
...
@@ -1564,7 +1564,13 @@ void cmMakefile::InitializeFromParent()
void
cmMakefile
::
PushFunctionScope
(
const
cmPolicies
::
PolicyMap
&
pm
)
{
this
->
PushScope
();
this
->
Internal
->
PushDefinitions
();
this
->
PushLoopBlockBarrier
();
#if defined(CMAKE_BUILD_WITH_CMAKE)
this
->
GetGlobalGenerator
()
->
GetFileLockPool
().
PushFunctionScope
();
#endif
this
->
PushFunctionBlockerBarrier
();
...
...
@@ -1579,7 +1585,15 @@ void cmMakefile::PopFunctionScope(bool reportError)
this
->
PopFunctionBlockerBarrier
(
reportError
);
this
->
PopScope
();
#if defined(CMAKE_BUILD_WITH_CMAKE)
this
->
GetGlobalGenerator
()
->
GetFileLockPool
().
PopFunctionScope
();
#endif
this
->
PopLoopBlockBarrier
();
this
->
CheckForUnusedVariables
();
this
->
Internal
->
PopDefinitions
();
}
void
cmMakefile
::
PushMacroScope
(
const
cmPolicies
::
PolicyMap
&
pm
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment