Searched refs:DiagnosticsEngine (Results 1 - 25 of 161) sorted by relevance

1234567

/external/clang/lib/Frontend/
H A DTextDiagnosticBuffer.cpp22 void TextDiagnosticBuffer::HandleDiagnostic(DiagnosticsEngine::Level Level,
32 case DiagnosticsEngine::Note:
35 case DiagnosticsEngine::Warning:
38 case DiagnosticsEngine::Remark:
41 case DiagnosticsEngine::Error:
42 case DiagnosticsEngine::Fatal:
48 void TextDiagnosticBuffer::FlushDiagnostics(DiagnosticsEngine &Diags) const {
51 Diags.Report(Diags.getCustomDiagID(DiagnosticsEngine::Error, "%0"))
54 Diags.Report(Diags.getCustomDiagID(DiagnosticsEngine::Warning, "%0"))
57 Diags.Report(Diags.getCustomDiagID(DiagnosticsEngine
[all...]
H A DLogDiagnosticPrinter.cpp27 static StringRef getLevelName(DiagnosticsEngine::Level Level) {
29 case DiagnosticsEngine::Ignored: return "ignored";
30 case DiagnosticsEngine::Remark: return "remark";
31 case DiagnosticsEngine::Note: return "note";
32 case DiagnosticsEngine::Warning: return "warning";
33 case DiagnosticsEngine::Error: return "error";
34 case DiagnosticsEngine::Fatal: return "fatal error";
36 llvm_unreachable("Invalid DiagnosticsEngine level!");
112 void LogDiagnosticPrinter::HandleDiagnostic(DiagnosticsEngine::Level Level,
/external/clang/tools/diagtool/
H A DShowEnabledWarnings.cpp30 DiagnosticsEngine::Level Level;
32 PrettyDiag(StringRef name, StringRef flag, DiagnosticsEngine::Level level)
43 static char getCharForLevel(DiagnosticsEngine::Level Level) {
45 case DiagnosticsEngine::Ignored: return ' ';
46 case DiagnosticsEngine::Note: return '-';
47 case DiagnosticsEngine::Remark: return 'R';
48 case DiagnosticsEngine::Warning: return 'W';
49 case DiagnosticsEngine::Error: return 'E';
50 case DiagnosticsEngine::Fatal: return 'F';
56 static IntrusiveRefCntPtr<DiagnosticsEngine>
[all...]
/external/clang/include/clang/StaticAnalyzer/Frontend/
H A DCheckerRegistration.h20 class DiagnosticsEngine;
27 ArrayRef<std::string> plugins, DiagnosticsEngine &diags);
H A DAnalysisConsumer.h27 class DiagnosticsEngine;
/external/clang/include/clang/ARCMigrate/
H A DFileRemapper.h26 class DiagnosticsEngine;
45 bool initFromDisk(StringRef outputDir, DiagnosticsEngine &Diag,
47 bool initFromFile(StringRef filePath, DiagnosticsEngine &Diag,
49 bool flushToDisk(StringRef outputDir, DiagnosticsEngine &Diag);
50 bool flushToFile(StringRef outputPath, DiagnosticsEngine &Diag);
52 bool overwriteOriginal(DiagnosticsEngine &Diag,
68 bool report(const Twine &err, DiagnosticsEngine &Diag);
/external/clang/include/clang/Rewrite/Frontend/
H A DASTConsumers.h24 class DiagnosticsEngine;
32 DiagnosticsEngine &Diags, const LangOptions &LOpts,
36 DiagnosticsEngine &Diags, const LangOptions &LOpts,
H A DFixItRewriter.h62 DiagnosticsEngine &Diags;
89 FixItRewriter(DiagnosticsEngine &Diags, SourceManager &SourceMgr,
118 /// reported by DiagnosticsEngine.
123 void HandleDiagnostic(DiagnosticsEngine::Level DiagLevel,
/external/clang/include/clang/Driver/
H A DUtil.h17 class DiagnosticsEngine;
/external/clang/include/clang/AST/
H A DASTDiagnostic.h27 /// \brief DiagnosticsEngine argument formatting function for diagnostics that
34 /// \c DiagnosticsEngine::SetArgToStringFn(), where the cookie is an \c
37 DiagnosticsEngine::ArgumentKind Kind,
41 ArrayRef<DiagnosticsEngine::ArgumentValue> PrevArgs,
/external/clang/tools/libclang/
H A DCXStoredDiagnostic.cpp32 case DiagnosticsEngine::Ignored: return CXDiagnostic_Ignored;
33 case DiagnosticsEngine::Note: return CXDiagnostic_Note;
34 case DiagnosticsEngine::Remark:
36 case DiagnosticsEngine::Warning: return CXDiagnostic_Warning;
37 case DiagnosticsEngine::Error: return CXDiagnostic_Error;
38 case DiagnosticsEngine::Fatal: return CXDiagnostic_Fatal;
/external/clang/include/clang/CodeGen/
H A DBackendUtil.h22 class DiagnosticsEngine;
37 EmitBackendOutput(DiagnosticsEngine &Diags, const CodeGenOptions &CGOpts,
H A DModuleBuilder.h26 class DiagnosticsEngine;
45 CodeGenerator *CreateLLVMCodeGen(DiagnosticsEngine &Diags,
/external/clang/lib/ARCMigrate/
H A DPlistReporter.cpp19 static StringRef getLevelName(DiagnosticsEngine::Level Level) {
21 case DiagnosticsEngine::Ignored:
23 case DiagnosticsEngine::Note:
25 case DiagnosticsEngine::Remark:
26 case DiagnosticsEngine::Warning:
28 case DiagnosticsEngine::Fatal:
29 case DiagnosticsEngine::Error:
32 llvm_unreachable("Invalid DiagnosticsEngine level!");
87 if (D.getLevel() == DiagnosticsEngine::Ignored)
/external/clang/include/clang/Frontend/
H A DDiagnosticRenderer.h68 DiagnosticsEngine::Level LastLevel;
76 DiagnosticsEngine::Level Level,
83 DiagnosticsEngine::Level Level,
88 DiagnosticsEngine::Level Level,
103 DiagnosticsEngine::Level Level) {}
105 DiagnosticsEngine::Level Level) {}
111 DiagnosticsEngine::Level Level, const SourceManager &SM);
117 void emitCaret(SourceLocation Loc, DiagnosticsEngine::Level Level,
121 DiagnosticsEngine::Level Level,
125 DiagnosticsEngine
[all...]
H A DSerializedDiagnosticPrinter.h23 class DiagnosticsEngine;
H A DTextDiagnostic.h53 DiagnosticsEngine::Level Level,
79 DiagnosticsEngine::Level Level,
86 DiagnosticsEngine::Level Level,
91 DiagnosticsEngine::Level Level,
110 void emitSnippetAndCaret(SourceLocation Loc, DiagnosticsEngine::Level Level,
H A DTextDiagnosticBuffer.h45 void HandleDiagnostic(DiagnosticsEngine::Level DiagLevel,
50 void FlushDiagnostics(DiagnosticsEngine &Diags) const;
H A DUtils.h40 class DiagnosticsEngine;
184 IntrusiveRefCntPtr<DiagnosticsEngine> Diags =
185 IntrusiveRefCntPtr<DiagnosticsEngine>());
191 DiagnosticsEngine *Diags = nullptr);
195 DiagnosticsEngine &Diags) {
201 DiagnosticsEngine *Diags = nullptr);
206 DiagnosticsEngine &Diags) {
/external/clang/lib/Basic/
H A DDiagnostic.cpp48 static void DummyArgToStringFn(DiagnosticsEngine::ArgumentKind AK, intptr_t QT,
50 ArrayRef<DiagnosticsEngine::ArgumentValue> PrevArgs,
58 DiagnosticsEngine::DiagnosticsEngine( function in class:DiagnosticsEngine
86 DiagnosticsEngine::~DiagnosticsEngine() {
92 void DiagnosticsEngine::setClient(DiagnosticConsumer *client,
98 void DiagnosticsEngine::pushMappings(SourceLocation Loc) {
102 bool DiagnosticsEngine::popMappings(SourceLocation Loc) {
114 void DiagnosticsEngine
[all...]
/external/clang/include/clang/Basic/
H A DDiagnostic.h133 /// the user. DiagnosticsEngine is tied to one translation unit and one
135 class DiagnosticsEngine : public RefCountedBase<DiagnosticsEngine> { class in namespace:clang
136 DiagnosticsEngine(const DiagnosticsEngine &) = delete;
137 void operator=(const DiagnosticsEngine &) = delete;
346 explicit DiagnosticsEngine(
351 ~DiagnosticsEngine();
371 /// \brief Determine whether this \c DiagnosticsEngine object own its client.
386 // DiagnosticsEngine characterizatio
[all...]
H A DPartialDiagnostic.h32 // DiagnosticsEngine are private but DiagnosticsEngine declares
35 MaxArguments = DiagnosticsEngine::MaxArguments
215 if (Other.getArgKind(I) == DiagnosticsEngine::ak_std_string)
267 void AddTaggedVal(intptr_t V, DiagnosticsEngine::ArgumentKind Kind) const {
284 = DiagnosticsEngine::ak_std_string;
294 if ((DiagnosticsEngine::ArgumentKind)DiagStorage->DiagArgumentsKind[i]
295 == DiagnosticsEngine::ak_std_string)
299 (DiagnosticsEngine::ArgumentKind)DiagStorage->DiagArgumentsKind[i]);
311 void EmitToString(DiagnosticsEngine
[all...]
H A DDiagnosticIDs.h23 class DiagnosticsEngine;
256 /// DiagnosticsEngine object.
262 const DiagnosticsEngine &Diag) const LLVM_READONLY;
266 const DiagnosticsEngine &Diag) const LLVM_READONLY;
272 bool ProcessDiag(DiagnosticsEngine &Diag) const;
276 void EmitDiag(DiagnosticsEngine &Diag, Level DiagLevel) const;
282 friend class DiagnosticsEngine;
/external/clang/lib/StaticAnalyzer/Frontend/
H A DCheckerRegistration.cpp38 static void warnIncompatible(DiagnosticsEngine *diags, StringRef pluginPath,
43 DiagnosticsEngine *diags = nullptr);
49 DiagnosticsEngine *diags) {
92 void ClangCheckerRegistry::warnIncompatible(DiagnosticsEngine *diags,
110 DiagnosticsEngine &diags) {
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DAnalysisManager.h36 DiagnosticsEngine &Diags;
49 AnalysisManager(ASTContext &ctx,DiagnosticsEngine &diags,
90 DiagnosticsEngine &getDiagnostic() override {

Completed in 530 milliseconds

1234567