genex: remove the need for backtraces

Rather than making dummy backtraces and passing them around, just make
backtraces optional.
This commit is contained in:
Ben Boeckel
2014-05-23 14:59:11 -04:00
parent efc205695d
commit a08292059e
20 changed files with 117 additions and 125 deletions

View File

@@ -41,7 +41,7 @@ class cmGeneratorExpression
{
public:
/** Construct. */
cmGeneratorExpression(cmListFileBacktrace const& backtrace);
cmGeneratorExpression(cmListFileBacktrace const* backtrace = NULL);
~cmGeneratorExpression();
cmsys::auto_ptr<cmCompiledGeneratorExpression> Parse(
@@ -70,7 +70,7 @@ private:
cmGeneratorExpression(const cmGeneratorExpression &);
void operator=(const cmGeneratorExpression &);
cmListFileBacktrace const& Backtrace;
cmListFileBacktrace const* Backtrace;
};
class cmCompiledGeneratorExpression