/freebsd-10.2-release/contrib/llvm/tools/clang/lib/AST/ |
H A D | CommentSema.cpp | 85 Diag(Command->getLocation(), 120 Diag(Comment->getLocation(), diag::warn_doc_function_method_decl_mismatch) 157 Diag(Comment->getLocation(), diag::warn_doc_api_container_decl_mismatch) 207 Diag(Comment->getLocation(), diag::warn_doc_container_decl_mismatch) 241 Diag(ArgLocBegin, diag::warn_doc_param_spaces_in_direction) 244 Diag(ArgLocBegin, diag::warn_doc_param_invalid_direction) << ArgRange; 286 Diag(Command->getLocation(), 320 Diag(ArgLocBegin, diag::warn_doc_tparam_duplicate) 322 Diag(PrevCommand->getLocation(), diag::note_doc_tparam_previous) 330 Diag(ArgLocBegi [all...] |
/freebsd-10.2-release/contrib/llvm/tools/clang/lib/Parse/ |
H A D | Parser.cpp | 118 DiagnosticBuilder Parser::Diag(SourceLocation Loc, unsigned DiagID) { function in class:Parser 122 DiagnosticBuilder Parser::Diag(const Token &Tok, unsigned DiagID) { function in class:Parser 123 return Diag(Tok.getLocation(), DiagID); 138 Diag(Loc, DK); 142 Diag(Loc, DK) 171 Diag(Loc, DiagID) 186 Diag(EndLoc, DiagID) 190 Diag(Tok, DiagID) << Msg; 205 Diag(Tok, diag::err_extraneous_token_before_semi) 234 Diag(StartLo [all...] |
H A D | ParseDeclCXX.cpp | 94 Diag(Tok, diag::err_expected_ident); 100 Diag(attrTok, diag::err_unexpected_namespace_attributes_alias); 102 Diag(InlineLoc, diag::err_inline_namespace_alias) 111 Diag(ExtraNamespaceLoc[0], diag::err_nested_namespaces_with_double_colon) 114 Diag(Tok, Ident ? diag::err_expected_lbrace : 123 Diag(ExtraNamespaceLoc[0], diag::err_nested_namespaces_with_double_colon) 126 Diag(T.getOpenLocation(), diag::err_namespace_nonnamespace_scope); 138 Diag(ExtraNamespaceLoc[0], diag::err_nested_namespaces_with_double_colon) 152 Diag(ExtraNamespaceLoc[0], diag::err_nested_namespaces_with_double_colon) 162 Diag(InlineLo [all...] |
H A D | ParseDecl.cpp | 400 Diag(Tok.getLocation(), diag::err_expected_lparen_after) 422 Diag(Loc, diag::err_ms_property_no_getter_or_putter); 426 Diag(Tok.getLocation(), diag::err_ms_property_unknown_accessor); 440 Diag(KindLoc, diag::err_ms_property_has_set_accessor) 447 Diag(KindLoc, diag::err_ms_property_missing_accessor_kind); 454 Diag(KindLoc, diag::err_ms_property_unknown_accessor); 469 Diag(Tok.getLocation(), diag::err_ms_property_expected_equal) 476 Diag(Tok.getLocation(), diag::err_ms_property_expected_accessor_name); 484 Diag(KindLoc, diag::err_ms_property_duplicate_accessor) << KindStr; 500 Diag(To [all...] |
H A D | ParseStmt.cpp | 227 Diag(Tok, diag::err_expected_statement); 331 Diag(Tok, diag::err_pragma_fp_contract_scope); 386 Diag(OldToken, diag::err_expected_case_before_expression) 415 return StmtError(Diag(Tok,diag::err_expected_lbrace)); 430 return StmtError(Diag(Tok,diag::err_seh_expected_handler)); 546 Diag(Tok, diag::err_expected_semi_after) << "__attribute__"; 628 Diag(Tok, diag::ext_gnu_case_range); 646 Diag(ColonLoc, diag::err_expected_colon_after) << "'case'" 650 Diag(ExpectedLoc, diag::err_expected_colon_after) << "'case'" 690 Diag(AfterColonLo [all...] |
H A D | ParseExpr.cpp | 269 Diag(Tok, diag::ext_gnu_conditional_expr); 298 Diag(Tok, diag::err_expected_colon) 300 Diag(OpToken, diag::note_matching) << "?"; 351 Diag(Tok, diag::err_init_list_bin_op) 374 Diag(OpToken, diag::warn_cxx98_compat_generalized_initializer_lists) 377 Diag(OpToken, diag::err_init_list_bin_op) 421 Diag(Tok, diag::err_expected_expression); 689 Diag(Tok, diag::warn_cxx98_compat_nullptr); 789 Diag(Tok, diag::err_expected_property_name); 946 Diag(To [all...] |
H A D | ParseTemplate.cpp | 113 Diag(Tok.getLocation(), diag::err_expected_template); 235 Diag(DS.getStorageClassSpecLoc(), diag::err_function_declared_typedef) 244 Diag(Tok, diag::err_template_defn_explicit_instantiation) << 0; 250 Diag(DeclaratorInfo.getIdentifierLoc(), 277 Diag(Tok, diag::err_multiple_template_declarators) 306 Diag(Tok.getLocation(), diag::err_expected_less_after) << "template"; 328 Diag(Tok.getLocation(), diag::err_expected_greater); 366 Diag(Tok.getLocation(), diag::err_expected_comma_greater); 490 Diag(EllipsisLoc, 507 Diag(To [all...] |
/freebsd-10.2-release/contrib/llvm/lib/IRReader/ |
H A D | IRReader.cpp | 103 SMDiagnostic Diag; local 105 *OutM = wrap(ParseIR(unwrap(MemBuf), Diag, *unwrap(ContextRef))); 112 Diag.print(NULL, os, false);
|
/freebsd-10.2-release/contrib/llvm/tools/clang/lib/Sema/ |
H A D | SemaExprObjC.cpp | 56 Diag(S->getLocStart(), diag::err_cfstring_literal_not_string_constant) 109 Diag(S->getLocStart(), diag::err_no_nsconstant_string_class) << NSIdent 150 S.Diag(Loc, diag::err_undeclared_boxing_method) << Sel << Class->getName(); 157 S.Diag(Loc, diag::err_objc_literal_method_sig) 159 S.Diag(Method->getLocation(), diag::note_objc_literal_method_return) 178 S.Diag(Loc, diag::err_invalid_nsnumber_type) 210 S.Diag(Loc, diag::err_undeclared_nsnumber); 214 S.Diag(Loc, diag::err_undeclared_nsnumber); 377 S.Diag(OrigElement->getLocStart(), diag::err_box_literal_collection) 393 S.Diag(OrigElemen [all...] |
H A D | SemaStmt.cpp | 91 Diag(decl->getLocation(), diag::err_non_variable_decl_in_for); 150 S.Diag(Loc, diag::warn_unused_comparison) 157 S.Diag(Loc, diag::note_inequality_comparison_to_or_assign) 160 S.Diag(Loc, diag::note_equality_comparison_to_assign) 220 Diag(Loc, diag::warn_unused_result) << R1 << R2; 226 Diag(Loc, diag::warn_unused_call) << R1 << R2 << "pure"; 230 Diag(Loc, diag::warn_unused_call) << R1 << R2 << "const"; 239 Diag(Loc, diag::err_arc_unused_init_message) << R1; 244 Diag(Loc, diag::warn_unused_result) << R1 << R2; 268 Diag(Lo [all...] |
H A D | SemaDeclCXX.cpp | 95 return S->Diag(DRE->getLocStart(), 103 return S->Diag(DRE->getLocStart(), 116 return S->Diag(ThisE->getLocStart(), 145 return S->Diag(Lambda->getLocStart(), 311 Diag(EqualLoc, diag::err_param_default_argument) 388 Diag(Param->getLocation(), diag::err_param_default_argument_nonfunc) 394 Diag(Param->getLocation(), diag::err_param_default_argument_nonfunc) 495 Diag(NewParam->getLocation(), DiagDefaultParamID) 508 Diag(OldParam->getLocation(), diag::note_previous_definition) 523 Diag(NewPara [all...] |
H A D | SemaExprCXX.cpp | 299 Diag(NameLoc, diag::err_destructor_expr_type_mismatch) 301 Diag(NonMatchingTypeDecl->getLocation(), diag::note_destructor_type_here) 304 Diag(NameLoc, diag::err_ident_in_dtor_not_a_type) 307 SemaDiagnosticBuilder DtorDiag = Diag(NameLoc, 331 Diag(DS.getTypeSpecTypeLoc(), diag::err_destructor_expr_type_mismatch) 420 return ExprError(Diag(OpLoc, diag::err_need_header_before_typeid)); 434 return ExprError(Diag(OpLoc, diag::err_need_header_before_typeid)); 438 return ExprError(Diag(OpLoc, diag::err_no_typeid_with_fno_rtti)); 471 return ExprError(Diag(TypeidLoc, diag::err_uuidof_with_multiple_guids)); 473 return ExprError(Diag(TypeidLo [all...] |
H A D | SemaExceptionSpec.cpp | 74 Diag(Range.getBegin(), diag::err_rref_in_exception_spec) 176 Diag(New->getLocation(), diag::ext_implicit_exception_spec_mismatch) 179 Diag(Old->getLocation(), diag::note_previous_declaration); 280 Diag(New->getLocation(), diag::warn_missing_exception_specification) 285 Diag(New->getLocation(), diag::warn_missing_exception_specification) 291 Diag(Old->getLocation(), diag::note_previous_declaration); 390 Diag(NewLoc, DiagID); 392 Diag(OldLoc, NoteID); 478 Diag(NewLoc, DiagID); 480 Diag(OldLo [all...] |
H A D | SemaExpr.cpp | 80 S.Diag(Loc, diag::warn_used_but_marked_unused) << D->getDeclName(); 121 S.Diag(Loc, diag::err_unavailable) << D->getDeclName(); 123 S.Diag(ObjCPDecl->getLocation(), diag::note_property_attribute) 127 S.Diag(Loc, diag::warn_unavailable_fwdclass_message) 131 S.Diag(Loc, diag::err_unavailable_message) 133 S.Diag(D->getLocation(), diag::note_unavailable_here) 136 S.Diag(ObjCPDecl->getLocation(), diag::note_property_attribute) 153 Diag(Decl->getLocation(), diag::note_implicitly_deleted); 167 Diag(Decl->getLocation(), diag::note_inherited_deleted_here); 173 Diag(BaseC 8273 unsigned Diag = 0; local 9042 unsigned Diag = diag::warn_objc_pointer_masking; local [all...] |
H A D | AnalysisBasedWarnings.cpp | 69 S.Diag(L, diag::warn_unreachable) << R1 << R2; 365 S.Diag(Compound->getRBracLoc(), 368 S.Diag(Compound->getRBracLoc(), 373 S.Diag(Compound->getRBracLoc(), 376 S.Diag(Compound->getRBracLoc(), 382 S.Diag(Compound->getLBracLoc(), CD.diag_NeverFallThroughOrReturn) 385 S.Diag(Compound->getLBracLoc(), CD.diag_NeverFallThroughOrReturn) 388 S.Diag(Compound->getLBracLoc(), CD.diag_NeverFallThroughOrReturn); 438 S.Diag(VD->getLocation(), diag::note_block_var_fixit_add_initialization) << VD->getDeclName() 458 S.Diag(Lo [all...] |
H A D | SemaPseudoObject.cpp | 623 S.Diag(RefExpr->getExprLoc(), diag::error_property_setter_ambiguous_use) 625 S.Diag(prop->getLocation(), diag::note_property_declare); 626 S.Diag(prop1->getLocation(), diag::note_property_declare); 777 S.Diag(RefExpr->getLocation(), diag::err_getter_not_found) 841 S.Diag(opcLoc, diag::err_nosetter_property_assignment) 852 S.Diag(opcLoc, diag::err_nogetter_property_compound_assignment) 885 S.Diag(opcLoc, diag::err_nosetter_property_incdec) 898 S.Diag(opcLoc, diag::err_nogetter_property_incdec) 999 Diag(FromE->getExprLoc(), diag::err_objc_subscript_pointer) 1002 Diag(From [all...] |
/freebsd-10.2-release/contrib/llvm/tools/clang/include/clang/Basic/ |
H A D | DiagnosticIDs.h | 251 const DiagnosticsEngine &Diag) const; 258 const DiagnosticsEngine &Diag) const; 264 bool ProcessDiag(DiagnosticsEngine &Diag) const; 268 void EmitDiag(DiagnosticsEngine &Diag, Level DiagLevel) const;
|
/freebsd-10.2-release/contrib/llvm/tools/clang/lib/Lex/ |
H A D | PPMacroExpansion.cpp | 289 Diag(Identifier, diag::warn_pp_ambiguous_macro) 291 Diag(MI->getDefinitionLoc(), diag::note_pp_ambiguous_macro_chosen) 297 Diag(PrevDef.getMacroInfo()->getDefinitionLoc(), 356 Diag(Identifier, diag::pp_disabled_macro_expansion); 550 Diag(MacroName, diag::err_unterm_macro_invoc); 551 Diag(MI->getDefinitionLoc(), diag::note_macro_here) 627 Diag(Tok, LangOpts.CPlusPlus11 ? 653 Diag(TooManyArgsLoc, diag::err_too_many_args_in_macro_invoc); 654 Diag(MI->getDefinitionLoc(), diag::note_macro_here) 669 Diag(MacroNam [all...] |
H A D | Lexer.cpp | 1080 /// Diag - Forwarding function for diagnostics. This translate a source 1082 DiagnosticBuilder Lexer::Diag(const char *Loc, unsigned DiagID) const { function in class:Lexer 1083 return PP->Diag(getSourceLocation(Loc), DiagID); 1117 L->Diag(CP-2, diag::trigraph_ignored); 1122 L->Diag(CP-2, diag::trigraph_converted) << StringRef(&Res, 1); 1266 Diag(Ptr, diag::backslash_newline_space); 1498 Diag(CurPtr, diag::ext_dollar_in_identifier); 1615 Diag(CurPtr, diag::warn_cxx11_compat_digit_separator); 1640 Diag(CurPtr, 1685 Diag(CurPt [all...] |
H A D | LiteralSupport.cpp | 64 static DiagnosticBuilder Diag(DiagnosticsEngine *Diags, function 105 Diag(Diags, Features, Loc, ThisTokBegin, EscapeBegin, ThisTokBuf, 111 Diag(Diags, Features, Loc, ThisTokBegin, EscapeBegin, ThisTokBuf, 134 Diag(Diags, Features, Loc, ThisTokBegin, EscapeBegin, ThisTokBuf, 159 Diag(Diags, Features, Loc, ThisTokBegin, EscapeBegin, ThisTokBuf, 182 Diag(Diags, Features, Loc, ThisTokBegin, EscapeBegin, ThisTokBuf, 193 Diag(Diags, Features, Loc, ThisTokBegin, EscapeBegin, ThisTokBuf, 202 Diag(Diags, Features, Loc, ThisTokBegin, EscapeBegin, ThisTokBuf, 206 Diag(Diags, Features, Loc, ThisTokBegin, EscapeBegin, ThisTokBuf, 230 Diag(Diag [all...] |
/freebsd-10.2-release/contrib/llvm/tools/clang/lib/Rewrite/Frontend/ |
H A D | FixItRewriter.cpp | 78 Diag(FullSourceLoc(), diag::warn_fixit_no_changes); 168 Diag(Info.getLocation(), diag::note_fixit_in_macro); 173 Diag(Info.getLocation(), diag::note_fixit_unfixed_error); 180 Diag(Info.getLocation(), diag::note_fixit_failed); 184 Diag(Info.getLocation(), diag::note_fixit_applied); 188 void FixItRewriter::Diag(SourceLocation Loc, unsigned DiagID) { function in class:FixItRewriter
|
/freebsd-10.2-release/contrib/llvm/tools/clang/include/clang/Sema/ |
H A D | ScopeInfo.h | 314 FunctionScopeInfo(DiagnosticsEngine &Diag) argument 321 ErrorTrap(Diag) { } 431 CapturingScopeInfo(DiagnosticsEngine &Diag, ImplicitCaptureStyle Style) argument 432 : FunctionScopeInfo(Diag), ImpCaptureStyle(Style), CXXThisCaptureIndex(0), 512 BlockScopeInfo(DiagnosticsEngine &Diag, Scope *BlockScope, BlockDecl *Block) argument 513 : CapturingScopeInfo(Diag, ImpCap_Block), TheDecl(Block), 540 CapturedRegionScopeInfo(DiagnosticsEngine &Diag, Scope *S, CapturedDecl *CD, argument 543 : CapturingScopeInfo(Diag, ImpCap_CapturedRegion), 646 LambdaScopeInfo(DiagnosticsEngine &Diag) argument 647 : CapturingScopeInfo(Diag, ImpCap_Non [all...] |
/freebsd-10.2-release/contrib/llvm/tools/clang/lib/Frontend/ |
H A D | DiagnosticRenderer.cpp | 185 void DiagnosticRenderer::emitStoredDiagnostic(StoredDiagnostic &Diag) { argument 186 emitDiagnostic(Diag.getLocation(), Diag.getLevel(), Diag.getMessage(), 187 Diag.getRanges(), Diag.getFixIts(), 188 Diag.getLocation().isValid() ? &Diag.getLocation().getManager() 190 &Diag);
|
/freebsd-10.2-release/contrib/llvm/tools/clang/lib/ARCMigrate/ |
H A D | TransProtectedScope.cpp | 146 bool handleProtectedNote(const StoredDiagnostic &Diag) { argument 147 assert(Diag.getLevel() == DiagnosticsEngine::Note); 151 if (isInRange(Diag.getLocation(), info.Range)) { 158 Pass.TA.clearDiagnostic(Diag.getID(), Diag.getLocation());
|
/freebsd-10.2-release/contrib/llvm/tools/clang/include/clang/AST/ |
H A D | DependentDiagnostic.h | 93 return Diag; 99 : Diag(PDiag, Storage) {} 109 PartialDiagnostic Diag; member in class:clang::DependentDiagnostic
|