reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

Declarations

tools/clang/include/clang/Basic/Diagnostic.h
  846   inline DiagnosticBuilder Report(SourceLocation Loc, unsigned DiagID);

References

tools/clang/examples/AnnotateFunctions/AnnotateFunctions.cpp
   74       D.Report(PragmaTok.getLocation(), ID);
tools/clang/include/clang/AST/CommentLexer.h
  316     return Diags.Report(Loc, DiagID);
tools/clang/include/clang/AST/CommentParser.h
   48     return Diags.Report(Loc, DiagID);
tools/clang/include/clang/AST/CommentSema.h
   64     return Diags.Report(Loc, DiagID);
tools/clang/include/clang/Basic/Diagnostic.h
 1307   return Report(SourceLocation(), DiagID);
tools/clang/include/clang/Lex/Preprocessor.h
 1652     return Diags->Report(Loc, DiagID);
 1656     return Diags->Report(Tok.getLocation(), DiagID);
tools/clang/include/clang/Sema/Sema.h
 1394     DiagnosticBuilder DB = Diags.Report(Loc, DiagID);
tools/clang/lib/ARCMigrate/TransformActions.cpp
  684   return Diags.Report(loc, diagId) << range;
tools/clang/lib/AST/ASTImporter.cpp
 8730   return ToContext.getDiagnostics().Report(Loc, DiagID);
 8738   return FromContext.getDiagnostics().Report(Loc, DiagID);
tools/clang/lib/AST/ASTStructuralEquivalence.cpp
 1604   return FromCtx.getDiagnostics().Report(Loc, DiagID);
 1613   return ToCtx.getDiagnostics().Report(Loc, DiagID);
