cmMakefile: Make listfile scopes responsible for logical checks.

Remove the LexicalPushPop.
This commit is contained in:
Stephen Kelly
2015-06-21 22:53:16 +02:00
parent dd7e42758d
commit 0818737c85
2 changed files with 6 additions and 30 deletions
-13
View File
@@ -100,19 +100,6 @@ public:
cmsys::auto_ptr<cmFunctionBlocker>
RemoveFunctionBlocker(cmFunctionBlocker* fb, const cmListFileFunction& lff);
/** Push/pop a lexical (function blocker) barrier automatically. */
class LexicalPushPop
{
public:
LexicalPushPop(cmMakefile* mf);
~LexicalPushPop();
void Quiet() { this->ReportError = false; }
private:
cmMakefile* Makefile;
bool ReportError;
};
friend class LexicalPushPop;
/**
* Try running cmake and building a file. This is used for dynalically
* loaded commands, not as part of the usual build process.