Move static analyzer core diagnostics to common.
llvm-svn: 349230
This commit is contained in:
parent
46f34624d2
commit
41b1960a89
|
@ -290,4 +290,10 @@ def err_openclcxx_not_supported : Error<
|
|||
// OpenMP
|
||||
def err_omp_more_one_clause : Error<
|
||||
"directive '#pragma omp %0' cannot contain more than one '%1' clause%select{| with '%3' name modifier| with 'source' dependence}2">;
|
||||
|
||||
// Static Analyzer Core
|
||||
def err_unknown_analyzer_checker : Error<
|
||||
"no analyzer checkers are associated with '%0'">;
|
||||
def note_suggest_disabling_all_checkers : Note<
|
||||
"use -analyzer-disable-all-checks to disable all static analyzer checkers">;
|
||||
}
|
||||
|
|
|
@ -160,11 +160,6 @@ def warn_unknown_warning_specifier : Warning<
|
|||
"unknown %0 warning specifier: '%1'">,
|
||||
InGroup<UnknownWarningOption>;
|
||||
|
||||
def err_unknown_analyzer_checker : Error<
|
||||
"no analyzer checkers are associated with '%0'">;
|
||||
def note_suggest_disabling_all_checkers : Note<
|
||||
"use -analyzer-disable-all-checks to disable all static analyzer checkers">;
|
||||
|
||||
def warn_incompatible_analyzer_plugin_api : Warning<
|
||||
"checker plugin '%0' is not compatible with this version of the analyzer">,
|
||||
InGroup<DiagGroup<"analyzer-incompatible-plugin"> >;
|
||||
|
|
|
@ -10,7 +10,6 @@
|
|||
#include "clang/StaticAnalyzer/Core/CheckerRegistry.h"
|
||||
#include "clang/Basic/Diagnostic.h"
|
||||
#include "clang/Basic/LLVM.h"
|
||||
#include "clang/Frontend/FrontendDiagnostic.h"
|
||||
#include "clang/StaticAnalyzer/Core/CheckerManager.h"
|
||||
#include "clang/StaticAnalyzer/Core/AnalyzerOptions.h"
|
||||
#include "llvm/ADT/STLExtras.h"
|
||||
|
|
Loading…
Reference in New Issue