summaryrefslogtreecommitdiffstats
path: root/Source/cmConditionEvaluator.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2016-03-29 14:01:55 (GMT)
committerBrad King <brad.king@kitware.com>2016-03-29 14:10:20 (GMT)
commit2379b3ae3171db7277fd3cf126b5b0c298231b83 (patch)
tree889b59d85dbcfa8e81e20fa967523a17084af0ea /Source/cmConditionEvaluator.cxx
parent02fce523a13c8e4cda0c95334b480bb87336ed1c (diff)
downloadCMake-2379b3ae3171db7277fd3cf126b5b0c298231b83.zip
CMake-2379b3ae3171db7277fd3cf126b5b0c298231b83.tar.gz
CMake-2379b3ae3171db7277fd3cf126b5b0c298231b83.tar.bz2
cmConditionEvaluator: Remove GetConditionContext method
All it does is call cmListFileContext::FromCommandContext, so move this to the call sites.
Diffstat (limited to 'Source/cmConditionEvaluator.cxx')
-rw-r--r--Source/cmConditionEvaluator.cxx12
1 files changed, 0 insertions, 12 deletions
diff --git a/Source/cmConditionEvaluator.cxx b/Source/cmConditionEvaluator.cxx
index 4bfe697..5d06f40 100644
--- a/Source/cmConditionEvaluator.cxx
+++ b/Source/cmConditionEvaluator.cxx
@@ -104,18 +104,6 @@ bool cmConditionEvaluator::IsTrue(
errorString, status, true);
}
-cmListFileContext cmConditionEvaluator::GetConditionContext(
- cmMakefile*,
- const cmCommandContext& command,
- const std::string& filePath)
-{
- cmListFileContext context =
- cmListFileContext::FromCommandContext(
- command,
- filePath);
- return context;
-}
-
//=========================================================================
const char* cmConditionEvaluator::GetDefinitionIfUnquoted(
cmExpandedCommandArgument const& argument) const