Searched refs:DiagnosticsEngine (Results 1 - 25 of 141) sorted by relevance

123456

/freebsd-11.0-release/contrib/llvm/tools/clang/lib/Frontend/
H A DTextDiagnosticBuffer.cpp22 void TextDiagnosticBuffer::HandleDiagnostic(DiagnosticsEngine::Level Level,
32 case DiagnosticsEngine::Note:
35 case DiagnosticsEngine::Warning:
38 case DiagnosticsEngine::Remark:
41 case DiagnosticsEngine::Error:
42 case DiagnosticsEngine::Fatal:
48 void TextDiagnosticBuffer::FlushDiagnostics(DiagnosticsEngine &Diags) const {
51 Diags.Report(Diags.getCustomDiagID(DiagnosticsEngine::Error, "%0"))
54 Diags.Report(Diags.getCustomDiagID(DiagnosticsEngine::Warning, "%0"))
57 Diags.Report(Diags.getCustomDiagID(DiagnosticsEngine
[all...]
H A DLogDiagnosticPrinter.cpp27 static StringRef getLevelName(DiagnosticsEngine::Level Level) {
29 case DiagnosticsEngine::Ignored: return "ignored";
30 case DiagnosticsEngine::Remark: return "remark";
31 case DiagnosticsEngine::Note: return "note";
32 case DiagnosticsEngine::Warning: return "warning";
33 case DiagnosticsEngine::Error: return "error";
34 case DiagnosticsEngine::Fatal: return "fatal error";
36 llvm_unreachable("Invalid DiagnosticsEngine level!");
112 void LogDiagnosticPrinter::HandleDiagnostic(DiagnosticsEngine::Level Level,
H A DTextDiagnosticPrinter.cpp55 DiagnosticsEngine::Level Level,
75 if (Level == DiagnosticsEngine::Error &&
85 << (Level == DiagnosticsEngine::Remark ? "-R" : "-W") << Opt;
112 void TextDiagnosticPrinter::HandleDiagnostic(DiagnosticsEngine::Level Level,
/freebsd-11.0-release/contrib/llvm/tools/clang/include/clang/StaticAnalyzer/Frontend/
H A DCheckerRegistration.h20 class DiagnosticsEngine;
27 ArrayRef<std::string> plugins, DiagnosticsEngine &diags);
H A DAnalysisConsumer.h27 class DiagnosticsEngine;
/freebsd-11.0-release/contrib/llvm/tools/clang/include/clang/ARCMigrate/
H A DFileRemapper.h26 class DiagnosticsEngine;
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-11.0-release/contrib/llvm/tools/clang/include/clang/Rewrite/Frontend/
H A DASTConsumers.h24 class DiagnosticsEngine;
32 DiagnosticsEngine &Diags, const LangOptions &LOpts,
36 DiagnosticsEngine &Diags, const LangOptions &LOpts,
H A DFixItRewriter.h62 DiagnosticsEngine &Diags;
89 FixItRewriter(DiagnosticsEngine &Diags, SourceManager &SourceMgr,
118 /// reported by DiagnosticsEngine.
123 void HandleDiagnostic(DiagnosticsEngine::Level DiagLevel,
/freebsd-11.0-release/contrib/llvm/tools/clang/include/clang/Driver/
H A DUtil.h17 class DiagnosticsEngine;
/freebsd-11.0-release/contrib/llvm/tools/clang/include/clang/AST/
H A DASTDiagnostic.h27 /// \brief DiagnosticsEngine argument formatting function for diagnostics that
34 /// \c DiagnosticsEngine::SetArgToStringFn(), where the cookie is an \c
37 DiagnosticsEngine::ArgumentKind Kind,
41 ArrayRef<DiagnosticsEngine::ArgumentValue> PrevArgs,
/freebsd-11.0-release/contrib/llvm/tools/clang/lib/ARCMigrate/
H A DPlistReporter.cpp19 static StringRef getLevelName(DiagnosticsEngine::Level Level) {
21 case DiagnosticsEngine::Ignored:
23 case DiagnosticsEngine::Note:
25 case DiagnosticsEngine::Remark:
26 case DiagnosticsEngine::Warning:
28 case DiagnosticsEngine::Fatal:
29 case DiagnosticsEngine::Error:
32 llvm_unreachable("Invalid DiagnosticsEngine level!");
87 if (D.getLevel() == DiagnosticsEngine::Ignored)
/freebsd-11.0-release/contrib/llvm/tools/clang/include/clang/CodeGen/
H A DBackendUtil.h22 class DiagnosticsEngine;
36 void EmitBackendOutput(DiagnosticsEngine &Diags, const CodeGenOptions &CGOpts,
H A DModuleBuilder.h26 class DiagnosticsEngine;
45 CodeGenerator *CreateLLVMCodeGen(DiagnosticsEngine &Diags,
/freebsd-11.0-release/contrib/llvm/tools/clang/include/clang/Frontend/
H A DDiagnosticRenderer.h68 DiagnosticsEngine::Level LastLevel;
76 DiagnosticsEngine::Level Level,
83 DiagnosticsEngine::Level Level,
88 DiagnosticsEngine::Level Level,
103 DiagnosticsEngine::Level Level) {}
105 DiagnosticsEngine::Level Level) {}
111 DiagnosticsEngine::Level Level, const SourceManager &SM);
117 void emitCaret(SourceLocation Loc, DiagnosticsEngine::Level Level,
121 DiagnosticsEngine::Level Level,
125 DiagnosticsEngine
[all...]
H A DSerializedDiagnosticPrinter.h23 class DiagnosticsEngine;
H A DTextDiagnostic.h53 DiagnosticsEngine::Level Level,
79 DiagnosticsEngine::Level Level,
86 DiagnosticsEngine::Level Level,
91 DiagnosticsEngine::Level Level,
110 void emitSnippetAndCaret(SourceLocation Loc, DiagnosticsEngine::Level Level,
H A DTextDiagnosticBuffer.h45 void HandleDiagnostic(DiagnosticsEngine::Level DiagLevel,
50 void FlushDiagnostics(DiagnosticsEngine &Diags) const;
H A DUtils.h40 class DiagnosticsEngine;
184 IntrusiveRefCntPtr<DiagnosticsEngine> Diags =
185 IntrusiveRefCntPtr<DiagnosticsEngine>());
191 DiagnosticsEngine *Diags = nullptr);
195 DiagnosticsEngine &Diags) {
201 DiagnosticsEngine *Diags = nullptr);
206 DiagnosticsEngine &Diags) {
/freebsd-11.0-release/contrib/llvm/tools/clang/lib/Basic/
H A DDiagnostic.cpp48 static void DummyArgToStringFn(DiagnosticsEngine::ArgumentKind AK, intptr_t QT,
50 ArrayRef<DiagnosticsEngine::ArgumentValue> PrevArgs,
58 DiagnosticsEngine::DiagnosticsEngine( function in class:DiagnosticsEngine
86 DiagnosticsEngine::~DiagnosticsEngine() {
92 void DiagnosticsEngine::setClient(DiagnosticConsumer *client,
98 void DiagnosticsEngine::pushMappings(SourceLocation Loc) {
102 bool DiagnosticsEngine::popMappings(SourceLocation Loc) {
114 void DiagnosticsEngine
[all...]
/freebsd-11.0-release/contrib/llvm/tools/clang/include/clang/Basic/
H A DDiagnostic.h133 /// the user. DiagnosticsEngine is tied to one translation unit and one
135 class DiagnosticsEngine : public RefCountedBase<DiagnosticsEngine> { class in namespace:clang
136 DiagnosticsEngine(const DiagnosticsEngine &) = delete;
137 void operator=(const DiagnosticsEngine &) = delete;
346 explicit DiagnosticsEngine(
351 ~DiagnosticsEngine();
371 /// \brief Determine whether this \c DiagnosticsEngine object own its client.
386 // DiagnosticsEngine characterizatio
[all...]
H A DPartialDiagnostic.h32 // DiagnosticsEngine are private but DiagnosticsEngine declares
35 MaxArguments = DiagnosticsEngine::MaxArguments
215 if (Other.getArgKind(I) == DiagnosticsEngine::ak_std_string)
267 void AddTaggedVal(intptr_t V, DiagnosticsEngine::ArgumentKind Kind) const {
284 = DiagnosticsEngine::ak_std_string;
294 if ((DiagnosticsEngine::ArgumentKind)DiagStorage->DiagArgumentsKind[i]
295 == DiagnosticsEngine::ak_std_string)
299 (DiagnosticsEngine::ArgumentKind)DiagStorage->DiagArgumentsKind[i]);
311 void EmitToString(DiagnosticsEngine
[all...]
H A DDiagnosticIDs.h23 class DiagnosticsEngine;
256 /// DiagnosticsEngine object.
262 const DiagnosticsEngine &Diag) const LLVM_READONLY;
266 const DiagnosticsEngine &Diag) const LLVM_READONLY;
272 bool ProcessDiag(DiagnosticsEngine &Diag) const;
276 void EmitDiag(DiagnosticsEngine &Diag, Level DiagLevel) const;
282 friend class DiagnosticsEngine;
/freebsd-11.0-release/contrib/llvm/tools/clang/lib/StaticAnalyzer/Frontend/
H A DCheckerRegistration.cpp38 static void warnIncompatible(DiagnosticsEngine *diags, StringRef pluginPath,
43 DiagnosticsEngine *diags = nullptr);
49 DiagnosticsEngine *diags) {
89 void ClangCheckerRegistry::warnIncompatible(DiagnosticsEngine *diags,
107 DiagnosticsEngine &diags) {
/freebsd-11.0-release/contrib/llvm/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DAnalysisManager.h36 DiagnosticsEngine &Diags;
49 AnalysisManager(ASTContext &ctx,DiagnosticsEngine &diags,
90 DiagnosticsEngine &getDiagnostic() override {
/freebsd-11.0-release/contrib/llvm/tools/clang/tools/driver/
H A Dcc1_main.cpp47 DiagnosticsEngine &Diags = *static_cast<DiagnosticsEngine*>(UserData);
91 DiagnosticsEngine Diags(DiagID, &*DiagOpts, DiagsBuffer);

Completed in 213 milliseconds

123456