Split diagnostics out into separate files.

Thanks to the way we've set up our diagnostics engine, there's not actually
a reason for /everything/ to get rebuilt when /one/ diagnostic changes.
I've split them up into five categories for now: Parse, Sema, SIL, IRGen,
and Frontend, plus a set of "Common" diagnostics that are used in multiple
areas of the compiler. We can massage this later.

No functionality change, but should speed up compile times!

Swift SVN r12438
This commit is contained in:
Jordan Rose
2014-01-17 00:15:12 +00:00
parent 69a8860a53
commit 11008f0ed1
47 changed files with 2267 additions and 1820 deletions

View File

@@ -12,6 +12,7 @@
#include "swift/Frontend/Frontend.h"
#include "swift/AST/DiagnosticsFrontend.h"
#include "swift/Subsystems.h"
#include "swift/Driver/Options.h"
#include "llvm/ADT/STLExtras.h"