diff options
author | Brad King <brad.king@kitware.com> | 2022-01-25 13:37:37 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2022-01-25 13:39:52 (GMT) |
commit | 03866411423c1b844580eb4879f378a592d73809 (patch) | |
tree | f9023f091e1ad1f99bf8064ffe6e8e545d253f43 /Source/cmFunctionBlocker.cxx | |
parent | 3c4fa4c8924c1e219981bbc30ad02a89fd144ab6 (diff) | |
download | CMake-03866411423c1b844580eb4879f378a592d73809.zip CMake-03866411423c1b844580eb4879f378a592d73809.tar.gz CMake-03866411423c1b844580eb4879f378a592d73809.tar.bz2 |
cmListFileCache: Rename FromCommandContext to FromListFileFunction
Accept a `cmListFileFunction` instead of a `cmCommandContext`.
Diffstat (limited to 'Source/cmFunctionBlocker.cxx')
-rw-r--r-- | Source/cmFunctionBlocker.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmFunctionBlocker.cxx b/Source/cmFunctionBlocker.cxx index d4666d7..40e692d 100644 --- a/Source/cmFunctionBlocker.cxx +++ b/Source/cmFunctionBlocker.cxx @@ -27,7 +27,7 @@ bool cmFunctionBlocker::IsFunctionBlocked(const cmListFileFunction& lff, if (!this->ArgumentsMatch(lff, mf)) { cmListFileContext const& lfc = this->GetStartingContext(); cmListFileContext closingContext = - cmListFileContext::FromCommandContext(lff, lfc.FilePath); + cmListFileContext::FromListFileFunction(lff, lfc.FilePath); std::ostringstream e; /* clang-format off */ e << "A logical block opening on the line\n" |