summaryrefslogtreecommitdiff
path: root/Source/cmGeneratorExpressionParser.h
diff options
context:
space:
mode:
authorMyungJoo Ham <myungjoo.ham@samsung.com>2017-10-11 15:16:57 +0900
committerMyungJoo Ham <myungjoo.ham@samsung.com>2017-10-11 15:16:57 +0900
commit915c76ded744c0f5f151402b9fa69f3fd8452573 (patch)
treeca6a387466543248890f346847acaa8343989b22 /Source/cmGeneratorExpressionParser.h
parent317dbdb79761ef65e45c7358cfc7571c6afa54ad (diff)
downloadcmake-915c76ded744c0f5f151402b9fa69f3fd8452573.tar.gz
cmake-915c76ded744c0f5f151402b9fa69f3fd8452573.tar.bz2
cmake-915c76ded744c0f5f151402b9fa69f3fd8452573.zip
Imported Upstream version 3.9.4upstream/3.9.4
Diffstat (limited to 'Source/cmGeneratorExpressionParser.h')
-rw-r--r--Source/cmGeneratorExpressionParser.h30
1 files changed, 8 insertions, 22 deletions
diff --git a/Source/cmGeneratorExpressionParser.h b/Source/cmGeneratorExpressionParser.h
index 28f14410f..633381c8a 100644
--- a/Source/cmGeneratorExpressionParser.h
+++ b/Source/cmGeneratorExpressionParser.h
@@ -1,40 +1,26 @@
-/*============================================================================
- CMake - Cross Platform Makefile Generator
- Copyright 2012 Stephen Kelly <steveire@gmail.com>
-
- Distributed under the OSI-approved BSD License (the "License");
- see accompanying file Copyright.txt for details.
-
- This software is distributed WITHOUT ANY WARRANTY; without even the
- implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- See the License for more information.
-============================================================================*/
+/* Distributed under the OSI-approved BSD 3-Clause License. See accompanying
+ file Copyright.txt or https://cmake.org/licensing for details. */
#ifndef cmGeneratorExpressionParser_h
#define cmGeneratorExpressionParser_h
-#include "cmGeneratorExpressionLexer.h"
+#include "cmConfigure.h" // IWYU pragma: keep
-#include <set>
#include <vector>
-#include "cmListFileCache.h"
+#include "cmGeneratorExpressionLexer.h"
-class cmMakefile;
-class cmTarget;
struct cmGeneratorExpressionEvaluator;
-//----------------------------------------------------------------------------
struct cmGeneratorExpressionParser
{
cmGeneratorExpressionParser(
- const std::vector<cmGeneratorExpressionToken> &tokens);
+ const std::vector<cmGeneratorExpressionToken>& tokens);
- void Parse(std::vector<cmGeneratorExpressionEvaluator*> &result);
+ void Parse(std::vector<cmGeneratorExpressionEvaluator*>& result);
private:
- void ParseContent(std::vector<cmGeneratorExpressionEvaluator*> &);
- void ParseGeneratorExpression(
- std::vector<cmGeneratorExpressionEvaluator*> &);
+ void ParseContent(std::vector<cmGeneratorExpressionEvaluator*>&);
+ void ParseGeneratorExpression(std::vector<cmGeneratorExpressionEvaluator*>&);
private:
std::vector<cmGeneratorExpressionToken>::const_iterator it;