/external/clang/lib/Frontend/ |
H A D | TextDiagnosticBuffer.cpp | 22 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 D | LogDiagnosticPrinter.cpp | 27 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,
|
/external/clang/tools/diagtool/ |
H A D | ShowEnabledWarnings.cpp | 30 DiagnosticsEngine::Level Level; 32 PrettyDiag(StringRef name, StringRef flag, DiagnosticsEngine::Level level) 43 static char getCharForLevel(DiagnosticsEngine::Level Level) { 45 case DiagnosticsEngine::Ignored: return ' '; 46 case DiagnosticsEngine::Note: return '-'; 47 case DiagnosticsEngine::Remark: return 'R'; 48 case DiagnosticsEngine::Warning: return 'W'; 49 case DiagnosticsEngine::Error: return 'E'; 50 case DiagnosticsEngine::Fatal: return 'F'; 56 static IntrusiveRefCntPtr<DiagnosticsEngine> [all...] |
/external/clang/include/clang/StaticAnalyzer/Frontend/ |
H A D | CheckerRegistration.h | 20 class DiagnosticsEngine; 27 ArrayRef<std::string> plugins, DiagnosticsEngine &diags);
|
H A D | AnalysisConsumer.h | 27 class DiagnosticsEngine;
|
/external/clang/include/clang/ARCMigrate/ |
H A D | FileRemapper.h | 26 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);
|
/external/clang/include/clang/Rewrite/Frontend/ |
H A D | ASTConsumers.h | 24 class DiagnosticsEngine; 32 DiagnosticsEngine &Diags, const LangOptions &LOpts, 36 DiagnosticsEngine &Diags, const LangOptions &LOpts,
|
H A D | FixItRewriter.h | 62 DiagnosticsEngine &Diags; 89 FixItRewriter(DiagnosticsEngine &Diags, SourceManager &SourceMgr, 118 /// reported by DiagnosticsEngine. 123 void HandleDiagnostic(DiagnosticsEngine::Level DiagLevel,
|
/external/clang/include/clang/Driver/ |
H A D | Util.h | 17 class DiagnosticsEngine;
|
/external/clang/include/clang/AST/ |
H A D | ASTDiagnostic.h | 27 /// \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,
|
/external/clang/tools/libclang/ |
H A D | CXStoredDiagnostic.cpp | 32 case DiagnosticsEngine::Ignored: return CXDiagnostic_Ignored; 33 case DiagnosticsEngine::Note: return CXDiagnostic_Note; 34 case DiagnosticsEngine::Remark: 36 case DiagnosticsEngine::Warning: return CXDiagnostic_Warning; 37 case DiagnosticsEngine::Error: return CXDiagnostic_Error; 38 case DiagnosticsEngine::Fatal: return CXDiagnostic_Fatal;
|
/external/clang/include/clang/CodeGen/ |
H A D | BackendUtil.h | 22 class DiagnosticsEngine; 37 EmitBackendOutput(DiagnosticsEngine &Diags, const CodeGenOptions &CGOpts,
|
H A D | ModuleBuilder.h | 26 class DiagnosticsEngine; 45 CodeGenerator *CreateLLVMCodeGen(DiagnosticsEngine &Diags,
|
/external/clang/lib/ARCMigrate/ |
H A D | PlistReporter.cpp | 19 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)
|
/external/clang/include/clang/Frontend/ |
H A D | DiagnosticRenderer.h | 68 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 D | SerializedDiagnosticPrinter.h | 23 class DiagnosticsEngine;
|
H A D | TextDiagnostic.h | 53 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 D | TextDiagnosticBuffer.h | 45 void HandleDiagnostic(DiagnosticsEngine::Level DiagLevel, 50 void FlushDiagnostics(DiagnosticsEngine &Diags) const;
|
H A D | Utils.h | 40 class DiagnosticsEngine; 184 IntrusiveRefCntPtr<DiagnosticsEngine> Diags = 185 IntrusiveRefCntPtr<DiagnosticsEngine>()); 191 DiagnosticsEngine *Diags = nullptr); 195 DiagnosticsEngine &Diags) { 201 DiagnosticsEngine *Diags = nullptr); 206 DiagnosticsEngine &Diags) {
|
/external/clang/lib/Basic/ |
H A D | Diagnostic.cpp | 48 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...] |
/external/clang/include/clang/Basic/ |
H A D | Diagnostic.h | 133 /// 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 D | PartialDiagnostic.h | 32 // 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 D | DiagnosticIDs.h | 23 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;
|
/external/clang/lib/StaticAnalyzer/Frontend/ |
H A D | CheckerRegistration.cpp | 38 static void warnIncompatible(DiagnosticsEngine *diags, StringRef pluginPath, 43 DiagnosticsEngine *diags = nullptr); 49 DiagnosticsEngine *diags) { 92 void ClangCheckerRegistry::warnIncompatible(DiagnosticsEngine *diags, 110 DiagnosticsEngine &diags) {
|
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
H A D | AnalysisManager.h | 36 DiagnosticsEngine &Diags; 49 AnalysisManager(ASTContext &ctx,DiagnosticsEngine &diags, 90 DiagnosticsEngine &getDiagnostic() override {
|