Home
last modified time | relevance | path

Searched refs:Diagnostic (Results 1 – 25 of 73) sorted by relevance

123

/freebsd/contrib/llvm-project/clang/include/clang/Tooling/
H A DDiagnosticsYaml.h23 LLVM_YAML_IS_SEQUENCE_VECTOR(clang::tooling::Diagnostic)
60 template <> struct MappingTraits<clang::tooling::Diagnostic> { in LLVM_YAML_IS_SEQUENCE_VECTOR()
66 : DiagLevel(clang::tooling::Diagnostic::Level::Warning) {} in LLVM_YAML_IS_SEQUENCE_VECTOR()
68 NormalizedDiagnostic(const IO &, const clang::tooling::Diagnostic &D) in LLVM_YAML_IS_SEQUENCE_VECTOR()
72 clang::tooling::Diagnostic denormalize(const IO &) { in LLVM_YAML_IS_SEQUENCE_VECTOR()
73 return clang::tooling::Diagnostic(DiagnosticName, Message, Notes, in LLVM_YAML_IS_SEQUENCE_VECTOR()
80 clang::tooling::Diagnostic::Level DiagLevel; in LLVM_YAML_IS_SEQUENCE_VECTOR()
84 static void mapping(IO &Io, clang::tooling::Diagnostic &D) { in LLVM_YAML_IS_SEQUENCE_VECTOR()
106 IO.enumCase(Value, "Warning", clang::tooling::Diagnostic::Warning); in LLVM_YAML_IS_SEQUENCE_VECTOR()
107 IO.enumCase(Value, "Error", clang::tooling::Diagnostic::Error); in LLVM_YAML_IS_SEQUENCE_VECTOR()
[all …]
/freebsd/contrib/llvm-project/lldb/include/lldb/Expression/
H A DDiagnosticManager.h39 class Diagnostic {
45 static bool classof(const Diagnostic *diag) { in classof()
58 Diagnostic(llvm::StringRef message, DiagnosticSeverity severity, in Diagnostic() function
63 Diagnostic(const Diagnostic &rhs) in Diagnostic() function
67 virtual ~Diagnostic() = default;
91 typedef std::vector<std::unique_ptr<Diagnostic>> DiagnosticList;
104 [](const std::unique_ptr<Diagnostic> &diag) { in HasFixIts()
113 std::make_unique<Diagnostic>(message, severity, origin, compiler_id));
116 void AddDiagnostic(std::unique_ptr<Diagnostic> diagnostic) { in AddDiagnostic()
/freebsd/contrib/llvm-project/clang/include/clang/Tooling/Core/
H A DDiagnostic.h68 struct Diagnostic { struct
75 Diagnostic() = default; argument
77 Diagnostic(llvm::StringRef DiagnosticName, Level DiagLevel,
80 Diagnostic(llvm::StringRef DiagnosticName, const DiagnosticMessage &Message,
110 std::vector<Diagnostic> Diagnostics; argument
115 const llvm::StringMap<Replacements> *selectFirstFix(const Diagnostic& D);
/freebsd/contrib/llvm-project/clang/lib/Tooling/Core/
H A DDiagnostic.cpp48 Diagnostic::Diagnostic(llvm::StringRef DiagnosticName, in Diagnostic() function in clang::tooling::Diagnostic
49 Diagnostic::Level DiagLevel, StringRef BuildDirectory) in Diagnostic()
53 Diagnostic::Diagnostic(llvm::StringRef DiagnosticName, in Diagnostic() function in clang::tooling::Diagnostic
60 const llvm::StringMap<Replacements> *selectFirstFix(const Diagnostic& D) { in selectFirstFix()
/freebsd/contrib/llvm-project/clang/include/clang-c/
H A DCXDiagnostic.h154 CINDEX_LINKAGE void clang_disposeDiagnostic(CXDiagnostic Diagnostic);
239 CINDEX_LINKAGE CXString clang_formatDiagnostic(CXDiagnostic Diagnostic,
336 CINDEX_LINKAGE CXSourceRange clang_getDiagnosticRange(CXDiagnostic Diagnostic,
343 CINDEX_LINKAGE unsigned clang_getDiagnosticNumFixIts(CXDiagnostic Diagnostic);
371 CXDiagnostic Diagnostic, unsigned FixIt, CXSourceRange *ReplacementRange);
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DDiagnostic.td1 //===--- Diagnostic.td - C Language Family Diagnostic Handling ------------===//
51 // Diagnostic Categories. These can be applied to groups or individual
57 // Diagnostic Groups.
78 class Diagnostic<string summary, DiagClass DC, Severity defaultmapping> {
129 class Error<string str> : Diagnostic<str, CLASS_ERROR, SEV_Error>, SFINAEFailure {
135 class Warning<string str> : Diagnostic<str, CLASS_WARNING, SEV_Warning>;
138 class Remark<string str> : Diagnostic<str, CLASS_REMARK, SEV_Ignored>;
141 class Extension<string str> : Diagnostic<str, CLASS_EXTENSION, SEV_Ignored>;
144 class ExtWarn<string str> : Diagnostic<str, CLASS_EXTENSION, SEV_Warning>;
146 class Note<string str> : Diagnostic<str, CLASS_NOTE, SEV_Fatal/*ignored*/>;
H A DDiagnosticDocs.td1 //==--- DiagnosticDocs.td - Diagnostic documentation ---------------------===//
69 Diagnostic flags in Clang
79 Diagnostic flags
H A DDiagnostic.h994 friend class Diagnostic;
1571 class Diagnostic {
1576 explicit Diagnostic(const DiagnosticsEngine *DO) : DiagObj(DO) {} in Diagnostic() function
1577 Diagnostic(const DiagnosticsEngine *DO, StringRef storedDiagMessage) in Diagnostic() function
1705 StoredDiagnostic(DiagnosticsEngine::Level Level, const Diagnostic &Info);
1796 const Diagnostic &Info);
1804 const Diagnostic &Info) override { in HandleDiagnostic()
1820 const Diagnostic &Info) override;
H A DPartialDiagnostic.h90 PartialDiagnostic(const Diagnostic &Other, DiagStorageAllocator &Allocator_) in PartialDiagnostic()
173 Diagnostic(&Diags).FormatDiagnostic(Buf); in EmitToString()
H A DDiagnosticCategories.td1 //==--- DiagnosticCategories.td - Diagnostic Category Definitions ---------===//
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DVerifier.h40 VerifierSupport *Diagnostic = nullptr; variable
75 TBAAVerifier(VerifierSupport *Diagnostic = nullptr)
76 : Diagnostic(Diagnostic) {} in Diagnostic() function
H A DDiagnosticInfo.h937 const SMDiagnostic &Diagnostic; variable
941 const SMDiagnostic &Diagnostic) in DiagnosticInfoMIRParser() argument
942 : DiagnosticInfo(DK_MIRParser, Severity), Diagnostic(Diagnostic) {} in DiagnosticInfoMIRParser()
944 const SMDiagnostic &getDiagnostic() const { return Diagnostic; } in getDiagnostic()
1074 const SMDiagnostic &Diagnostic; variable
1082 DiagnosticInfoSrcMgr(const SMDiagnostic &Diagnostic, StringRef ModName,
1084 : DiagnosticInfo(DK_SrcMgr, getDiagnosticSeverity(Diagnostic.getKind())),
1085 Diagnostic(Diagnostic), ModName(ModName), InlineAsmDiag(InlineAsmDiag),
1090 const SMDiagnostic &getSMDiag() const { return Diagnostic; } in getSMDiag()
/freebsd/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A DClangDiagnostic.h23 class ClangDiagnostic : public Diagnostic {
28 static inline bool classof(const Diagnostic *diag) { in classof()
34 : Diagnostic(message, severity, eDiagnosticOriginClang, compiler_id) {} in ClangDiagnostic()
/freebsd/contrib/llvm-project/lld/MachO/
H A DRelocations.h92 template <typename Diagnostic>
93 inline void checkInt(void *loc, Diagnostic d, int64_t v, int bits) { in checkInt()
99 template <typename Diagnostic>
100 inline void checkUInt(void *loc, Diagnostic d, uint64_t v, int bits) { in checkUInt()
/freebsd/contrib/llvm-project/llvm/lib/Target/AVR/MCTargetDesc/
H A DAVRAsmBackend.cpp41 std::string Diagnostic = "out of range " + Description; in signed_width() local
46 Diagnostic += " (expected an integer in the range " + std::to_string(Min) + in signed_width()
50 Ctx->reportError(Fixup.getLoc(), Diagnostic); in signed_width()
52 llvm_unreachable(Diagnostic.c_str()); in signed_width()
61 std::string Diagnostic = "out of range " + Description; in unsigned_width() local
65 Diagnostic += in unsigned_width()
69 Ctx->reportError(Fixup.getLoc(), Diagnostic); in unsigned_width()
71 llvm_unreachable(Diagnostic.c_str()); in unsigned_width()
/freebsd/contrib/llvm-project/clang/lib/Frontend/
H A DTextDiagnosticPrinter.cpp53 const Diagnostic &Info, in printDiagnosticOptions()
110 const Diagnostic &Info) { in HandleDiagnostic()
H A DSARIFDiagnostic.cpp44 const auto *Diag = D.dyn_cast<const Diagnostic *>(); in emitDiagnosticMessage()
66 ArrayRef<CharSourceRange> Ranges, const Diagnostic &Diag) { in addLocationToResult()
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DDelayedDiagnostic.h162 DD.ForbiddenTypeData.Diagnostic = diagnostic; in makeForbiddenType()
208 return ForbiddenTypeData.Diagnostic; in getForbiddenTypeDiagnostic()
248 unsigned Diagnostic; member
/freebsd/contrib/llvm-project/clang/include/clang/Frontend/
H A DDiagnosticRenderer.h33 llvm::PointerUnion<const Diagnostic *, const StoredDiagnostic *>;
135 DiagOrStoredDiag D = (Diagnostic *)nullptr);
H A DTextDiagnosticPrinter.h53 const Diagnostic &Info) override;
H A DTextDiagnosticBuffer.h54 const Diagnostic &Info) override;
H A DLogDiagnosticPrinter.h79 const Diagnostic &Info) override;
/freebsd/contrib/llvm-project/clang/lib/Basic/
H A DDiagnostic.cpp516 Diagnostic Info(this, storedDiag.getMessage()); in Report()
531 Diagnostic Info(this); in EmitCurrentDiagnostic()
561 const Diagnostic &Info) { in HandleDiagnostic()
610 static void HandleSelectModifier(const Diagnostic &DInfo, unsigned ValNo, in HandleSelectModifier()
751 static void HandlePluralModifier(const Diagnostic &DInfo, unsigned ValNo, in HandlePluralModifier()
790 void Diagnostic::
848 void Diagnostic::
1158 const Diagnostic &Info) in StoredDiagnostic()
1200 const Diagnostic &Info) { in HandleDiagnostic()
/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DSourceMgr.cpp335 void SourceMgr::PrintMessage(raw_ostream &OS, const SMDiagnostic &Diagnostic, in PrintMessage() argument
339 DiagHandler(Diagnostic, DiagContext); in PrintMessage()
343 if (Diagnostic.getLoc().isValid()) { in PrintMessage()
344 unsigned CurBuf = FindBufferContainingLoc(Diagnostic.getLoc()); in PrintMessage()
349 Diagnostic.print(nullptr, OS, ShowColors); in PrintMessage()
/freebsd/contrib/llvm-project/llvm/lib/FileCheck/
H A DFileCheckImpl.h489 SMDiagnostic Diagnostic;
496 : Diagnostic(Diag), Range(Range) {} in ErrorDiagnostic()
503 void log(raw_ostream &OS) const override { Diagnostic.print(nullptr, OS); } in log()
505 StringRef getMessage() const { return Diagnostic.getMessage(); } in getMessage()

123