Home
last modified time | relevance | path

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

123456789

/freebsd/contrib/llvm-project/clang/lib/Basic/
H A DDiagnostic.cpp68 DummyArgToStringFn(DiagnosticsEngine::ArgumentKind AK, intptr_t QT, in DummyArgToStringFn()
70 ArrayRef<DiagnosticsEngine::ArgumentValue> PrevArgs, in DummyArgToStringFn()
77 DiagnosticsEngine::DiagnosticsEngine(IntrusiveRefCntPtr<DiagnosticIDs> diags, in DiagnosticsEngine() function in DiagnosticsEngine
88 DiagnosticsEngine::~DiagnosticsEngine() { in ~DiagnosticsEngine()
94 void DiagnosticsEngine::dump() const { DiagStatesByLoc.dump(*SourceMgr); } in dump()
96 void DiagnosticsEngine::dump(StringRef DiagName) const { in dump()
100 void DiagnosticsEngine::setClient(DiagnosticConsumer *client, in setClient()
106 void DiagnosticsEngine::pushMappings(SourceLocation Loc) { in pushMappings()
110 bool DiagnosticsEngine::popMappings(SourceLocation Loc) { in popMappings()
122 void DiagnosticsEngine::ResetPragmas() { DiagStatesByLoc.clear(/*Soft=*/true); } in ResetPragmas()
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/Frontend/
H A DDiagnosticRenderer.h69 DiagnosticsEngine::Level LastLevel = DiagnosticsEngine::Ignored;
76 DiagnosticsEngine::Level Level,
82 DiagnosticsEngine::Level Level,
86 DiagnosticsEngine::Level Level,
97 DiagnosticsEngine::Level Level) {} in beginDiagnostic()
99 DiagnosticsEngine::Level Level) {} in endDiagnostic()
104 DiagnosticsEngine::Level Level);
109 void emitCaret(FullSourceLoc Loc, DiagnosticsEngine::Level Level,
112 DiagnosticsEngine::Level Level,
114 void emitMacroExpansions(FullSourceLoc Loc, DiagnosticsEngine::Level Level,
[all …]
H A DCompilerInvocation.h49 class DiagnosticsEngine; variable
67 DiagnosticsEngine *Diags = nullptr,
281 DiagnosticsEngine &Diags,
315 DiagnosticsEngine &Diags,
329 DiagnosticsEngine &Diags, const char *Argv0);
335 DiagnosticsEngine &Diags);
339 InputKind IK, DiagnosticsEngine &Diags,
390 DiagnosticsEngine &Diags);
393 const CompilerInvocation &CI, DiagnosticsEngine &Diags,
398 DiagnosticsEngine &Diags,
H A DTextDiagnostic.h61 DiagnosticsEngine::Level Level,
86 DiagnosticsEngine::Level Level, StringRef Message,
91 DiagnosticsEngine::Level Level,
94 void emitCodeContext(FullSourceLoc Loc, DiagnosticsEngine::Level Level, in emitCodeContext()
111 void emitSnippetAndCaret(FullSourceLoc Loc, DiagnosticsEngine::Level Level,
H A DSARIFDiagnostic.h37 DiagnosticsEngine::Level Level, StringRef Message,
42 DiagnosticsEngine::Level Level,
45 void emitCodeContext(FullSourceLoc Loc, DiagnosticsEngine::Level Level, in emitCodeContext()
67 DiagnosticsEngine::Level Level);
H A DASTUnit.h100 DiagnosticsEngine::Level Level;
115 IntrusiveRefCntPtr<DiagnosticsEngine> Diagnostics;
269 static void ConfigureDiags(IntrusiveRefCntPtr<DiagnosticsEngine> Diags,
444 const DiagnosticsEngine &getDiagnostics() const { return *Diagnostics; } in getDiagnostics()
445 DiagnosticsEngine &getDiagnostics() { return *Diagnostics; } in getDiagnostics()
683 IntrusiveRefCntPtr<DiagnosticsEngine> Diags,
710 IntrusiveRefCntPtr<DiagnosticsEngine> Diags,
773 IntrusiveRefCntPtr<DiagnosticsEngine> Diags,
801 IntrusiveRefCntPtr<DiagnosticsEngine> Diags, FileManager *FileMgr,
850 IntrusiveRefCntPtr<DiagnosticsEngine> Diags, StringRef ResourceFilesPath,
[all …]
H A DTextDiagnosticBuffer.h38 std::vector<std::pair<DiagnosticsEngine::Level, size_t>> All;
53 void HandleDiagnostic(DiagnosticsEngine::Level DiagLevel,
58 void FlushDiagnostics(DiagnosticsEngine &Diags) const;
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DDiagnostic.h230 class DiagnosticsEngine : public RefCountedBase<DiagnosticsEngine> {
578 explicit DiagnosticsEngine(IntrusiveRefCntPtr<DiagnosticIDs> Diags,
582 DiagnosticsEngine(const DiagnosticsEngine &) = delete;
583 DiagnosticsEngine &operator=(const DiagnosticsEngine &) = delete;
584 ~DiagnosticsEngine();
586 friend void DiagnosticsTestHelper(DiagnosticsEngine &);
922 void notePriorDiagnosticFrom(const DiagnosticsEngine &Other) { in notePriorDiagnosticFrom()
1073 DiagnosticsEngine &Diag;
1078 explicit DiagnosticErrorTrap(DiagnosticsEngine &Diag) : Diag(Diag) { in DiagnosticErrorTrap()
1152 void AddTaggedVal(uint64_t V, DiagnosticsEngine::ArgumentKind Kind) const { in AddTaggedVal()
[all …]
H A DPartialDiagnostic.h95 if (Other.getArgKind(I) == DiagnosticsEngine::ak_std_string) in PartialDiagnostic()
150 if ((DiagnosticsEngine::ArgumentKind)DiagStorage->DiagArgumentsKind[i] in Emit()
151 == DiagnosticsEngine::ak_std_string) in Emit()
155 (DiagnosticsEngine::ArgumentKind)DiagStorage->DiagArgumentsKind[i]); in Emit()
167 void EmitToString(DiagnosticsEngine &Diags, in EmitToString()
189 == DiagnosticsEngine::ak_std_string && "Not a string arg"); in getStringArg()
/freebsd/contrib/llvm-project/clang/lib/Frontend/
H A DLogDiagnosticPrinter.cpp23 static StringRef getLevelName(DiagnosticsEngine::Level Level) { in getLevelName()
25 case DiagnosticsEngine::Ignored: return "ignored"; in getLevelName()
26 case DiagnosticsEngine::Remark: return "remark"; in getLevelName()
27 case DiagnosticsEngine::Note: return "note"; in getLevelName()
28 case DiagnosticsEngine::Warning: return "warning"; in getLevelName()
29 case DiagnosticsEngine::Error: return "error"; in getLevelName()
30 case DiagnosticsEngine::Fatal: return "fatal error"; in getLevelName()
108 void LogDiagnosticPrinter::HandleDiagnostic(DiagnosticsEngine::Level Level, in HandleDiagnostic()
H A DSARIFDiagnostic.cpp40 FullSourceLoc Loc, PresumedLoc PLoc, DiagnosticsEngine::Level Level, in emitDiagnosticMessage()
138 DiagnosticsEngine::Level Level) { in addDiagnosticLevelToRule()
142 case DiagnosticsEngine::Note: in addDiagnosticLevelToRule()
145 case DiagnosticsEngine::Remark: in addDiagnosticLevelToRule()
148 case DiagnosticsEngine::Warning: in addDiagnosticLevelToRule()
151 case DiagnosticsEngine::Error: in addDiagnosticLevelToRule()
154 case DiagnosticsEngine::Fatal: in addDiagnosticLevelToRule()
157 case DiagnosticsEngine::Ignored: in addDiagnosticLevelToRule()
205 DiagnosticsEngine::Level Level, in emitDiagnosticLoc()
H A DSerializedDiagnosticPrinter.cpp64 DiagnosticsEngine::Level Level, StringRef Message,
69 DiagnosticsEngine::Level Level, in emitDiagnosticLoc()
74 void emitCodeContext(FullSourceLoc Loc, DiagnosticsEngine::Level Level,
79 DiagnosticsEngine::Level Level) override;
81 DiagnosticsEngine::Level Level) override;
151 void HandleDiagnostic(DiagnosticsEngine::Level DiagLevel,
162 DiagnosticsEngine *getMetaDiags();
186 DiagnosticsEngine::Level Level, StringRef Message,
201 unsigned getEmitDiagnosticFlag(DiagnosticsEngine::Level DiagLevel,
285 std::unique_ptr<DiagnosticsEngine> MetaDiagnostics;
[all …]
H A DTextDiagnosticPrinter.cpp48 DiagnosticsEngine::Level Level, in printDiagnosticOptions()
68 if (Level == DiagnosticsEngine::Error && in printDiagnosticOptions()
82 << (Level == DiagnosticsEngine::Remark ? "-R" : "-W") << Opt; in printDiagnosticOptions()
109 void TextDiagnosticPrinter::HandleDiagnostic(DiagnosticsEngine::Level Level, in HandleDiagnostic()
138 OS, /*IsSupplemental=*/Level == DiagnosticsEngine::Note, in HandleDiagnostic()
/freebsd/contrib/llvm-project/clang/lib/Frontend/Rewrite/
H A DFixItRewriter.cpp37 FixItRewriter::FixItRewriter(DiagnosticsEngine &Diags, SourceManager &SourceMgr, in FixItRewriter()
129 void FixItRewriter::HandleDiagnostic(DiagnosticsEngine::Level DiagLevel, in HandleDiagnostic()
135 DiagLevel >= DiagnosticsEngine::Error || in HandleDiagnostic()
136 (DiagLevel == DiagnosticsEngine::Note && !PrevDiagSilenced) || in HandleDiagnostic()
137 (DiagLevel > DiagnosticsEngine::Note && Info.getNumFixItHints())) { in HandleDiagnostic()
145 if (DiagLevel <= DiagnosticsEngine::Note) in HandleDiagnostic()
148 if (DiagLevel >= DiagnosticsEngine::Error && FixItOpts->FixOnlyWarnings) { in HandleDiagnostic()
183 if (DiagLevel >= DiagnosticsEngine::Error) { in HandleDiagnostic()
/freebsd/contrib/llvm-project/clang/include/clang/Driver/
H A DOptionUtils.h35 DiagnosticsEngine *Diags = nullptr, unsigned Base = 0);
39 DiagnosticsEngine &Diags, unsigned Base = 0) {
45 DiagnosticsEngine *Diags = nullptr,
51 DiagnosticsEngine &Diags,
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DTextDiagnostics.cpp34 DiagnosticsEngine &DiagEng;
40 DiagnosticsEngine &DiagEng, const LangOptions &LO, in TextDiagnostics()
59 ? DiagEng.getCustomDiagID(DiagnosticsEngine::Error, "%0") in FlushDiagnosticsImpl()
60 : DiagEng.getCustomDiagID(DiagnosticsEngine::Warning, "%0"); in FlushDiagnosticsImpl()
61 unsigned NoteID = DiagEng.getCustomDiagID(DiagnosticsEngine::Note, "%0"); in FlushDiagnosticsImpl()
/freebsd/contrib/llvm-project/clang/include/clang/Rewrite/Frontend/
H A DASTConsumers.h23 class DiagnosticsEngine; variable
31 DiagnosticsEngine &Diags, const LangOptions &LOpts,
36 DiagnosticsEngine &Diags, const LangOptions &LOpts,
H A DFixItRewriter.h64 DiagnosticsEngine &Diags;
89 FixItRewriter(DiagnosticsEngine &Diags, SourceManager &SourceMgr,
125 void HandleDiagnostic(DiagnosticsEngine::Level DiagLevel,
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DMangle.h60 DiagnosticsEngine &Diags;
76 explicit MangleContext(ASTContext &Context, DiagnosticsEngine &Diags,
84 DiagnosticsEngine &getDiags() const { return Diags; } in getDiags()
194 explicit ItaniumMangleContext(ASTContext &C, DiagnosticsEngine &D,
226 create(ASTContext &Context, DiagnosticsEngine &Diags, bool IsAux = false);
228 DiagnosticsEngine &Diags,
235 explicit MicrosoftMangleContext(ASTContext &C, DiagnosticsEngine &D,
297 create(ASTContext &Context, DiagnosticsEngine &Diags, bool IsAux = false);
/freebsd/contrib/llvm-project/clang/lib/Driver/
H A DOptionUtils.cpp20 IntTy Default, DiagnosticsEngine *Diags, in getLastArgIntValueImpl()
37 DiagnosticsEngine *Diags, unsigned Base) { in getLastArgIntValue()
42 uint64_t Default, DiagnosticsEngine *Diags, in getLastArgUInt64Value()
/freebsd/contrib/llvm-project/clang/include/clang/Tooling/Core/
H A DDiagnostic.h70 Remark = DiagnosticsEngine::Remark,
71 Warning = DiagnosticsEngine::Warning,
72 Error = DiagnosticsEngine::Error
/freebsd/contrib/llvm-project/clang/lib/Basic/Targets/
H A DRISCV.h97 initFeatureMap(llvm::StringMap<bool> &Features, DiagnosticsEngine &Diags,
108 DiagnosticsEngine &Diags) override;
142 bool checkCFProtectionBranchSupported(DiagnosticsEngine &) const override { in checkCFProtectionBranchSupported() argument
149 checkCFProtectionReturnSupported(DiagnosticsEngine &Diags) const override { in checkCFProtectionReturnSupported()
161 DiagnosticsEngine &Diags) const override { in checkCFBranchLabelSchemeSupported()
/freebsd/contrib/llvm-project/clang/include/clang/CIR/
H A DCIRGenerator.h27 class DiagnosticsEngine; variable
39 clang::DiagnosticsEngine &diags;
73 CIRGenerator(clang::DiagnosticsEngine &diags,
/freebsd/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Frontend/
H A DCheckerRegistry.h77 class DiagnosticsEngine; variable
92 DiagnosticsEngine &Diags, AnalyzerOptions &AnOpts,
192 DiagnosticsEngine &Diags;
/freebsd/contrib/llvm-project/clang/include/clang/Lex/
H A DLiteralSupport.h28 class DiagnosticsEngine; variable
54 DiagnosticsEngine &Diags;
70 const TargetInfo &Target, DiagnosticsEngine &Diags);
235 DiagnosticsEngine *Diags;
254 DiagnosticsEngine *diags = nullptr)

123456789