Home
last modified time | relevance | path

Searched refs:DiagLevel (Results 1 – 25 of 33) sorted by relevance

12

/freebsd/contrib/llvm-project/clang/lib/Tooling/Core/
H A DDiagnostic.cpp49 Diagnostic::Level DiagLevel, StringRef BuildDirectory) in Diagnostic() argument
50 : DiagnosticName(DiagnosticName), DiagLevel(DiagLevel), in Diagnostic()
56 Level DiagLevel, llvm::StringRef BuildDirectory) in Diagnostic() argument
58 DiagLevel(DiagLevel), BuildDirectory(BuildDirectory) {} in Diagnostic()
/freebsd/contrib/llvm-project/clang/lib/Frontend/Rewrite/
H A DFixItRewriter.cpp129 void FixItRewriter::HandleDiagnostic(DiagnosticsEngine::Level DiagLevel, in HandleDiagnostic() argument
132 DiagnosticConsumer::HandleDiagnostic(DiagLevel, Info); in HandleDiagnostic()
135 DiagLevel >= DiagnosticsEngine::Error || in HandleDiagnostic()
136 (DiagLevel == DiagnosticsEngine::Note && !PrevDiagSilenced) || in HandleDiagnostic()
137 (DiagLevel > DiagnosticsEngine::Note && Info.getNumFixItHints())) { in HandleDiagnostic()
138 Client->HandleDiagnostic(DiagLevel, Info); 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/Tooling/
H A DDiagnosticsYaml.h66 : DiagLevel(clang::tooling::Diagnostic::Level::Warning) {} in LLVM_YAML_IS_SEQUENCE_VECTOR()
70 DiagLevel(D.DiagLevel), BuildDirectory(D.BuildDirectory) {} in LLVM_YAML_IS_SEQUENCE_VECTOR()
74 DiagLevel, BuildDirectory); in LLVM_YAML_IS_SEQUENCE_VECTOR()
80 clang::tooling::Diagnostic::Level DiagLevel; in LLVM_YAML_IS_SEQUENCE_VECTOR()
90 Io.mapOptional("Level", Keys->DiagLevel); in LLVM_YAML_IS_SEQUENCE_VECTOR()
/freebsd/contrib/llvm-project/clang/include/clang/Frontend/
H A DChainedDiagnosticConsumer.h59 void HandleDiagnostic(DiagnosticsEngine::Level DiagLevel, in HandleDiagnostic() argument
62 DiagnosticConsumer::HandleDiagnostic(DiagLevel, Info); in HandleDiagnostic()
64 Primary->HandleDiagnostic(DiagLevel, Info); in HandleDiagnostic()
65 Secondary->HandleDiagnostic(DiagLevel, Info); in HandleDiagnostic()
H A DTextDiagnosticBuffer.h53 void HandleDiagnostic(DiagnosticsEngine::Level DiagLevel,
H A DLogDiagnosticPrinter.h77 void HandleDiagnostic(DiagnosticsEngine::Level DiagLevel,
H A DVerifyDiagnosticConsumer.h186 void HandleDiagnostic(DiagnosticsEngine::Level DiagLevel,
/freebsd/contrib/llvm-project/clang/lib/Basic/
H A DDiagnostic.cpp659 Level DiagLevel = storedDiag.getLevel(); in Report() local
662 Report(DiagLevel, Info); in Report()
665 void DiagnosticsEngine::Report(Level DiagLevel, const Diagnostic &Info) { in Report() argument
666 assert(DiagLevel != Ignored && "Cannot emit ignored diagnostics!"); in Report()
667 Client->HandleDiagnostic(DiagLevel, Info); in Report()
669 if (DiagLevel == Warning) in Report()
683 Level DiagLevel = getDiagnosticLevel(DiagID, Info.getLocation()); in ProcessDiag() local
687 if (DiagLevel >= Error) { in ProcessDiag()
696 if (DiagLevel != Note) { in ProcessDiag()
704 LastDiagLevel = DiagLevel; in ProcessDiag()
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/Tooling/Core/
H A DDiagnostic.h77 Diagnostic(llvm::StringRef DiagnosticName, Level DiagLevel,
81 const SmallVector<DiagnosticMessage, 1> &Notes, Level DiagLevel,
94 Level DiagLevel; member
/freebsd/contrib/llvm-project/lld/Common/
H A DErrorHandler.cpp340 case DiagLevel::None: in ~SyncStream()
342 case DiagLevel::Log: in ~SyncStream()
345 case DiagLevel::Msg: in ~SyncStream()
348 case DiagLevel::Warn: in ~SyncStream()
351 case DiagLevel::Err: in ~SyncStream()
354 case DiagLevel::Fatal: in ~SyncStream()
/freebsd/contrib/llvm-project/lld/include/lld/Common/
H A DErrorHandler.h155 enum class DiagLevel { None, Log, Msg, Warn, Err, Fatal }; enum
161 DiagLevel level;
166 SyncStream(ErrorHandler &e, DiagLevel level) : e(e), level(level) {} in SyncStream()
/freebsd/contrib/llvm-project/clang/lib/Testing/
H A DTestAST.cpp40 void HandleDiagnostic(DiagnosticsEngine::Level DiagLevel, in HandleDiagnostic() argument
42 Out.emplace_back(DiagLevel, Info); in HandleDiagnostic()
43 if (ReportErrors && DiagLevel >= DiagnosticsEngine::Error) { in HandleDiagnostic()
/freebsd/contrib/llvm-project/clang/lib/Frontend/
H A DSerializedDiagnosticPrinter.cpp151 void HandleDiagnostic(DiagnosticsEngine::Level DiagLevel,
201 unsigned getEmitDiagnosticFlag(DiagnosticsEngine::Level DiagLevel,
537 unsigned SDiagsWriter::getEmitDiagnosticFlag(DiagnosticsEngine::Level DiagLevel, in getEmitDiagnosticFlag() argument
539 if (!Diag || DiagLevel == DiagnosticsEngine::Note) in getEmitDiagnosticFlag()
570 void SDiagsWriter::HandleDiagnostic(DiagnosticsEngine::Level DiagLevel, in HandleDiagnostic() argument
586 if (DiagLevel != DiagnosticsEngine::Note) { in HandleDiagnostic()
605 if (DiagLevel == DiagnosticsEngine::Note) in HandleDiagnostic()
608 EmitDiagnosticMessage(FullSourceLoc(), PresumedLoc(), DiagLevel, in HandleDiagnostic()
611 if (DiagLevel == DiagnosticsEngine::Note) in HandleDiagnostic()
621 FullSourceLoc(Info.getLocation(), Info.getSourceManager()), DiagLevel, in HandleDiagnostic()
/freebsd/contrib/llvm-project/compiler-rt/lib/ubsan/
H A Dubsan_diag.h76 enum DiagLevel {
119 DiagLevel Level; in TypeName()
188 Diag(Location Loc, DiagLevel Level, ErrorType ET, const char *Message)
96 enum DiagLevel { global() enum
/freebsd/contrib/llvm-project/clang/lib/Format/
H A DTokenAnalyzer.cpp39 void HandleDiagnostic(DiagnosticsEngine::Level DiagLevel, in HandleDiagnostic() argument
41 if (DiagLevel == DiagnosticsEngine::Fatal) { in HandleDiagnostic()
/freebsd/contrib/llvm-project/clang/lib/Tooling/
H A DCompilationDatabase.cpp181 void HandleDiagnostic(DiagnosticsEngine::Level DiagLevel, in HandleDiagnostic() argument
186 } else if (DiagLevel >= DiagnosticsEngine::Error) { in HandleDiagnostic()
189 Other.HandleDiagnostic(DiagLevel, Info); in HandleDiagnostic()
/freebsd/contrib/llvm-project/lld/ELF/
H A DConfig.h744 ELFSyncStream(Ctx &ctx, DiagLevel level) in ELFSyncStream()
792 inline DiagLevel toDiagLevel(ReportPolicy policy) { in toDiagLevel()
794 return DiagLevel::Err; in toDiagLevel()
796 return DiagLevel::Warn; in toDiagLevel()
797 return DiagLevel::None; in toDiagLevel()
H A DTarget.cpp109 ELFSyncStream msg(ctx, DiagLevel::None); in getErrorPlace()
H A DICF.cpp537 return {ctx, ctx.arg.printIcfSections ? DiagLevel::Msg : DiagLevel::None}; in run()
/freebsd/contrib/llvm-project/clang/include/clang/Rewrite/Frontend/
H A DFixItRewriter.h125 void HandleDiagnostic(DiagnosticsEngine::Level DiagLevel,
/freebsd/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A DClangModulesDeclVendor.cpp51 void HandleDiagnostic(clang::DiagnosticsEngine::Level DiagLevel,
147 clang::DiagnosticsEngine::Level DiagLevel, const clang::Diagnostic &info) { in HandleDiagnostic() argument
153 m_diag_printer->HandleDiagnostic(DiagLevel, info); in HandleDiagnostic()
156 m_diagnostics.push_back(IDAndDiagnostic(DiagLevel, m_output)); in HandleDiagnostic()
H A DClangExpressionParser.cpp199 void HandleDiagnostic(DiagnosticsEngine::Level DiagLevel, in HandleDiagnostic() argument
219 DiagnosticConsumer::HandleDiagnostic(DiagLevel, Info); in HandleDiagnostic()
223 m_passthrough->HandleDiagnostic(DiagLevel, Info); in HandleDiagnostic()
226 switch (DiagLevel) { in HandleDiagnostic()
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DDiagnostic.h1042 void Report(Level DiagLevel, const Diagnostic &Info);
1765 virtual void HandleDiagnostic(DiagnosticsEngine::Level DiagLevel,
1773 void HandleDiagnostic(DiagnosticsEngine::Level DiagLevel, in HandleDiagnostic() argument
1789 void HandleDiagnostic(DiagnosticsEngine::Level DiagLevel,
/freebsd/contrib/llvm-project/lld/COFF/
H A DSymbolTable.cpp45 return {ctx, ctx.config.forceUnresolved ? DiagLevel::Warn : DiagLevel::Err}; in errorOrWarn()
836 COFFSyncStream diag(ctx, ctx.config.forceMultiple ? DiagLevel::Warn in reportDuplicate()
837 : DiagLevel::Err); in reportDuplicate()
H A DConfig.h343 COFFSyncStream(COFFLinkerContext &ctx, DiagLevel level);

12