Clang: Add diagnostics

Diagnostics are now moved to the clang backend process. Fixits are
supported too.

Change-Id: I20faacf466bbf78dec479220c3d7b336a47bc453
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
This commit is contained in:
Marco Bubke
2015-08-31 16:28:26 +02:00
parent 8dfa9a5dab
commit b278dc87ca
84 changed files with 3633 additions and 132 deletions

View File

@@ -45,6 +45,14 @@
namespace ClangBackEnd {
CMBIPC_EXPORT void registerTypes();
}
enum class DiagnosticSeverity // one to one mapping of the clang enum numbers
{
Ignored = 0,
Note = 1,
Warning = 2,
Error = 3,
Fatal = 4
};
}
#endif // CLANGBACKENDIPC_GLOBAL_H