/external/clang/lib/Lex/ |
Preprocessor.cpp | 109 SetPoisonReason(Ident__VA_ARGS__,diag::ext_pp_bad_vaargs_use); 604 Diag(Identifier, diag::err_pp_used_poisoned_id); 606 Diag(Identifier,it->second) << Identifier.getIdentifierInfo(); 659 Diag(Identifier, diag::pp_disabled_macro_expansion); 670 Diag(Identifier, diag::warn_cxx11_keyword) << II.getName(); 686 Diag(Identifier, diag::ext_token_used) [all...] |
MacroArgs.cpp | 264 PP.Diag(ArgToks[-1], diag::pp_invalid_string_literal); 285 PP.Diag(ArgTokStart[0], diag::err_invalid_character_to_charify);
|
/external/llvm/unittests/Support/ |
YAMLParserTest.cpp | 25 // Assumes Ctx is an SMDiagnostic where Diag can be stored. 26 static void CollectDiagnosticsOutput(const SMDiagnostic &Diag, void *Ctx) { 28 *DiagOut = Diag;
|
/external/clang/lib/AST/ |
ExprConstant.cpp | 347 PartialDiagnostic *Diag; 350 explicit OptionalDiagnostic(PartialDiagnostic *Diag = 0) : Diag(Diag) {} 354 if (Diag) 355 *Diag << v; 360 if (Diag) { 363 *Diag << StringRef(Buffer.data(), Buffer.size()); 369 if (Diag) { 372 *Diag << StringRef(Buffer.data(), Buffer.size()) [all...] |
CommentParser.cpp | 445 Diag(Tok.getLocation(), 446 diag::warn_doc_html_start_tag_expected_quoted_string) 484 Diag(Tok.getLocation(), 485 diag::warn_doc_html_start_tag_expected_ident_or_greater); 515 Diag(Tok.getLocation(), 516 diag::warn_doc_html_start_tag_expected_ident_or_greater) 519 Diag(Tok.getLocation(), 520 diag::warn_doc_html_start_tag_expected_ident_or_greater); 521 Diag(HST->getLocation(), diag::note_doc_html_tag_started_here [all...] |
/external/clang/include/clang/AST/ |
CommentParser.h | 48 DiagnosticBuilder Diag(SourceLocation Loc, unsigned DiagID) {
|
/external/clang/lib/Sema/ |
SemaTemplateVariadic.cpp | 241 = Names.size() == 0? Diag(Loc, diag::err_unexpanded_parameter_pack_0) 243 : Names.size() == 1? Diag(Loc, diag::err_unexpanded_parameter_pack_1) 245 : Names.size() == 2? Diag(Loc, diag::err_unexpanded_parameter_pack_2) 247 : Diag(Loc, diag::err_unexpanded_parameter_pack_3_or_more) 434 Diag(EllipsisLoc, diag::err_pack_expansion_without_parameter_packs [all...] |
JumpDiagnostics.cpp | 128 InDiag = diag::note_protected_by_vla; 131 return ScopePair(diag::note_protected_by___block, 132 diag::note_exits___block); 135 return ScopePair(diag::note_protected_by_cleanup, 136 diag::note_exits_cleanup); 147 return ScopePair(diag::note_protected_by_objc_ownership, 148 diag::note_exits_objc_ownership); 184 return ScopePair(diag::note_protected_by_variable_init, 0); 192 return ScopePair(diag::note_protected_by_variable_init, 0); 198 OutDiag = diag::note_exits_dtor [all...] |
SemaOverload.cpp | 609 PartialDiagnosticAt *Diag = new (Result.Diagnostic) PartialDiagnosticAt( 611 Info.takeSFINAEDiagnostic(*Diag); 649 if (PartialDiagnosticAt *Diag = getSFINAEDiagnostic()) { 650 Diag->~PartialDiagnosticAt(); [all...] |
SemaTemplateInstantiateDecl.cpp | 344 SemaRef.Diag(D->getLocation(), diag::err_variable_instantiates_to_function) 393 SemaRef.Diag(D->getLocation(), diag::err_field_instantiates_to_function) 463 SemaRef.Diag(D->getLocation(), diag::err_property_is_variably_modified) 479 SemaRef.Diag(D->getLocation(), diag::err_field_instantiates_to_function) 808 SemaRef.Diag(Pattern->getLocation(), diag::err_not_tag_in_scope [all...] |
SemaAccess.cpp | 51 Diag(MemberDecl->getLocation(), 52 diag::err_class_redeclared_with_different_access) 54 Diag(PrevMemberDecl->getLocation(), diag::note_previous_access_declaration) [all...] |
SemaTemplateInstantiate.cpp | 468 SemaRef.Diag(PointOfInstantiation, 469 diag::err_template_recursion_depth_exceeded) 472 SemaRef.Diag(PointOfInstantiation, diag::note_template_recursion_depth) 500 diag::note_instantiation_contexts_suppressed) 510 unsigned DiagID = diag::note_template_member_class_here; 512 DiagID = diag::note_template_class_instantiation_here; 519 DiagID = diag::note_function_template_spec_here; 521 DiagID = diag::note_template_member_function_here; 527 diag::note_template_static_data_member_def_here [all...] |
/external/clang/lib/StaticAnalyzer/Frontend/ |
AnalysisConsumer.cpp | 80 DiagnosticsEngine &Diag; 82 ClangDiagPathDiagConsumer(DiagnosticsEngine &Diag) : Diag(Diag) {} 102 unsigned ErrorDiag = Diag.getCustomDiagID(DiagnosticsEngine::Warning, 105 DiagnosticBuilder diagBuilder = Diag.Report(L, ErrorDiag);
|
/external/clang/lib/Driver/ |
Compilation.cpp | 229 getDriver().Diag(clang::diag::err_drv_unable_to_remove_file) 280 getDriver().Diag(clang::diag::err_drv_cc_print_options_failure) 304 getDriver().Diag(clang::diag::err_drv_command_failure) << Error;
|
ToolChain.cpp | 277 getDriver().Diag(diag::err_drv_clang_unsupported) 301 getDriver().Diag(diag::err_drv_invalid_rtlib_name) 315 getDriver().Diag(diag::err_drv_invalid_stdlib_name)
|
SanitizerArgs.h | 132 D.Diag(diag::err_drv_unsupported_option_argument) 178 D.Diag(diag::warn_drv_deprecated_arg)
|