cmGeneratorExpression: Inline evaluation helper at only call site

stage/master/nightly/2024/04/13^2
Brad King 2024-04-11 09:34:17 -04:00
parent 91a25de520
commit 5f7d8192da
2 changed files with 0 additions and 12 deletions

View File

@ -70,13 +70,6 @@ const std::string& cmCompiledGeneratorExpression::Evaluate(
currentTarget ? currentTarget : headTarget, this->EvaluateForBuildsystem,
this->Backtrace, language);
return this->EvaluateWithContext(context, dagChecker);
}
const std::string& cmCompiledGeneratorExpression::EvaluateWithContext(
cmGeneratorExpressionContext& context,
cmGeneratorExpressionDAGChecker* dagChecker) const
{
if (!this->NeedsEvaluation) {
return this->Input;
}

View File

@ -17,7 +17,6 @@
class cmake;
class cmCompiledGeneratorExpression;
class cmGeneratorTarget;
struct cmGeneratorExpressionContext;
struct cmGeneratorExpressionDAGChecker;
struct cmGeneratorExpressionEvaluator;
@ -151,10 +150,6 @@ public:
std::map<std::string, std::string>& mapping);
private:
const std::string& EvaluateWithContext(
cmGeneratorExpressionContext& context,
cmGeneratorExpressionDAGChecker* dagChecker) const;
cmCompiledGeneratorExpression(cmake& cmakeInstance,
cmListFileBacktrace backtrace,
std::string input);