summaryrefslogtreecommitdiffstats
path: root/Source/cmIfCommand.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2020-09-25 11:22:42 (GMT)
committerBrad King <brad.king@kitware.com>2020-09-28 13:49:07 (GMT)
commit280f3918f3a731f64c94b2b7c912c58d714fc676 (patch)
treecdca51b1b323038b1eee16f30a8053c4e9343ec2 /Source/cmIfCommand.cxx
parent0e59b45dfce89ea72e07eb5076f1e12326a3f761 (diff)
downloadCMake-280f3918f3a731f64c94b2b7c912c58d714fc676.zip
CMake-280f3918f3a731f64c94b2b7c912c58d714fc676.tar.gz
CMake-280f3918f3a731f64c94b2b7c912c58d714fc676.tar.bz2
cmMakefile: Simplify GetExecutionContext implementation
This method takes the function name and line from the top of the current backtrace and then gets the file path from the state's `GetExecutionListFile`. This exactly matches what the `cmMakefileCall` constructor does to create the top of the current backtrace anyway, so we can just take that directly.
Diffstat (limited to 'Source/cmIfCommand.cxx')
0 files changed, 0 insertions, 0 deletions