Home
last modified time | relevance | path

Searched refs:DiagnosticsEngine (Results 1 – 25 of 172) sorted by relevance

1234567

/freebsd-12.1/contrib/llvm/tools/clang/lib/Basic/
H A DDiagnostic.cpp75 DiagnosticsEngine::DiagnosticsEngine( in DiagnosticsEngine() function in DiagnosticsEngine
86 DiagnosticsEngine::~DiagnosticsEngine() { in ~DiagnosticsEngine()
92 void DiagnosticsEngine::dump() const { in dump()
122 void DiagnosticsEngine::Reset() { in Reset()
158 void DiagnosticsEngine::ReportDelayed() { in ReportDelayed()
195 DiagnosticsEngine::DiagState *
207 DiagnosticsEngine::DiagState *
218 DiagnosticsEngine::DiagStateMap::File *
912 case DiagnosticsEngine::ak_sint: { in FormatDiagnostic()
986 case DiagnosticsEngine::ak_qual: in FormatDiagnostic()
[all …]
/freebsd-12.1/contrib/llvm/tools/clang/lib/Frontend/
H A DTextDiagnosticBuffer.cpp24 void TextDiagnosticBuffer::HandleDiagnostic(DiagnosticsEngine::Level Level, in HandleDiagnostic()
34 case DiagnosticsEngine::Note: in HandleDiagnostic()
38 case DiagnosticsEngine::Warning: in HandleDiagnostic()
42 case DiagnosticsEngine::Remark: in HandleDiagnostic()
46 case DiagnosticsEngine::Error: in HandleDiagnostic()
47 case DiagnosticsEngine::Fatal: in HandleDiagnostic()
60 case DiagnosticsEngine::Note: in FlushDiagnostics()
63 case DiagnosticsEngine::Warning: in FlushDiagnostics()
66 case DiagnosticsEngine::Remark: in FlushDiagnostics()
69 case DiagnosticsEngine::Error: in FlushDiagnostics()
[all …]
H A DLogDiagnosticPrinter.cpp27 static StringRef getLevelName(DiagnosticsEngine::Level Level) { in getLevelName()
29 case DiagnosticsEngine::Ignored: return "ignored"; in getLevelName()
30 case DiagnosticsEngine::Remark: return "remark"; in getLevelName()
31 case DiagnosticsEngine::Note: return "note"; in getLevelName()
32 case DiagnosticsEngine::Warning: return "warning"; in getLevelName()
33 case DiagnosticsEngine::Error: return "error"; in getLevelName()
34 case DiagnosticsEngine::Fatal: return "fatal error"; in getLevelName()
112 void LogDiagnosticPrinter::HandleDiagnostic(DiagnosticsEngine::Level Level, in HandleDiagnostic()
H A DSerializedDiagnosticPrinter.cpp72 DiagnosticsEngine::Level Level, in emitDiagnosticLoc()
155 void HandleDiagnostic(DiagnosticsEngine::Level DiagLevel,
166 DiagnosticsEngine *getMetaDiags();
286 std::unique_ptr<DiagnosticsEngine> MetaDiagnostics;
538 if (DiagLevel == DiagnosticsEngine::Note) in getEmitDiagnosticFlag()
572 if (DiagLevel != DiagnosticsEngine::Note) { in HandleDiagnostic()
591 if (DiagLevel == DiagnosticsEngine::Note) in HandleDiagnostic()
597 if (DiagLevel == DiagnosticsEngine::Note) in HandleDiagnostic()
672 if (Level == DiagnosticsEngine::Note) in beginDiagnostic()
680 if (Level == DiagnosticsEngine::Note) in endDiagnostic()
[all …]
H A DTextDiagnosticPrinter.cpp53 DiagnosticsEngine::Level Level, in printDiagnosticOptions()
73 if (Level == DiagnosticsEngine::Error && in printDiagnosticOptions()
83 << (Level == DiagnosticsEngine::Remark ? "-R" : "-W") << Opt; in printDiagnosticOptions()
110 void TextDiagnosticPrinter::HandleDiagnostic(DiagnosticsEngine::Level Level, in HandleDiagnostic()
H A DTextDiagnostic.cpp698 DiagnosticsEngine::Level Level, in printDiagnosticLevel()
704 case DiagnosticsEngine::Ignored: in printDiagnosticLevel()
715 case DiagnosticsEngine::Ignored: in printDiagnosticLevel()
717 case DiagnosticsEngine::Note: OS << "note"; break; in printDiagnosticLevel()
718 case DiagnosticsEngine::Remark: OS << "remark"; break; in printDiagnosticLevel()
719 case DiagnosticsEngine::Warning: OS << "warning"; break; in printDiagnosticLevel()
720 case DiagnosticsEngine::Error: OS << "error"; break; in printDiagnosticLevel()
721 case DiagnosticsEngine::Fatal: OS << "fatal error"; break; in printDiagnosticLevel()
787 DiagnosticsEngine::Level Level, in emitDiagnosticLoc()
1121 FullSourceLoc Loc, DiagnosticsEngine::Level Level, in emitSnippetAndCaret()
[all …]
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/Basic/
H A DDiagnostic.h149 class DiagnosticsEngine : public RefCountedBase<DiagnosticsEngine> {
488 DiagnosticsEngine(const DiagnosticsEngine &) = delete;
489 DiagnosticsEngine &operator=(const DiagnosticsEngine &) = delete;
490 ~DiagnosticsEngine();
1000 DiagnosticsEngine &Diag;
1044 friend class DiagnosticsEngine; variable
1047 mutable DiagnosticsEngine *DiagObj = nullptr;
1208 DB.AddTaggedVal(I, DiagnosticsEngine::ak_sint);
1219 DB.AddTaggedVal(I, DiagnosticsEngine::ak_sint);
1317 const DiagnosticsEngine *DiagObj;
[all …]
H A DPartialDiagnostic.h42 MaxArguments = DiagnosticsEngine::MaxArguments
219 if (Other.getArgKind(I) == DiagnosticsEngine::ak_std_string) in PartialDiagnostic()
288 = DiagnosticsEngine::ak_std_string; in AddString()
299 == DiagnosticsEngine::ak_std_string) in Emit()
315 void EmitToString(DiagnosticsEngine &Diags, in EmitToString()
341 == DiagnosticsEngine::ak_std_string && "Not a string arg"); in getStringArg()
347 PD.AddTaggedVal(I, DiagnosticsEngine::ak_uint);
353 PD.AddTaggedVal(I, DiagnosticsEngine::ak_sint);
360 DiagnosticsEngine::ak_c_string);
374 DiagnosticsEngine::ak_identifierinfo);
[all …]
H A DDiagnosticIDs.h24 class DiagnosticsEngine; variable
317 const DiagnosticsEngine &Diag) const LLVM_READONLY;
321 const DiagnosticsEngine &Diag) const LLVM_READONLY;
327 bool ProcessDiag(DiagnosticsEngine &Diag) const;
331 void EmitDiag(DiagnosticsEngine &Diag, Level DiagLevel) const;
337 friend class DiagnosticsEngine; variable
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/Frontend/
H A DDiagnosticRenderer.h70 DiagnosticsEngine::Level LastLevel = DiagnosticsEngine::Ignored;
78 DiagnosticsEngine::Level Level,
84 DiagnosticsEngine::Level Level,
88 DiagnosticsEngine::Level Level,
99 DiagnosticsEngine::Level Level) {} in beginDiagnostic()
101 DiagnosticsEngine::Level Level) {} in endDiagnostic()
106 DiagnosticsEngine::Level Level);
111 void emitCaret(FullSourceLoc Loc, DiagnosticsEngine::Level Level,
114 DiagnosticsEngine::Level Level,
116 void emitMacroExpansions(FullSourceLoc Loc, DiagnosticsEngine::Level Level,
[all …]
H A DTextDiagnostic.h53 DiagnosticsEngine::Level Level,
79 DiagnosticsEngine::Level Level, StringRef Message,
84 DiagnosticsEngine::Level Level,
87 void emitCodeContext(FullSourceLoc Loc, DiagnosticsEngine::Level Level, in emitCodeContext()
104 void emitSnippetAndCaret(FullSourceLoc Loc, DiagnosticsEngine::Level Level,
H A DUtils.h51 class DiagnosticsEngine; variable
199 IntrusiveRefCntPtr<DiagnosticsEngine> Diags =
200 IntrusiveRefCntPtr<DiagnosticsEngine>(),
207 DiagnosticsEngine *Diags = nullptr);
211 DiagnosticsEngine &Diags) { in getLastArgIntValue()
217 DiagnosticsEngine *Diags = nullptr);
222 DiagnosticsEngine &Diags) { in getLastArgUInt64Value()
H A DCompilerInvocation.h48 class DiagnosticsEngine; variable
61 DiagnosticsEngine *Diags = nullptr,
158 DiagnosticsEngine &Diags);
228 DiagnosticsEngine &Diags);
231 const CompilerInvocation &CI, DiagnosticsEngine &Diags,
H A DASTUnit.h98 DiagnosticsEngine::Level Level;
108 IntrusiveRefCntPtr<DiagnosticsEngine> Diagnostics;
250 static void ConfigureDiags(IntrusiveRefCntPtr<DiagnosticsEngine> Diags,
424 const DiagnosticsEngine &getDiagnostics() const { return *Diagnostics; } in getDiagnostics()
425 DiagnosticsEngine &getDiagnostics() { return *Diagnostics; } in getDiagnostics()
660 IntrusiveRefCntPtr<DiagnosticsEngine> Diags, bool CaptureDiagnostics,
686 WhatToLoad ToLoad, IntrusiveRefCntPtr<DiagnosticsEngine> Diags,
744 IntrusiveRefCntPtr<DiagnosticsEngine> Diags,
771 IntrusiveRefCntPtr<DiagnosticsEngine> Diags, FileManager *FileMgr,
811 IntrusiveRefCntPtr<DiagnosticsEngine> Diags, StringRef ResourceFilesPath,
[all …]
H A DTextDiagnosticBuffer.h39 std::vector<std::pair<DiagnosticsEngine::Level, size_t>> All;
54 void HandleDiagnostic(DiagnosticsEngine::Level DiagLevel,
59 void FlushDiagnostics(DiagnosticsEngine &Diags) const;
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/ARCMigrate/
H A DFileRemapper.h26 class DiagnosticsEngine; variable
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);
/freebsd-12.1/contrib/llvm/tools/clang/lib/ARCMigrate/
H A DPlistReporter.cpp19 static StringRef getLevelName(DiagnosticsEngine::Level Level) { in getLevelName()
21 case DiagnosticsEngine::Ignored: in getLevelName()
23 case DiagnosticsEngine::Note: in getLevelName()
25 case DiagnosticsEngine::Remark: in getLevelName()
26 case DiagnosticsEngine::Warning: in getLevelName()
28 case DiagnosticsEngine::Fatal: in getLevelName()
29 case DiagnosticsEngine::Error: in getLevelName()
87 if (D.getLevel() == DiagnosticsEngine::Ignored) in writeARCDiagsToPlist()
H A DARCMT.cpp88 if (I->getLevel() >= DiagnosticsEngine::Error) in hasErrors()
97 DiagnosticsEngine &Diags;
102 CaptureDiagnosticConsumer(DiagnosticsEngine &diags, in CaptureDiagnosticConsumer()
136 level >= DiagnosticsEngine::Error || level == DiagnosticsEngine::Note) { in HandleDiagnostic()
184 IntrusiveRefCntPtr<DiagnosticsEngine> Diags( in createInvocationForMigration()
223 IntrusiveRefCntPtr<DiagnosticsEngine> Diags( in emitPremigrationErrors()
263 IntrusiveRefCntPtr<DiagnosticsEngine> Diags( in checkForManualIssues()
372 IntrusiveRefCntPtr<DiagnosticsEngine> Diags( in applyTransforms()
409 IntrusiveRefCntPtr<DiagnosticsEngine> Diags( in getFileRemappings()
515 IntrusiveRefCntPtr<DiagnosticsEngine> Diags( in MigrationProcess()
[all …]
H A DFileRemapper.cpp50 bool FileRemapper::initFromDisk(StringRef outputDir, DiagnosticsEngine &Diag, in initFromDisk()
56 bool FileRemapper::initFromFile(StringRef filePath, DiagnosticsEngine &Diag, in initFromFile()
110 bool FileRemapper::flushToDisk(StringRef outputDir, DiagnosticsEngine &Diag) { in flushToDisk()
120 bool FileRemapper::flushToFile(StringRef outputPath, DiagnosticsEngine &Diag) { in flushToFile()
166 bool FileRemapper::overwriteOriginal(DiagnosticsEngine &Diag, in overwriteOriginal()
253 bool FileRemapper::report(const Twine &err, DiagnosticsEngine &Diag) { in report()
254 Diag.Report(Diag.getCustomDiagID(DiagnosticsEngine::Error, "%0")) in report()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Frontend/Rewrite/
H A DFixItRewriter.cpp38 FixItRewriter::FixItRewriter(DiagnosticsEngine &Diags, SourceManager &SourceMgr, in FixItRewriter()
127 void FixItRewriter::HandleDiagnostic(DiagnosticsEngine::Level DiagLevel, in HandleDiagnostic()
133 DiagLevel >= DiagnosticsEngine::Error || in HandleDiagnostic()
134 (DiagLevel == DiagnosticsEngine::Note && !PrevDiagSilenced) || in HandleDiagnostic()
135 (DiagLevel > DiagnosticsEngine::Note && Info.getNumFixItHints())) { in HandleDiagnostic()
143 if (DiagLevel <= DiagnosticsEngine::Note) in HandleDiagnostic()
146 if (DiagLevel >= DiagnosticsEngine::Error && FixItOpts->FixOnlyWarnings) { in HandleDiagnostic()
181 if (DiagLevel >= DiagnosticsEngine::Error) { in HandleDiagnostic()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/AST/
H A DMangle.h55 DiagnosticsEngine &Diags;
66 DiagnosticsEngine &Diags, in MangleContext()
74 DiagnosticsEngine &getDiags() const { return Diags; } in getDiags()
156 explicit ItaniumMangleContext(ASTContext &C, DiagnosticsEngine &D) in ItaniumMangleContext()
179 DiagnosticsEngine &Diags);
184 explicit MicrosoftMangleContext(ASTContext &C, DiagnosticsEngine &D) in MicrosoftMangleContext()
245 DiagnosticsEngine &Diags);
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/Rewrite/Frontend/
H A DASTConsumers.h24 class DiagnosticsEngine; variable
32 DiagnosticsEngine &Diags, const LangOptions &LOpts,
37 DiagnosticsEngine &Diags, const LangOptions &LOpts,
H A DFixItRewriter.h65 DiagnosticsEngine &Diags;
90 FixItRewriter(DiagnosticsEngine &Diags, SourceManager &SourceMgr,
126 void HandleDiagnostic(DiagnosticsEngine::Level DiagLevel,
/freebsd-12.1/contrib/llvm/tools/clang/lib/AST/
H A DMicrosoftMangle.cpp1377 DiagnosticsEngine &Diags = Context.getDiags(); in mangleExpression()
2393 DiagnosticsEngine &Diags = Context.getDiags(); in mangleType()
2543 DiagnosticsEngine &Diags = Context.getDiags(); in mangleType()
2552 DiagnosticsEngine &Diags = Context.getDiags(); in mangleType()
2700 DiagnosticsEngine &Diags = Context.getDiags(); in mangleType()
2702 DiagnosticsEngine::Error, in mangleType()
2709 DiagnosticsEngine &Diags = Context.getDiags(); in mangleType()
2718 DiagnosticsEngine &Diags = Context.getDiags(); in mangleType()
2720 DiagnosticsEngine::Error, in mangleType()
2789 DiagnosticsEngine &Diags = Context.getDiags(); in mangleType()
[all …]
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/StaticAnalyzer/Frontend/
H A DCheckerRegistry.h72 class DiagnosticsEngine; variable
84 CheckerRegistry(ArrayRef<std::string> plugins, DiagnosticsEngine &diags);
146 DiagnosticsEngine &Diags;

1234567