/external/clang/tools/libclang/ |
CIndexDiagnostic.h | 23 const StoredDiagnostic &Diag; 26 CXStoredDiagnostic(const StoredDiagnostic &Diag, 28 : Diag(Diag), LangOpts(LangOpts) { }
|
CIndexCodeCompletion.cpp | 229 /// \brief Diag object 230 llvm::IntrusiveRefCntPtr<DiagnosticsEngine> Diag; 287 Diag(new DiagnosticsEngine( 291 SourceMgr(new SourceManager(*Diag, *FileMgr)), 689 *Results->Diag, Results->LangOpts, *Results->SourceMgr, [all...] |
/external/llvm/tools/llvm-diff/ |
llvm-diff.cpp | 38 SMDiagnostic Diag; 39 Module *M = ParseIRFile(Name, Diag, Context); 41 Diag.print("llvm-diff", errs());
|
/external/clang/lib/StaticAnalyzer/Core/ |
TextPathDiagnostics.cpp | 28 DiagnosticsEngine &Diag; 31 TextPathDiagnostics(const std::string& output, DiagnosticsEngine &diag) 32 : OutputFile(output), Diag(diag) {} 66 unsigned diagID = Diag.getDiagnosticIDs()->getCustomDiagID( 68 Diag.Report(I->getLocation().asLocation(), diagID);
|
BugReporter.cpp | [all...] |
/external/clang/unittests/AST/ |
APValueTest.cpp | 43 DiagnosticsEngine Diag; 49 Diag(DiagIDs, &LastDiagnostic, false) { 54 Diag.Report(diag_just_format) << value;
|
/external/clang/lib/Rewrite/ |
FixItRewriter.cpp | 54 Diag(FullSourceLoc(), diag::warn_fixit_no_changes); 65 Diags.Report(clang::diag::err_fe_unable_to_open_output) 107 Diag(Info.getLocation(), diag::note_fixit_in_macro); 113 Diag(Info.getLocation(), diag::note_fixit_unfixed_error); 139 Diag(Info.getLocation(), diag::note_fixit_failed); 143 Diag(Info.getLocation(), diag::note_fixit_applied) [all...] |
/external/clang/tools/scan-build/ |
scan-build | 49 sub Diag { 61 Diag ("The analyzer encountered problems on some source files.\n"); 62 Diag ("Preprocessed versions of these sources were deposited in '$Dir/failures'.\n"); 63 Diag ("Please consider submitting a bug report using these files:\n"); 64 Diag (" http://clang-analyzer.llvm.org/filing_bugs.html\n") 210 Diag("Emitting reports for this run to '$Dir'.\n"); 485 Diag("No bugs found.\n"); 494 Diag("Removing directory '$Dir' because it contains no reports.\n"); 820 Diag("$Num bugs found.\n"); 822 Diag("Run 'scan-view $Dir' to examine bug reports.\n") [all...] |
/external/clang/include/clang/AST/ |
DependentDiagnostic.h | 93 return Diag; 99 : Diag(PDiag, Storage) {} 109 PartialDiagnostic Diag; 140 assert(Ptr && "attempt to increment past end of diag list");
|
Expr.h | 434 /// Diag - If the expression is unfoldable, then Diag contains a note 439 /// Diag contains a note diagnostic that describes why it isn't an integer 441 /// expression, then Diag will be zero. 442 unsigned Diag; 446 EvalStatus() : HasSideEffects(false), Diag(0), DiagExpr(0) {} [all...] |
/external/clang/include/clang/Driver/ |
Driver.h | 53 // Diag - Forwarding function for diagnostics. 54 DiagnosticBuilder Diag(unsigned DiagID) const {
|
/external/clang/include/clang/Sema/ |
DelayedDiagnostic.h | 50 BaseObjectType(BaseObjectType), Diag(0, Context.getDiagAllocator()) { 61 Diag(0, Context.getDiagAllocator()) { 64 bool isQuiet() const { return Diag.getDiagID() == 0; } 90 Diag = PDiag; 95 Diag.Reset(DiagID); 96 return Diag; 99 return Diag; 108 PartialDiagnostic Diag; 173 /// Diag(diag.Loc, diag.getForbiddenTypeDiagnostic() [all...] |
/external/clang/lib/Sema/ |
DeclSpec.cpp | 32 static DiagnosticBuilder Diag(DiagnosticsEngine &D, SourceLocation Loc, 326 DiagID = (TNew == TPrev ? diag::ext_duplicate_declspec 327 : diag::err_invalid_decl_spec_combination); 433 DiagID = diag::err_not_opencl_storage_class_specifier; 474 DiagID = diag::ext_duplicate_declspec; 499 DiagID = diag::warn_vector_long_decl_spec_combination; 541 DiagID = diag::err_invalid_decl_spec_combination; 560 DiagID = diag::err_invalid_decl_spec_combination; 588 DiagID = diag::err_invalid_decl_spec_combination; 606 DiagID = diag::err_invalid_decl_spec_combination [all...] |
Sema.cpp | 381 S.Diag(decl->getLocation(), diag::warn_undefined_internal) 383 S.Diag(i->useLoc, diag::note_used_here); 466 Diag(I->second.getLocation(), diag::warn_weak_identifier_undeclared) 505 diag::err_tentative_def_incomplete_type_arr)) { 511 Diag(VD->getLocation(), diag::warn_tentative_incomplete_array); 517 diag::err_tentative_def_incomplete_type) [all...] |
SemaTemplate.cpp | 226 Diag(IILoc, diag::err_template_kw_missing) 310 Diag(Found.getNameLoc(), diag::err_no_member_template_suggest) 314 Diag(Found.getNameLoc(), diag::err_no_template_suggest) 318 Diag(Template->getLocation(), diag::note_previous_decl) 360 Diag(Found.getNameLoc(), 361 diag::ext_nested_name_member_ref_lookup_ambiguous [all...] |
SemaExpr.cpp | 84 S.Diag(Loc, diag::err_unavailable) << D->getDeclName(); 86 S.Diag(Loc, diag::warn_unavailable_fwdclass_message) 90 S.Diag(Loc, diag::err_unavailable_message) 92 S.Diag(D->getLocation(), diag::note_unavailable_here) 122 Diag(Suppressed[I].first, Suppressed[I].second); 134 Diag(Loc, diag::err_auto_variable_cannot_appear_in_own_initializer [all...] |
/external/clang/lib/Parse/ |
Parser.cpp | 96 DiagnosticBuilder Parser::Diag(SourceLocation Loc, unsigned DiagID) { 100 DiagnosticBuilder Parser::Diag(const Token &Tok, unsigned DiagID) { 101 return Diag(Tok.getLocation(), DiagID); 116 Diag(Loc, DK); 120 Diag(Loc, DK) 148 Diag(Loc, DiagID) 163 Diag(EndLoc, DiagID) 167 Diag(Tok, DiagID) << Msg; 182 Diag(Tok, diag::err_extraneous_token_before_semi [all...] |
/external/clang/include/clang/Basic/ |
Diagnostic.h | 169 /// (an instance of diag::Mapping), or zero if unset. The high bit is set 186 void setMappingInfo(diag::kind Diag, DiagnosticMappingInfo Info) { 187 DiagMap[Diag] = Info; 190 DiagnosticMappingInfo &getOrAddMappingInfo(diag::kind Diag); 441 void setDiagnosticMapping(diag::kind Diag, diag::Mapping Map, 450 bool setDiagnosticGroupMapping(StringRef Group, diag::Mapping Map [all...] |
SourceManager.h | 109 /// \param Diag Object through which diagnostics will be emitted if the 116 const llvm::MemoryBuffer *getBuffer(DiagnosticsEngine &Diag, 477 DiagnosticsEngine &Diag; 578 SourceManager(DiagnosticsEngine &Diag, FileManager &FileMgr); 583 DiagnosticsEngine &getDiagnostics() const { return Diag; } 715 return Entry.getFile().getContentCache()->getBuffer(Diag, *this, Loc, 729 return Entry.getFile().getContentCache()->getBuffer(Diag, *this, [all...] |
/external/clang/lib/AST/ |
RecordLayoutBuilder.cpp | 714 DiagnosticBuilder Diag(SourceLocation Loc, unsigned DiagID); [all...] |
/external/clang/include/clang/Lex/ |
Preprocessor.h | 753 /// Diag - Forwarding function for diagnostics. This emits a diagnostic at 756 DiagnosticBuilder Diag(SourceLocation Loc, unsigned DiagID) const { 760 DiagnosticBuilder Diag(const Token &Tok, unsigned DiagID) const { [all...] |
/external/clang/lib/Lex/ |
Lexer.cpp | [all...] |
/external/clang/lib/CodeGen/ |
CGDebugInfo.cpp | [all...] |
/external/clang/tools/c-index-test/ |
c-index-test.c | 420 CXDiagnostic Diag = clang_getDiagnostic(TU, i); 421 PrintDiagnostic(Diag); 422 clang_disposeDiagnostic(Diag); 1246 CXDiagnostic diag = clang_codeCompleteGetDiagnostic(results, i); local [all...] |