/freebsd/contrib/llvm-project/clang/lib/Basic/ |
H A D | Diagnostic.cpp | 61 static void DummyArgToStringFn(DiagnosticsEngine::ArgumentKind AK, intptr_t QT, in DummyArgToStringFn() 63 ArrayRef<DiagnosticsEngine::ArgumentValue> PrevArgs, in DummyArgToStringFn() 71 DiagnosticsEngine::DiagnosticsEngine( in DiagnosticsEngine() function in DiagnosticsEngine 82 DiagnosticsEngine::~DiagnosticsEngine() { in ~DiagnosticsEngine() 88 void DiagnosticsEngine::dump() const { in dump() 92 void DiagnosticsEngine::dump(StringRef DiagName) const { in dump() 96 void DiagnosticsEngine::setClient(DiagnosticConsumer *client, in setClient() 102 void DiagnosticsEngine::pushMappings(SourceLocation Loc) { in pushMappings() 106 bool DiagnosticsEngine::popMappings(SourceLocation Loc) { in popMappings() 118 void DiagnosticsEngine::Reset(bool soft /*=false*/) { in Reset() [all …]
|
/freebsd/contrib/llvm-project/clang/include/clang/Frontend/ |
H A D | DiagnosticRenderer.h | 69 DiagnosticsEngine::Level LastLevel = DiagnosticsEngine::Ignored; 77 DiagnosticsEngine::Level Level, 83 DiagnosticsEngine::Level Level, 87 DiagnosticsEngine::Level Level, 98 DiagnosticsEngine::Level Level) {} in beginDiagnostic() 100 DiagnosticsEngine::Level Level) {} in endDiagnostic() 105 DiagnosticsEngine::Level Level); 110 void emitCaret(FullSourceLoc Loc, DiagnosticsEngine::Level Level, 113 DiagnosticsEngine::Level Level, 115 void emitMacroExpansions(FullSourceLoc Loc, DiagnosticsEngine::Level Level, [all …]
|
H A D | CompilerInvocation.h | 49 class DiagnosticsEngine; variable 67 DiagnosticsEngine *Diags = nullptr, 295 DiagnosticsEngine &Diags, 329 DiagnosticsEngine &Diags, 343 DiagnosticsEngine &Diags, const char *Argv0); 349 DiagnosticsEngine &Diags); 353 InputKind IK, DiagnosticsEngine &Diags, 404 DiagnosticsEngine &Diags); 407 const CompilerInvocation &CI, DiagnosticsEngine &Diags, 412 DiagnosticsEngine &Diags,
|
H A D | TextDiagnostic.h | 61 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 D | SARIFDiagnostic.h | 37 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 D | ASTUnit.h | 100 DiagnosticsEngine::Level Level; 110 IntrusiveRefCntPtr<DiagnosticsEngine> Diagnostics; 257 static void ConfigureDiags(IntrusiveRefCntPtr<DiagnosticsEngine> Diags, 432 const DiagnosticsEngine &getDiagnostics() const { return *Diagnostics; } in getDiagnostics() 433 DiagnosticsEngine &getDiagnostics() { return *Diagnostics; } in getDiagnostics() 670 IntrusiveRefCntPtr<DiagnosticsEngine> Diags, 697 IntrusiveRefCntPtr<DiagnosticsEngine> Diags, 760 IntrusiveRefCntPtr<DiagnosticsEngine> Diags, 787 IntrusiveRefCntPtr<DiagnosticsEngine> Diags, FileManager *FileMgr, 835 IntrusiveRefCntPtr<DiagnosticsEngine> Diags, StringRef ResourceFilesPath, [all …]
|
H A D | TextDiagnosticBuffer.h | 38 std::vector<std::pair<DiagnosticsEngine::Level, size_t>> All; 53 void HandleDiagnostic(DiagnosticsEngine::Level DiagLevel, 58 void FlushDiagnostics(DiagnosticsEngine &Diags) const;
|
H A D | CompilerInstance.h | 49 class DiagnosticsEngine; variable 84 IntrusiveRefCntPtr<DiagnosticsEngine> Diagnostics; 367 DiagnosticsEngine &getDiagnostics() const { in getDiagnostics() 372 IntrusiveRefCntPtr<DiagnosticsEngine> getDiagnosticsPtr() const { in getDiagnosticsPtr() 378 void setDiagnostics(DiagnosticsEngine *Value); 704 static IntrusiveRefCntPtr<DiagnosticsEngine> 833 DiagnosticsEngine &Diags,
|
/freebsd/contrib/llvm-project/clang/lib/ARCMigrate/ |
H A D | ARCMT.cpp | 45 if (eraseS->getLevel() != DiagnosticsEngine::Note) in clearDiagnostic() 46 while (I != List.end() && I->getLevel() == DiagnosticsEngine::Note) in clearDiagnostic() 81 void CapturedDiagList::reportDiagnostics(DiagnosticsEngine &Diags) const { in reportDiagnostics() 88 if (I->getLevel() >= DiagnosticsEngine::Error) in hasErrors() 97 DiagnosticsEngine &Diags; 102 CaptureDiagnosticConsumer(DiagnosticsEngine &diags, in CaptureDiagnosticConsumer() 133 void HandleDiagnostic(DiagnosticsEngine::Level level, in HandleDiagnostic() 136 level >= DiagnosticsEngine::Error || level == DiagnosticsEngine::Note) { in HandleDiagnostic() 182 IntrusiveRefCntPtr<DiagnosticsEngine> Diags( in createInvocationForMigration() 183 new DiagnosticsEngine(DiagID, &origCI.getDiagnosticOpts(), in createInvocationForMigration() [all …]
|
/freebsd/contrib/llvm-project/clang/lib/Frontend/ |
H A D | SerializedDiagnosticPrinter.cpp | 67 DiagnosticsEngine::Level Level, StringRef Message, 72 DiagnosticsEngine::Level Level, in emitDiagnosticLoc() 77 void emitCodeContext(FullSourceLoc Loc, DiagnosticsEngine::Level Level, 82 DiagnosticsEngine::Level Level) override; 84 DiagnosticsEngine::Level Level) override; 154 void HandleDiagnostic(DiagnosticsEngine::Level DiagLevel, 165 DiagnosticsEngine *getMetaDiags(); 189 DiagnosticsEngine::Level Level, StringRef Message, 204 unsigned getEmitDiagnosticFlag(DiagnosticsEngine::Level DiagLevel, 288 std::unique_ptr<DiagnosticsEngine> MetaDiagnostics; [all …]
|
H A D | TextDiagnosticPrinter.cpp | 52 DiagnosticsEngine::Level Level, in printDiagnosticOptions() 72 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()
|
H A D | TextDiagnostic.cpp | 664 FullSourceLoc Loc, PresumedLoc PLoc, DiagnosticsEngine::Level Level, in emitDiagnosticMessage() 679 /*IsSupplemental*/ Level == DiagnosticsEngine::Note, in emitDiagnosticMessage() 686 DiagnosticsEngine::Level Level, in printDiagnosticLevel() 691 case DiagnosticsEngine::Ignored: in printDiagnosticLevel() 693 case DiagnosticsEngine::Note: OS.changeColor(noteColor, true); break; in printDiagnosticLevel() 694 case DiagnosticsEngine::Remark: OS.changeColor(remarkColor, true); break; in printDiagnosticLevel() 695 case DiagnosticsEngine::Warning: OS.changeColor(warningColor, true); break; in printDiagnosticLevel() 696 case DiagnosticsEngine::Error: OS.changeColor(errorColor, true); break; in printDiagnosticLevel() 697 case DiagnosticsEngine::Fatal: OS.changeColor(fatalColor, true); break; in printDiagnosticLevel() 702 case DiagnosticsEngine::Ignored: in printDiagnosticLevel() [all …]
|
/freebsd/contrib/llvm-project/clang/include/clang/Driver/ |
H A D | OptionUtils.h | 35 DiagnosticsEngine *Diags = nullptr, unsigned Base = 0); 39 DiagnosticsEngine &Diags, unsigned Base = 0) { 45 DiagnosticsEngine *Diags = nullptr, 51 DiagnosticsEngine &Diags,
|
/freebsd/contrib/llvm-project/clang/include/clang/Basic/ |
H A D | PartialDiagnostic.h | 95 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() 192 == DiagnosticsEngine::ak_std_string && "Not a string arg"); in getStringArg()
|
H A D | DiagnosticIDs.h | 24 class DiagnosticsEngine; variable 360 const DiagnosticsEngine &Diag) const LLVM_READONLY; 364 const DiagnosticsEngine &Diag) const LLVM_READONLY; 370 bool ProcessDiag(DiagnosticsEngine &Diag) const; 374 void EmitDiag(DiagnosticsEngine &Diag, Level DiagLevel) const; 380 friend class DiagnosticsEngine; variable
|
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/ |
H A D | TextDiagnostics.cpp | 39 DiagnosticsEngine &DiagEng; 45 DiagnosticsEngine &DiagEng, const LangOptions &LO, in TextDiagnostics() 64 ? DiagEng.getCustomDiagID(DiagnosticsEngine::Error, "%0") in FlushDiagnosticsImpl() 65 : DiagEng.getCustomDiagID(DiagnosticsEngine::Warning, "%0"); in FlushDiagnosticsImpl() 66 unsigned NoteID = DiagEng.getCustomDiagID(DiagnosticsEngine::Note, "%0"); in FlushDiagnosticsImpl()
|
/freebsd/contrib/llvm-project/clang/include/clang/Rewrite/Frontend/ |
H A D | ASTConsumers.h | 23 class DiagnosticsEngine; variable 31 DiagnosticsEngine &Diags, const LangOptions &LOpts, 36 DiagnosticsEngine &Diags, const LangOptions &LOpts,
|
H A D | FixItRewriter.h | 64 DiagnosticsEngine &Diags; 89 FixItRewriter(DiagnosticsEngine &Diags, SourceManager &SourceMgr, 125 void HandleDiagnostic(DiagnosticsEngine::Level DiagLevel,
|
/freebsd/contrib/llvm-project/clang/include/clang/AST/ |
H A D | Mangle.h | 56 DiagnosticsEngine &Diags; 72 explicit MangleContext(ASTContext &Context, DiagnosticsEngine &Diags, 80 DiagnosticsEngine &getDiags() const { return Diags; } in getDiags() 191 explicit ItaniumMangleContext(ASTContext &C, DiagnosticsEngine &D, 223 create(ASTContext &Context, DiagnosticsEngine &Diags, bool IsAux = false); 225 DiagnosticsEngine &Diags, 232 explicit MicrosoftMangleContext(ASTContext &C, DiagnosticsEngine &D, 294 create(ASTContext &Context, DiagnosticsEngine &Diags, bool IsAux = false);
|
H A D | ASTDiagnostic.h | 27 DiagnosticsEngine::ArgumentKind Kind, 31 ArrayRef<DiagnosticsEngine::ArgumentValue> PrevArgs,
|
/freebsd/contrib/llvm-project/clang/lib/Driver/ |
H A D | OptionUtils.cpp | 20 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 D | Diagnostic.h | 70 Remark = DiagnosticsEngine::Remark, 71 Warning = DiagnosticsEngine::Warning, 72 Error = DiagnosticsEngine::Error
|
/freebsd/contrib/llvm-project/clang/lib/AST/ |
H A D | MicrosoftMangle.cpp | 153 MicrosoftMangleContextImpl(ASTContext &Context, DiagnosticsEngine &Diags, 480 DiagnosticsEngine &Diags, in MicrosoftMangleContextImpl() 1581 DiagnosticsEngine &Diags = Context.getDiags(); in mangleOperatorName() 1582 unsigned DiagID = Diags.getCustomDiagID(DiagnosticsEngine::Error, in mangleOperatorName() 1676 DiagnosticsEngine &Diags = Context.getDiags(); in mangleExpression() 1678 DiagnosticsEngine::Error, "cannot yet mangle expression type %0"); in mangleExpression() 2113 DiagnosticsEngine &Diags = Context.getDiags(); in mangleTemplateArgValue() 2115 DiagnosticsEngine::Error, "cannot mangle this template argument yet"); in mangleTemplateArgValue() 2743 DiagnosticsEngine &Diags = Context.getDiags(); in mangleType() 2745 DiagnosticsEngine::Error, "cannot mangle this built-in %0 type yet"); in mangleType() [all …]
|
/freebsd/contrib/llvm-project/clang/include/clang/Lex/ |
H A D | LiteralSupport.h | 28 class DiagnosticsEngine; variable 54 DiagnosticsEngine &Diags; 70 const TargetInfo &Target, DiagnosticsEngine &Diags); 235 DiagnosticsEngine *Diags; 254 DiagnosticsEngine *diags = nullptr)
|
/freebsd/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Frontend/ |
H A D | CheckerRegistry.h | 77 class DiagnosticsEngine; variable 92 DiagnosticsEngine &Diags, AnalyzerOptions &AnOpts, 192 DiagnosticsEngine &Diags;
|