1 //===- CommandResult.h -----------------------------------------------*- C++ -*-===// 2 // 3 // This source file is part of the Swift.org open source project 4 // 5 // Copyright (c) 2014 - 2015 Apple Inc. and the Swift project authors 6 // Licensed under Apache License v2.0 with Runtime Library Exception 7 // 8 // See http://swift.org/LICENSE.txt for license information 9 // See http://swift.org/CONTRIBUTORS.txt for the list of Swift project authors 10 // 11 //===----------------------------------------------------------------------===// 12 13 #ifndef LLBUILD_BUILDSYSTEM_COMMAND_RESULT_H 14 #define LLBUILD_BUILDSYSTEM_COMMAND_RESULT_H 15 16 namespace llbuild { 17 namespace buildsystem { 18 19 /// Result of a command execution. 20 enum class CommandResult { 21 Succeeded = 0, 22 Failed, 23 Cancelled, 24 Skipped, 25 }; 26 27 } 28 } 29 30 #endif 31