MCPcopy Create free account
hub / github.com/Kitware/CMake / HasExitCode

Method HasExitCode

Source/cmExecutionStatus.h:59–59  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

57
58 void SetExitCode(int code) noexcept { this->ExitCode = code; }
59 bool HasExitCode() const noexcept { return this->ExitCode.has_value(); }
60 void CleanExitCode() noexcept { this->ExitCode.reset(); }
61 int GetExitCode() const noexcept { return this->ExitCode.value_or(-1); }
62

Callers 7

operator()Method · 0.80
ReplayMethod · 0.80
RunListFileMethod · 0.80
invokeMethod · 0.80
ReplayMethod · 0.80
ReplayMethod · 0.80
operator()Method · 0.80

Calls 1

has_valueMethod · 0.80

Tested by

no test coverage detected