diff options
author | Brad King <brad.king@kitware.com> | 2012-11-27 13:35:02 -0500 |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2012-11-27 13:35:02 -0500 |
commit | 5f30a56f290acd7abd805e32f7537957ae78377d (patch) | |
tree | 0804f6d7630fdf716014de76b7638cabc6b6c0eb /Source/cmGeneratorExpressionEvaluator.h | |
parent | d5adbbcf9cf7443392a38eb980886833de104826 (diff) | |
parent | b581be07672e08cce4c29fa279b250d8e9c7aaba (diff) | |
download | cmake-5f30a56f290acd7abd805e32f7537957ae78377d.tar.gz |
Merge topic 'generator-expression-fixes'
b581be0 Genex: Don't segfault on $<FOO,>
07749e3 Genex: Ensure that $<0:...> has a parameter.
ee96dc7 Genex: Extract a method to parse parameters.
Diffstat (limited to 'Source/cmGeneratorExpressionEvaluator.h')
-rw-r--r-- | Source/cmGeneratorExpressionEvaluator.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Source/cmGeneratorExpressionEvaluator.h b/Source/cmGeneratorExpressionEvaluator.h index d37337ef5b..d904b027fe 100644 --- a/Source/cmGeneratorExpressionEvaluator.h +++ b/Source/cmGeneratorExpressionEvaluator.h @@ -32,6 +32,7 @@ struct cmGeneratorExpressionContext }; struct cmGeneratorExpressionDAGChecker; +struct cmGeneratorExpressionNode; //---------------------------------------------------------------------------- struct cmGeneratorExpressionEvaluator @@ -117,6 +118,13 @@ struct GeneratorExpressionContent : public cmGeneratorExpressionEvaluator ~GeneratorExpressionContent(); private: + std::string EvaluateParameters(const cmGeneratorExpressionNode *node, + const std::string &identifier, + cmGeneratorExpressionContext *context, + cmGeneratorExpressionDAGChecker *dagChecker, + std::vector<std::string> ¶meters) const; + +private: std::vector<cmGeneratorExpressionEvaluator*> IdentifierChildren; std::vector<std::vector<cmGeneratorExpressionEvaluator*> > ParamChildren; const char *StartContent; |