tools/clang/lib/AST/Decl.cpp
 4425       Context.getDiagnostics().Report(
 4430       Context.getDiagnostics().Report(
tools/clang/lib/AST/ExprConstant.cpp
 2474       Info.Ctx.getDiagnostics().Report(E->getExprLoc(),
tools/clang/lib/AST/Interp/State.cpp
   76   return getCtx().getDiagnostics().Report(Loc, DiagId);
tools/clang/lib/AST/ItaniumMangle.cpp
 3099   Diags.Report(T->getAttributeLoc(), DiagID);
 3174   Diags.Report(T->getAttributeLoc(), DiagID);
 3677       Diags.Report(E->getExprLoc(), DiagID)
 3703     Diags.Report(E->getExprLoc(), DiagID)
tools/clang/lib/AST/MicrosoftMangle.cpp
 1289     Diags.Report(Loc, DiagID);
 1412   Diags.Report(E->getExprLoc(), DiagID) << E->getStmtClassName()
 2142     Diags.Report(Range.getBegin(), DiagID)
 2433   Diags.Report(Range.getBegin(), DiagID)
 2544       Diags.Report(DSAT->getSizeExpr()->getExprLoc(), DiagID)
 2583   Diags.Report(Range.getBegin(), DiagID)
 2592   Diags.Report(Range.getBegin(), DiagID)
 2741   Diags.Report(Range.getBegin(), DiagID) << Range;
 2749   Diags.Report(Range.getBegin(), DiagID)
 2759   Diags.Report(Range.getBegin(), DiagID) << Range;
 2832   Diags.Report(Range.getBegin(), DiagID)
 2841   Diags.Report(Range.getBegin(), DiagID)
 2851   Diags.Report(Range.getBegin(), DiagID)
 2860   Diags.Report(Range.getBegin(), DiagID)
 2869   Diags.Report(Range.getBegin(), DiagID)
 2878   Diags.Report(Range.getBegin(), DiagID)
 2887   Diags.Report(Range.getBegin(), DiagID)
 2896   Diags.Report(Range.getBegin(), DiagID)
 2907   Diags.Report(Range.getBegin(), DiagID)
 2918   Diags.Report(Range.getBegin(), DiagID)
 2941   Diags.Report(Range.getBegin(), DiagID)
tools/clang/lib/AST/RecordLayoutBuilder.cpp
 2157   return Context.getDiagnostics().Report(Loc, DiagID);
tools/clang/lib/AST/VTableBuilder.cpp
 3165       Diags.Report(MostDerivedClass->getLocation(), DiagID)
 3507       Diags.Report(RD->getLocation(), diag::err_vftable_ambiguous_component)
 3509       Diags.Report(CovariantMD->getLocation(), diag::note_covariant_thunk)
 3511       Diags.Report(ConflictMD->getLocation(), diag::note_covariant_thunk)
tools/clang/lib/Basic/SourceManager.cpp
  152       Diag.Report(Loc, diag::err_file_too_large)
  186       Diag.Report(Loc, diag::err_cannot_open_file)
  204       Diag.Report(Loc, diag::err_file_modified)
  219     Diag.Report(Loc, diag::err_unsupported_bom)
tools/clang/lib/CodeGen/CGAtomic.cpp
  775     CGM.getDiags().Report(E->getBeginLoc(), diag::warn_atomic_op_misaligned)
tools/clang/lib/CodeGen/CGCXXABI.cpp
   26   Diags.Report(CGF.getContext().getFullLoc(CGF.CurCodeDecl->getLocation()),
tools/clang/lib/CodeGen/CGOpenMPRuntime.cpp
 4166         CGM.getDiags().Report(std::get<1>(E), DiagID) << FnName;
 4187           CGM.getDiags().Report(std::get<1>(E), DiagID) << std::get<2>(E);
10579     CGM.getDiags().Report(SLoc, DiagID);
10589     CGM.getDiags().Report(SLoc, DiagID);
10602       CGM.getDiags().Report(SLoc, DiagID) << WDS;
tools/clang/lib/CodeGen/CGStmt.cpp
 2080         CGM.getDiags().Report(S.getAsmLoc(),
 2194       CGM.getDiags().Report(S.getAsmLoc(), diag::err_asm_invalid_type_in_input)
tools/clang/lib/CodeGen/CodeGenAction.cpp
  461     Diags.Report(LocCookie, DiagID).AddString(Message);
  464       DiagnosticBuilder B = Diags.Report(Loc, diag::note_fe_inline_asm_here);
  479   Diags.Report(Loc, DiagID).AddString(Message);
  530     Diags.Report(LocCookie, DiagID).AddString(Message);
  537     Diags.Report(Loc, DiagID).AddString(Message);
  552     Diags.Report(ND->getASTContext().getFullLoc(ND->getLocation()),
  596     Diags.Report(Loc, diag::note_fe_backend_invalid_loc)
  613   Diags.Report(Loc, diag::err_fe_backend_unsupported) << D.getMessage().str();
  620     Diags.Report(Loc, diag::note_fe_backend_invalid_loc)
  632   Diags.Report(Loc, diag::warn_profile_data_misexpect) << D.getMsg().str();
  639     Diags.Report(Loc, diag::note_fe_backend_invalid_loc)
  662   Diags.Report(Loc, DiagID)
  671     Diags.Report(Loc, diag::note_fe_backend_invalid_loc)
  836   Diags.Report(Loc, DiagID).AddString(MsgStorage);
 1040   CI.getDiagnostics().Report(Loc, DiagID) << Msg;
 1067       CI.getDiagnostics().Report(SourceLocation(),
tools/clang/lib/CodeGen/CodeGenFunction.cpp
 2209       CGM.getDiags().Report(Loc, diag::err_builtin_needs_feature)
 2235       CGM.getDiags().Report(Loc, diag::err_function_needs_feature)
tools/clang/lib/CodeGen/CodeGenModule.cpp
  314       Diags.Report(Location, diag::err_cyclic_alias) << IsIFunc;
  317       Diags.Report(Location, diag::err_alias_to_undefined)
  325         Diags.Report(Location, diag::err_ifunc_resolver_return);
  338         Diags.Report(SA->getLocation(), diag::warn_alias_with_section)
  349         Diags.Report(Location, diag::warn_alias_to_weak_alias)
  730   getDiags().Report(Context.getFullLoc(loc), diagID) << message;
  739   getDiags().Report(Context.getFullLoc(S->getBeginLoc()), DiagID)
  749   getDiags().Report(Context.getFullLoc(D->getLocation()), DiagID) << Msg;
 3142         getDiags().Report(D->getLocation(), diag::err_duplicate_mangled_name)
 3144         getDiags().Report(OtherGD.getDecl()->getLocation(),
 3442         getDiags().Report(D->getLocation(), diag::err_duplicate_mangled_name)
 3444         getDiags().Report(OtherGD.getDecl()->getLocation(),
 4442     Diags.Report(AA->getLocation(), diag::err_cyclic_alias) << 0;
 4478       Diags.Report(AA->getLocation(), diag::err_cyclic_alias) << 0;
 4523     Diags.Report(IFA->getLocation(), diag::err_cyclic_alias) << 1;
 4533       Diags.Report(D->getLocation(), diag::err_duplicate_mangled_name)
 4535       Diags.Report(OtherGD.getDecl()->getLocation(),
 4552       Diags.Report(IFA->getLocation(), diag::err_cyclic_alias) << 1;
tools/clang/lib/CodeGen/MicrosoftCXXABI.cpp
 3011       Diags.Report(E->getExprLoc(), DiagID) << RD << E->getSourceRange();
tools/clang/lib/Edit/RewriteObjCFoundationAPI.cpp
 1101     Diags.Report(Msg->getExprLoc(), diagID) << OrigTy << FinalTy
tools/clang/lib/Frontend/CompilerInstance.cpp
 1136   ImportingInstance.getDiagnostics().Report(ImportLoc,
 1154   ImportingInstance.getDiagnostics().Report(ImportLoc,
 1255     Diags.Report(ModuleNameLoc, diag::err_module_not_built)
 1272       Diags.Report(ModuleNameLoc, diag::remark_module_lock_failure)
 1299         Diags.Report(ModuleNameLoc, diag::remark_module_lock_timeout)
 1606     getDiagnostics().Report(SourceLocation(), diag::warn_module_config_mismatch)
 1697       getDiagnostics().Report(ModuleNameLoc, diag::err_module_not_found)
 1710       getDiagnostics().Report(ModuleNameLoc, diag::err_module_build_disabled)
 1750           getDiagnostics().Report(ModuleNameLoc, diag::err_module_prebuilt)
 1789         getDiagnostics().Report(ModuleNameLoc, diag::err_module_cycle)
 1798         getDiagnostics().Report(ModuleNameLoc, diag::err_module_not_built)
 1825         getDiagnostics().Report(SourceLocation(),
 1884             getDiagnostics().Report(Path[I].second,
 1890             getDiagnostics().Report(Sub->DefinitionLoc,
 1919           getDiagnostics().Report(Path[I].second,
 1933         getDiagnostics().Report(Path[I].second, diag::err_no_submodule)
 1953       getDiagnostics().Report(ImportLoc, diag::warn_missing_submodule)
 1963       getDiagnostics().Report(ImportLoc, diag::note_module_import_here)
 2006     getDiagnostics().Report(ImportLoc, diag::err_fe_unable_to_open_output)
tools/clang/lib/Frontend/CompilerInvocation.cpp
  353         Diags.Report(SourceLocation(),
  359         Diags.Report(SourceLocation(),
tools/clang/lib/Frontend/FrontendAction.cpp
  122         Ctx.getDiagnostics().Report(Ctx.getFullLoc(D->getLocation()), DiagID)
  334     Diag.Report(MissingHeader.FileNameLoc, diag::err_module_header_missing)
tools/clang/lib/Frontend/Rewrite/FixItRewriter.cpp
  203   Diags.Report(Loc, DiagID);
tools/clang/lib/Frontend/Rewrite/RewriteModernObjC.cpp
  267         Diags.Report(Context->getFullLoc(Old->getBeginLoc()), RewriteFailedDiag)
  284       Diags.Report(Context->getFullLoc(Old->getBeginLoc()), RewriteFailedDiag)
  295       Diags.Report(Context->getFullLoc(Loc), RewriteFailedDiag);
  305       Diags.Report(Context->getFullLoc(Start), RewriteFailedDiag);
 1915     Diags.Report(Context->getFullLoc(S->getBeginLoc()),
 5247     Diags.Report(block->getLocation(), GlobalBlockRewriteFailedDiag);
tools/clang/lib/Frontend/Rewrite/RewriteObjC.cpp
  218         Diags.Report(Context->getFullLoc(Old->getBeginLoc()), RewriteFailedDiag)
  235       Diags.Report(Context->getFullLoc(Old->getBeginLoc()), RewriteFailedDiag)
  246       Diags.Report(Context->getFullLoc(Loc), RewriteFailedDiag);
  256       Diags.Report(Context->getFullLoc(Start), RewriteFailedDiag);
 1722     Diags.Report(Context->getFullLoc(S->getBeginLoc()),
tools/clang/lib/Frontend/TestModuleFileExtension.cpp
  120     Reader.getDiags().Report(Mod.ImportLoc,
tools/clang/lib/Frontend/VerifyDiagnosticConsumer.cpp
  305     Diags.Report(UD.ContentBegin, diag::err_verify_invalid_content)
  383         Diags.Report(M.UseLoc, diag::err_verify_ambiguous_marker) << Name;
  384         Diags.Report(M.DefLoc, diag::note_verify_ambiguous_marker) << Name;
  385         Diags.Report(M.RedefLoc, diag::note_verify_ambiguous_marker) << Name;
  390       Diags.Report(DeferredPair.second.front().DirectivePos,
  480         Diags.Report(Pos, diag::err_verify_invalid_no_diags)
  487       Diags.Report(Pos, diag::err_verify_invalid_no_diags)
  535           Diags.Report(Pos.getLocWithOffset(PH.C-PH.Begin),
  556         Diags.Report(Pos.getLocWithOffset(PH.C-PH.Begin),
  577           Diags.Report(Pos.getLocWithOffset(PH.C-PH.Begin),
  596       Diags.Report(Pos.getLocWithOffset(PH.C-PH.Begin),
  604       Diags.Report(Pos.getLocWithOffset(PH.C-PH.Begin),
  629       Diags.Report(D.ContentBegin, diag::err_verify_missing_regex) << D.Text;
tools/clang/lib/Lex/DependencyDirectivesSourceMinimizer.cpp
  112   Diags->Report(InputSourceLoc.getLocWithOffset(CurPtr - Input.data()), Err);
tools/clang/lib/Lex/HeaderSearch.cpp
  333       Diags.Report(IncludeLoc, diag::err_cannot_open_file)
  641     Diags.Report(IncludeLoc, diag::ext_pp_include_search_ms) << MSFE->getName();
  709     Diags.Report(IncludeLoc, diag::warn_quoted_include_in_framework_header)
  719     Diags.Report(IncludeLoc, diag::warn_framework_include_private_from_public)
tools/clang/lib/Lex/Lexer.cpp
 1486       Diags.Report(Range.getBegin(), diag::warn_c99_compat_unicode_id)
 1490       Diags.Report(Range.getBegin(), diag::warn_c99_compat_unicode_id)
 1501       Diags.Report(Range.getBegin(), diag::warn_cxx98_compat_unicode_id)
 1582       Diags.Report(Range.getBegin(), diag::warn_utf8_symbol_homoglyph)
 1585       Diags.Report(Range.getBegin(), diag::warn_utf8_symbol_zero_width)
tools/clang/lib/Lex/LiteralSupport.cpp
   84   return Diags->Report(Begin, DiagID) <<
 1503           Diags->Report(StringToks[i].getLocation(),
 1585             Diags->Report(TokLoc, diag::err_string_concat_mixed_suffix)
 1726         Diags->Report(StringToks.front().getLocation(),
 1738       Diags->Report(StringToks.front().getLocation(),
 1807     Diags->Report(Loc, diag::err_lexing_string);
tools/clang/lib/Lex/ModuleMap.cpp
  131       Diags.Report(Id[0].second, diag::err_mmap_missing_module_unqualified)
  142         Diags.Report(Id[I].second, diag::err_mmap_missing_module_qualified)
  239       Diags.Report(Header.FileNameLoc,
  259         Diags.Report(Header.FileNameLoc, diag::err_mmap_umbrella_clash)
  513     Diags.Report(FilenameLoc, diag::warn_use_of_private_header_outside_module)
  520     Diags.Report(FilenameLoc, diag::err_undeclared_use_of_module)
  531     Diags.Report(FilenameLoc, diag::err_undeclared_use_of_module)
  539     Diags.Report(FilenameLoc, DiagID) << RequestingModule->getFullModuleName()
 1553       Diags.Report(LToken.getLocation(), diag::err_invalid_string_udl);
 1586       Diags.Report(Tok.getLocation(), diag::err_mmap_unknown_token);
 1619     Diags.Report(Tok.getLocation(), diag::err_mmap_unknown_token);
 1687       Diags.Report(Tok.getLocation(), diag::err_mmap_expected_module_name);
 1730     auto D = Diags.Report(ActiveModule->DefinitionLoc,
 1751       Diags.Report(ActiveModule->DefinitionLoc,
 1774       Diags.Report(ActiveModule->DefinitionLoc,
 1829     Diags.Report(Tok.getLocation(), diag::err_mmap_expected_module);
 1850       Diags.Report(Id.front().second, diag::err_mmap_nested_submodule_id)
 1858     Diags.Report(ExplicitLoc, diag::err_mmap_explicit_top_level);
 1879         Diags.Report(Id[I].second, diag::err_mmap_missing_module_qualified)
 1883         Diags.Report(Id[I].second, diag::err_mmap_expected_module_name);
 1907     Diags.Report(Tok.getLocation(), diag::err_mmap_expected_lbrace)
 1935         Diags.Report(Tok.getLocation(), diag::err_mmap_expected_rbrace);
 1936         Diags.Report(LBraceLoc, diag::note_mmap_lbrace_match);
 1946       Diags.Report(ModuleNameLoc, diag::err_mmap_module_redefinition)
 1948       Diags.Report(Existing->DefinitionLoc, diag::note_mmap_prev_definition);
 2068       Diags.Report(Tok.getLocation(), diag::err_mmap_expected_member);
 2077     Diags.Report(Tok.getLocation(), diag::err_mmap_expected_rbrace);
 2078     Diags.Report(LBraceLoc, diag::note_mmap_lbrace_match);
 2112     Diags.Report(Tok.getLocation(), diag::err_mmap_expected_module);
 2128     Diags.Report(Tok.getLocation(), diag::err_mmap_expected_mmap_file);
 2206       Diags.Report(Tok.getLocation(), diag::err_mmap_expected_feature);
 2269       Diags.Report(Tok.getLocation(), diag::err_mmap_expected_header)
 2280     Diags.Report(Tok.getLocation(), diag::err_mmap_expected_header)
 2295     Diags.Report(Header.FileNameLoc, diag::err_mmap_umbrella_clash)
 2316           Diags.Report(Loc, diag::err_mmap_duplicate_header_attribute) << Str;
 2318           Diags.Report(Tok.getLocation(),
 2329           Diags.Report(Loc, diag::err_mmap_duplicate_header_attribute) << Str;
 2331           Diags.Report(Tok.getLocation(),
 2341         Diags.Report(Loc, diag::err_mmap_expected_header_attribute);
 2350       Diags.Report(Tok.getLocation(), diag::err_mmap_expected_rbrace);
 2351       Diags.Report(LBraceLoc, diag::note_mmap_lbrace_match);
 2360     Diags.Report(CurrModuleDeclLoc, diag::note_mmap_add_framework_keyword)
 2377     Diags.Report(Tok.getLocation(), diag::err_mmap_expected_header)
 2388     Diags.Report(DirNameLoc, diag::err_mmap_umbrella_clash)
 2408     Diags.Report(DirNameLoc, diag::warn_mmap_umbrella_dir_not_found)
 2440     Diags.Report(UmbrellaLoc, diag::err_mmap_umbrella_clash)
 2487     Diags.Report(Tok.getLocation(), diag::err_mmap_module_id);
 2507     Diags.Report(Tok.getLocation(), diag::err_mmap_module_id);
 2513     Diags.Report(Tok.getLocation(), diag::err_mmap_submodule_export_as);
 2520       Diags.Report(Tok.getLocation(), diag::warn_mmap_redundant_export_as)
 2523       Diags.Report(Tok.getLocation(), diag::err_mmap_conflicting_export_as)
 2547     Diags.Report(KWLoc, diag::err_mmap_use_decl_submodule);
 2569     Diags.Report(Tok.getLocation(), diag::err_mmap_expected_library_name)
 2594     Diags.Report(ConfigMacrosLoc, diag::err_mmap_config_macro_submodule);
 2626       Diags.Report(Tok.getLocation(), diag::err_mmap_expected_config_macro);
 2669     Diags.Report(Tok.getLocation(), diag::err_mmap_expected_conflicts_comma)
 2677     Diags.Report(Tok.getLocation(), diag::err_mmap_expected_conflicts_message)
 2704     Diags.Report(StarLoc, diag::err_mmap_top_level_inferred_submodule);
 2712       Diags.Report(StarLoc, diag::err_mmap_inferred_no_umbrella);
 2718       Diags.Report(StarLoc, diag::err_mmap_inferred_redef);
 2720         Diags.Report(ActiveModule->InferredSubmoduleLoc,
 2727       Diags.Report(StarLoc, diag::err_mmap_inferred_framework_submodule);
 2731     Diags.Report(StarLoc, diag::err_mmap_explicit_inferred_framework);
 2767     Diags.Report(Tok.getLocation(), diag::err_mmap_expected_lbrace_wildcard);
 2784         Diags.Report(Tok.getLocation(), diag::err_mmap_expected_inferred_member)
 2793         Diags.Report(Tok.getLocation(), diag::err_mmap_missing_exclude_name);
 2804         Diags.Report(Tok.getLocation(), diag::err_mmap_expected_inferred_member)
 2814         Diags.Report(Tok.getLocation(),
 2825       Diags.Report(Tok.getLocation(), diag::err_mmap_expected_inferred_member)
 2835     Diags.Report(Tok.getLocation(), diag::err_mmap_expected_rbrace);
 2836     Diags.Report(LBraceLoc, diag::note_mmap_lbrace_match);
 2862       Diags.Report(Tok.getLocation(), diag::err_mmap_expected_attribute);
 2879       Diags.Report(Tok.getLocation(), diag::warn_mmap_unknown_attribute)
 2903       Diags.Report(Tok.getLocation(), diag::err_mmap_expected_rsquare);
 2904       Diags.Report(LSquareLoc, diag::note_mmap_lsquare_match);
 2956       Diags.Report(Tok.getLocation(), diag::err_mmap_expected_module);
tools/clang/lib/Lex/PPDirectives.cpp
 1655     Diags.Report(MissingHeader.FileNameLoc, diag::err_module_header_missing)
 1658     Diags.Report(M->DefinitionLoc, diag::err_module_shadowed) << M->Name;
 1659     Diags.Report(ShadowingModule->DefinitionLoc,
 1664     Diags.Report(M->DefinitionLoc, diag::err_module_unavailable)
tools/clang/lib/Parse/Parser.cpp
   73   return Diags.Report(Loc, DiagID);
 2359       Diags.Report(AtLoc, diag::warn_atimport_in_framework_header);
tools/clang/lib/Sema/Sema.cpp
 1402         S.Diags.Report(FnIt->second.Loc, diag::note_called_by));
 1422     DiagnosticBuilder Builder(S.Diags.Report(Loc, PD.getDiagID()));
tools/clang/lib/Sema/SemaAttr.cpp
  839   Diags.Report(PragmaAttributeCurrentTargetDecl->getBeginLoc(),
tools/clang/lib/Sema/SemaTemplateInstantiate.cpp
  483         Diags.Report(Active->PointOfInstantiation,
  497         Diags.Report(Active->PointOfInstantiation, DiagID)
  505         Diags.Report(Active->PointOfInstantiation, DiagID)
  509         Diags.Report(Active->PointOfInstantiation,
  516         Diags.Report(Active->PointOfInstantiation,
  521         Diags.Report(Active->PointOfInstantiation,
  525         Diags.Report(Active->PointOfInstantiation,
  540       Diags.Report(Active->PointOfInstantiation,
  549       Diags.Report(Active->PointOfInstantiation,
  562         Diags.Report(Active->PointOfInstantiation,
  587         Diags.Report(Active->PointOfInstantiation,
  606       Diags.Report(Active->PointOfInstantiation,
  626       Diags.Report(Active->PointOfInstantiation,
  646       Diags.Report(Active->PointOfInstantiation,
  656       Diags.Report(Active->PointOfInstantiation,
  662       Diags.Report(Active->PointOfInstantiation,
  669       Diags.Report(Active->PointOfInstantiation,
  679         Diags.Report(Active->PointOfInstantiation,
  687       Diags.Report(Active->Entity->getLocation(),
  701         Diags.Report(Active->PointOfInstantiation,
  713       Diags.Report(Active->PointOfInstantiation,
tools/clang/lib/Serialization/ASTReader.cpp
 9713   return Diags.Report(Loc, DiagID);
tools/clang/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp
  118             Diag.Report(Loc, ID) << String << Ranges << Fixits;
  120             Diag.Report(Loc, ID) << String << Ranges;
  132               Diag.Report(Loc, RemarkID) << OS.str();
tools/clang/lib/Tooling/Refactoring/Rename/USRFindingAction.cpp
  210       Engine.Report(SourceLocation(), InvalidOffset)
  227         Engine.Report(Point, CouldNotFindSymbolAt) << SymbolOffset;
tools/clang/tools/clang-refactor/ClangRefactor.cpp
  326         getDiags().Report(Diag->first, Diag->second.getDiagID()));
tools/clang/tools/extra/clang-reorder-fields/ReorderFieldsAction.cpp
  194         DiagEngine.Report(Initializer->getSourceLocation(), ID);
tools/clang/tools/extra/clang-tidy/ClangTidy.cpp
  129       auto Diag = Diags.Report(Loc, Diags.getCustomDiagID(Level, "%0 [%1]"))
  178       Diags.Report(Fix.first, Fix.second ? diag::note_fixit_applied
  273         Diags.Report(Loc, Diags.getCustomDiagID(DiagnosticsEngine::Note, "%0"))
tools/clang/tools/extra/clang-tidy/ClangTidyDiagnosticConsumer.cpp
  166   return DiagEngine->Report(Loc, ID);
  473   auto builder = ExternalDiagEngine->Report(Info.getLocation(), ExternalID);