File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -82,15 +82,20 @@ class Compilation {
82
82
struct Result {
83
83
// / Set to true if any job exits abnormally (i.e. crashes).
84
84
bool hadAbnormalExit;
85
+ // / The exit code of this driver process.
85
86
int exitCode;
87
+ // / The dependency graph built up during the compilation of this module.
88
+ // /
89
+ // / This data is used for cross-module module dependencies.
86
90
fine_grained_dependencies::ModuleDepGraph depGraph;
87
91
88
92
Result (const Result &) = delete ;
89
- Result (Result &&) = default ;
90
-
91
93
Result &operator =(const Result &) = delete ;
94
+
95
+ Result (Result &&) = default ;
92
96
Result &operator =(Result &&) = default ;
93
97
98
+ // / Construct a \c Compilation::Result from just an exit code.
94
99
static Result code (int code) {
95
100
return Compilation::Result{false , code,
96
101
fine_grained_dependencies::ModuleDepGraph ()};
You can’t perform that action at this time.
0 commit comments