summaryrefslogtreecommitdiffstats
path: root/Source/cmGeneratorExpressionNode.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmGeneratorExpressionNode.h')
-rw-r--r--Source/cmGeneratorExpressionNode.h29
1 files changed, 14 insertions, 15 deletions
diff --git a/Source/cmGeneratorExpressionNode.h b/Source/cmGeneratorExpressionNode.h
index 725ff01..3ee57eb 100644
--- a/Source/cmGeneratorExpressionNode.h
+++ b/Source/cmGeneratorExpressionNode.h
@@ -29,7 +29,8 @@
struct cmGeneratorExpressionNode
{
- enum {
+ enum
+ {
DynamicParameters = 0,
OneOrMoreParameters = -1,
OneOrZeroParameters = -2
@@ -40,29 +41,27 @@ struct cmGeneratorExpressionNode
virtual bool RequiresLiteralInput() const { return false; }
- virtual bool AcceptsArbitraryContentParameter() const
- { return false; }
+ virtual bool AcceptsArbitraryContentParameter() const { return false; }
virtual int NumExpectedParameters() const { return 1; }
- virtual std::string Evaluate(const std::vector<std::string> &parameters,
- cmGeneratorExpressionContext *context,
- const GeneratorExpressionContent *content,
- cmGeneratorExpressionDAGChecker *dagChecker
- ) const = 0;
+ virtual std::string Evaluate(
+ const std::vector<std::string>& parameters,
+ cmGeneratorExpressionContext* context,
+ const GeneratorExpressionContent* content,
+ cmGeneratorExpressionDAGChecker* dagChecker) const = 0;
static std::string EvaluateDependentExpression(
- std::string const& prop, cmLocalGenerator *lg,
- cmGeneratorExpressionContext *context,
- const cmGeneratorTarget* headTarget,
+ std::string const& prop, cmLocalGenerator* lg,
+ cmGeneratorExpressionContext* context, const cmGeneratorTarget* headTarget,
const cmGeneratorTarget* currentTarget,
- cmGeneratorExpressionDAGChecker *dagChecker);
+ cmGeneratorExpressionDAGChecker* dagChecker);
static const cmGeneratorExpressionNode* GetNode(
- const std::string &identifier);
+ const std::string& identifier);
};
-void reportError(cmGeneratorExpressionContext *context,
- const std::string &expr, const std::string &result);
+void reportError(cmGeneratorExpressionContext* context,
+ const std::string& expr, const std::string& result);
#endif