-ccc-print-options.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@66907
91177308-0d34-0410-b5e6-
96231b3b80d8
// FIXME: This behavior shouldn't be here.
if (CCCPrintOptions) {
PrintOptions(*Args);
- exit(0);
+ return 0;
}
if (!HandleImmediateArgs(*Args))
else
BuildActions(*Args, Actions);
- // FIXME: This behavior shouldn't be here.
if (CCCPrintActions) {
PrintActions(*Args, Actions);
- exit(0);
+ return 0;
}
-
+
+
assert(0 && "FIXME: Implement");
return new Compilation();
// If there were errors building the compilation, quit now.
if (Diags.getNumErrors())
return 1;
+ if (!C.get())
+ return 0;
return C->Execute();
}