summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefile.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2020-09-25 12:52:55 (GMT)
committerBrad King <brad.king@kitware.com>2020-09-28 13:49:08 (GMT)
commitdc49abcb89d7c5a99f7955f16f9b0ccaadc585be (patch)
tree156e6b3cc53472b38ac820f75bd3a5a1c9f5c047 /Source/cmMakefile.h
parent68af831505450a34ddd4bf767844bc3890eb52e5 (diff)
downloadCMake-dc49abcb89d7c5a99f7955f16f9b0ccaadc585be.zip
CMake-dc49abcb89d7c5a99f7955f16f9b0ccaadc585be.tar.gz
CMake-dc49abcb89d7c5a99f7955f16f9b0ccaadc585be.tar.bz2
if,while: Clarify condition backtrace construction
Evaluation of the `elseif`, `else`, and `while` commands takes place during function blocker evaluation before any actual command execution takes place. Therefore they do not have an entry in the backtrace stack. Each of their implementations needs to construct an extra backtrace entry to use in error messages and such. Each of them used a slightly different approach due to evolution over time. Clean up their construction of the extra backtrace entry and use a named variable to contain it for clarity.
Diffstat (limited to 'Source/cmMakefile.h')
0 files changed, 0 insertions, 0 deletions