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

Method SetExitCode

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

Source from the content-addressed store, hash-verified

56 bool GetNestedError() const { return this->NestedError; }
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); }

Callers 8

operator()Method · 0.80
ReplayMethod · 0.80
ExecuteCommandMethod · 0.80
invokeMethod · 0.80
ReplayMethod · 0.80
ReplayMethod · 0.80
cmCMakeLanguageCommandFunction · 0.80
operator()Method · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected