diff options
| author | Brad King <brad.king@kitware.com> | 2022-01-26 13:04:52 (GMT) |
|---|---|---|
| committer | Kitware Robot <kwrobot@kitware.com> | 2022-01-26 13:05:01 (GMT) |
| commit | dbfa449f080774fa24eaa5fa2edbee2d32405db3 (patch) | |
| tree | 7a64268d168d612ed5b9b4158148c313d43465ed /Source/cmFunctionBlocker.cxx | |
| parent | 8732639b79854427d7695923760440363e1a053e (diff) | |
| parent | 4959276c02ca5abf5775c608cc35dc8e09a8cc0a (diff) | |
| download | CMake-dbfa449f080774fa24eaa5fa2edbee2d32405db3.zip CMake-dbfa449f080774fa24eaa5fa2edbee2d32405db3.tar.gz CMake-dbfa449f080774fa24eaa5fa2edbee2d32405db3.tar.bz2 | |
Merge topic 'parser-cleanup'
4959276c02 cmListFileCache: Remove cmCommandContext
0386641142 cmListFileCache: Rename FromCommandContext to FromListFileFunction
3c4fa4c892 cmListFileCache: Move cmListFileFunction earlier
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !6899
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" |
