Add a preliminary version number.

llvm-svn: 63168
This commit is contained in:
Mike Stump 2009-01-28 02:43:35 +00:00
parent 6ec8a4d9e3
commit 5d1ebe90b3
1 changed files with 4 additions and 0 deletions

View File

@ -1620,6 +1620,10 @@ int main(int argc, char **argv) {
}
}
if (Verbose)
fprintf(stderr, "clang version 1.0 based upon " PACKAGE_STRING
" hosted on " LLVM_HOSTTRIPLE "\n");
if (unsigned NumDiagnostics = Diags.getNumDiagnostics())
fprintf(stderr, "%d diagnostic%s generated.\n", NumDiagnostics,
(NumDiagnostics == 1 ? "" : "s"));