/external/clang/lib/Lex/ |
H A D | LiteralSupport.cpp | 61 /// Emits the diagnostic \p DiagID, highlighting the range of characters from 67 const char *TokRangeEnd, unsigned DiagID) { 71 return Diags->Report(Begin, DiagID) << 64 Diag(DiagnosticsEngine *Diags, const LangOptions &Features, FullSourceLoc TokLoc, const char *TokBegin, const char *TokRangeBegin, const char *TokRangeEnd, unsigned DiagID) argument
|
H A D | Preprocessor.cpp | 535 void Preprocessor::SetPoisonReason(IdentifierInfo *II, unsigned DiagID) { argument 536 PoisonReasons[II] = DiagID;
|
H A D | Pragma.cpp | 709 unsigned int DiagID; local 711 DiagID = diag::warn_pragma_include_alias_mismatch_angle; 713 DiagID = diag::warn_pragma_include_alias_mismatch_quote; 715 Diag(SourceFilenameTok.getLocation(), DiagID)
|
H A D | Lexer.cpp | 1068 DiagnosticBuilder Lexer::Diag(const char *Loc, unsigned DiagID) const { 1069 return PP->Diag(getSourceLocation(Loc), DiagID); 2517 unsigned DiagID; local 2524 DiagID = diag::warn_cxx98_compat_no_newline_eof; 2526 DiagID = diag::warn_no_newline_eof; 2529 DiagID = diag::ext_no_newline_eof; 2532 Diag(BufferEnd, DiagID)
|
H A D | ModuleMap.cpp | 309 diag::kind DiagID = RequestingModule->getTopLevelModule()->IsFramework ? local 312 Diags.Report(FilenameLoc, DiagID) << RequestingModule->getFullModuleName();
|
H A D | PPDirectives.cpp | 858 /// Diagnostic DiagID if it is invalid, and returning the value in Val. 860 unsigned DiagID, Preprocessor &PP, 863 PP.Diag(DigitTok, DiagID); 897 PP.Diag(DigitTok, DiagID); 859 GetLineValue(Token &DigitTok, unsigned &Val, unsigned DiagID, Preprocessor &PP, bool IsGNULineDirective=false) argument
|
/external/clang/lib/Sema/ |
H A D | SemaExceptionSpec.cpp | 181 unsigned DiagID = diag::err_mismatched_exception_spec; local 184 DiagID = diag::warn_mismatched_exception_spec; 191 PDiag(DiagID), PDiag(diag::note_previous_declaration), 327 unsigned DiagID = diag::err_mismatched_exception_spec; local 329 DiagID = diag::warn_mismatched_exception_spec; 330 bool Result = CheckEquivalentExceptionSpec(PDiag(DiagID), 345 bool Sema::CheckEquivalentExceptionSpec(const PartialDiagnostic &DiagID, argument 418 Diag(NewLoc, DiagID); 499 Diag(NewLoc, DiagID); 528 Diag(NewLoc, DiagID); 537 CheckExceptionSpecSubset( const PartialDiagnostic &DiagID, const PartialDiagnostic & NoteID, const FunctionProtoType *Superset, SourceLocation SuperLoc, const FunctionProtoType *Subset, SourceLocation SubLoc) argument 705 CheckSpecForTypesEquivalent(Sema &S, const PartialDiagnostic &DiagID, const PartialDiagnostic & NoteID, QualType Target, SourceLocation TargetLoc, QualType Source, SourceLocation SourceLoc) argument 788 unsigned DiagID = diag::err_override_exception_spec; local [all...] |
H A D | DeclSpec.cpp | 35 unsigned DiagID) { 36 return D.Report(Loc, DiagID); 357 unsigned &DiagID, 361 DiagID = diag::err_invalid_decl_spec_combination; 363 DiagID = IsExtension ? diag::ext_duplicate_declspec : 471 unsigned &DiagID, 487 DiagID = diag::err_not_opencl_storage_class_specifier; 494 DiagID = diag::err_not_opencl_storage_class_specifier; 507 return SetTypeSpecType(TST_auto, Loc, PrevSpec, DiagID, Policy); 510 PrevSpec, DiagID, Polic 34 Diag(DiagnosticsEngine &D, SourceLocation Loc, unsigned DiagID) argument 355 BadSpecifier(T TNew, T TPrev, const char *&PrevSpec, unsigned &DiagID, bool IsExtension = true) argument 469 SetStorageClassSpec(Sema &S, SCS SC, SourceLocation Loc, const char *&PrevSpec, unsigned &DiagID, const PrintingPolicy &Policy) argument 530 SetStorageClassSpecThread(TSCS TSC, SourceLocation Loc, const char *&PrevSpec, unsigned &DiagID) argument 544 SetTypeSpecWidth(TSW W, SourceLocation Loc, const char *&PrevSpec, unsigned &DiagID, const PrintingPolicy &Policy) argument 565 SetTypeSpecComplex(TSC C, SourceLocation Loc, const char *&PrevSpec, unsigned &DiagID) argument 575 SetTypeSpecSign(TSS S, SourceLocation Loc, const char *&PrevSpec, unsigned &DiagID) argument 585 SetTypeSpecType(TST T, SourceLocation Loc, const char *&PrevSpec, unsigned &DiagID, ParsedType Rep, const PrintingPolicy &Policy) argument 593 SetTypeSpecType(TST T, SourceLocation TagKwLoc, SourceLocation TagNameLoc, const char *&PrevSpec, unsigned &DiagID, ParsedType Rep, const PrintingPolicy &Policy) argument 614 SetTypeSpecType(TST T, SourceLocation Loc, const char *&PrevSpec, unsigned &DiagID, Expr *Rep, const PrintingPolicy &Policy) argument 634 SetTypeSpecType(TST T, SourceLocation Loc, const char *&PrevSpec, unsigned &DiagID, Decl *Rep, bool Owned, const PrintingPolicy &Policy) argument 642 SetTypeSpecType(TST T, SourceLocation TagKwLoc, SourceLocation TagNameLoc, const char *&PrevSpec, unsigned &DiagID, Decl *Rep, bool Owned, const PrintingPolicy &Policy) argument 664 SetTypeSpecType(TST T, SourceLocation Loc, const char *&PrevSpec, unsigned &DiagID, const PrintingPolicy &Policy) argument 691 SetTypeAltiVecVector(bool isAltiVecVector, SourceLocation Loc, const char *&PrevSpec, unsigned &DiagID, const PrintingPolicy &Policy) argument 704 SetTypeAltiVecPixel(bool isAltiVecPixel, SourceLocation Loc, const char *&PrevSpec, unsigned &DiagID, const PrintingPolicy &Policy) argument 719 SetTypeAltiVecBool(bool isAltiVecBool, SourceLocation Loc, const char *&PrevSpec, unsigned &DiagID, const PrintingPolicy &Policy) argument 742 SetTypeQual(TQ T, SourceLocation Loc, const char *&PrevSpec, unsigned &DiagID, const LangOptions &Lang) argument 767 setFunctionSpecInline(SourceLocation Loc, const char *&PrevSpec, unsigned &DiagID) argument 781 setFunctionSpecForceInline(SourceLocation Loc, const char *&PrevSpec, unsigned &DiagID) argument 793 setFunctionSpecVirtual(SourceLocation Loc, const char *&PrevSpec, unsigned &DiagID) argument 808 setFunctionSpecExplicit(SourceLocation Loc, const char *&PrevSpec, unsigned &DiagID) argument 823 setFunctionSpecNoreturn(SourceLocation Loc, const char *&PrevSpec, unsigned &DiagID) argument 838 SetFriendSpec(SourceLocation Loc, const char *&PrevSpec, unsigned &DiagID) argument 856 setModulePrivateSpec(SourceLocation Loc, const char *&PrevSpec, unsigned &DiagID) argument 868 SetConstexprSpec(SourceLocation Loc, const char *&PrevSpec, unsigned &DiagID) argument [all...] |
H A D | Sema.cpp | 893 void Sema::EmitCurrentDiagnostic(unsigned DiagID) { argument 894 // FIXME: It doesn't make sense to me that DiagID is an incoming argument here 986 if (!DiagnosticIDs::isBuiltinNote(DiagID) &&
|
H A D | SemaAccess.cpp | 1800 unsigned DiagID, 1815 if (DiagID) 1816 Entity.setDiag(DiagID) << Derived << Base; 1796 CheckBaseClassAccess(SourceLocation AccessLoc, QualType Base, QualType Derived, const CXXBasePath &Path, unsigned DiagID, bool ForceCheck, bool ForceUnprivileged) argument
|
H A D | SemaCast.cpp | 1613 unsigned DiagID = IsDereference ? local 1617 if (Diags.isIgnored(DiagID, Range.getBegin())) 1657 Diag(Range.getBegin(), DiagID) << SrcType << DestType << Range;
|
H A D | SemaTemplateInstantiate.cpp | 424 unsigned DiagID = diag::note_template_member_class_here; local 426 DiagID = diag::note_template_class_instantiation_here; 427 Diags.Report(Active->PointOfInstantiation, DiagID) 431 unsigned DiagID; local 433 DiagID = diag::note_function_template_spec_here; 435 DiagID = diag::note_template_member_function_here; 436 Diags.Report(Active->PointOfInstantiation, DiagID)
|
H A D | SemaTemplateInstantiateDecl.cpp | 2566 unsigned DiagID = SemaRef.getDiagnostics().getCustomDiagID( local 2569 SemaRef.Diag(D->getLocation(), DiagID)
|
/external/clang/lib/Basic/ |
H A D | Diagnostic.cpp | 123 void DiagnosticsEngine::SetDelayedDiagnostic(unsigned DiagID, StringRef Arg1, argument 128 DelayedDiagID = DiagID; 370 unsigned DiagID = CurDiagID; local 374 if (!Force && DelayedDiagID && DelayedDiagID != DiagID)
|
/external/clang/lib/Parse/ |
H A D | ParseExpr.cpp | 788 unsigned DiagID; local 789 DS.SetTypeSpecType(TST_typename, ILoc, PrevSpec, DiagID, Typ, 955 unsigned DiagID; local 957 PrevSpec, DiagID, Type,
|
H A D | Parser.cpp | 74 DiagnosticBuilder Parser::Diag(SourceLocation Loc, unsigned DiagID) { argument 75 return Diags.Report(Loc, DiagID); 78 DiagnosticBuilder Parser::Diag(const Token &Tok, unsigned DiagID) { argument 79 return Diag(Tok.getLocation(), DiagID); 111 bool Parser::ExpectAndConsume(tok::TokenKind ExpectedTok, unsigned DiagID, argument 122 DiagnosticBuilder DB = Diag(Loc, DiagID); 125 if (DiagID == diag::err_expected) 127 else if (DiagID == diag::err_expected_after) 145 ? Diag(EndLoc, DiagID) << FixItHint::CreateInsertion(EndLoc, Spelling) 146 : Diag(Tok, DiagID); 157 ExpectAndConsumeSemi(unsigned DiagID) argument 866 unsigned DiagID; local 934 unsigned DiagID; local 1527 unsigned DiagID = diag::err_expected_qualified_after_typename; local 1944 expectAndConsume(unsigned DiagID, const char *Msg, tok::TokenKind SkipToTok) argument [all...] |
H A D | ParseDeclCXX.cpp | 824 unsigned DiagID; local 829 DiagID, Result.get(), Policy) 831 DiagID, Policy)) { 832 Diag(StartLoc, DiagID) << PrevSpec; 880 unsigned DiagID; local 882 DiagID, Result.get(), 884 Diag(StartLoc, DiagID) << PrevSpec; 1030 unsigned DiagID; local 1031 DS.SetTypeSpecType(TST_typename, IdLoc, PrevSpec, DiagID, Type, 1643 unsigned DiagID; local [all...] |
H A D | ParseExprCXX.cpp | 519 unsigned DiagID = diag::err_missing_dependent_template_keyword; local 521 DiagID = diag::warn_missing_dependent_template_keyword; 523 Diag(Tok.getLocation(), DiagID) 671 Optional<unsigned> DiagID = ParseLambdaIntroducer(Intro); local 672 if (DiagID) { 673 Diag(Tok, DiagID.getValue()); 969 Optional<unsigned> DiagID(ParseLambdaIntroducer(Intro, &SkippedInits)); 971 if (DiagID) { 980 DiagID = ParseLambdaIntroducer(Intro); 981 assert(!DiagID 1721 unsigned DiagID; local [all...] |
H A D | ParseObjc.cpp | 611 unsigned DiagID = IsSetter ? diag::err_objc_expected_equal_for_setter : local 614 if (ExpectAndConsume(tok::equal, DiagID)) {
|
H A D | ParseDecl.cpp | 2185 unsigned DiagID; local 2186 DS.SetTypeSpecType(DeclSpec::TST_typename, Loc, PrevSpec, DiagID, T, 2448 unsigned DiagID = 0; local 2602 PrevSpec, DiagID, T, Policy); 2661 DiagID, TypeRep, Policy); 2680 DiagID, T, Policy); 2737 if (TryAltiVecToken(DS, Loc, PrevSpec, DiagID, isInvalid)) 2781 DiagID, TypeRep, Policy); 2834 isInvalid = DS.setFunctionSpecForceInline(Loc, PrevSpec, DiagID); 2868 PrevSpec, DiagID, Polic 3707 unsigned DiagID; local 4387 unsigned DiagID = 0; local 5713 unsigned DiagID; local 5736 unsigned DiagID; local 5772 unsigned DiagID; local 5812 TryAltiVecTokenOutOfLine(DeclSpec &DS, SourceLocation Loc, const char *&PrevSpec, unsigned &DiagID, bool &isInvalid) argument [all...] |
/external/clang/include/clang/Basic/ |
H A D | Diagnostic.h | 598 /// and mapped to a unique DiagID. 643 bool isIgnored(unsigned DiagID, SourceLocation Loc) const { argument 644 return Diags->getDiagnosticSeverity(DiagID, Loc, *this) == 658 Level getDiagnosticLevel(unsigned DiagID, SourceLocation Loc) const { argument 659 return (Level)Diags->getDiagnosticLevel(DiagID, Loc, *this); 667 /// \param DiagID A member of the @c diag::kind enum. 670 inline DiagnosticBuilder Report(SourceLocation Loc, unsigned DiagID); 671 inline DiagnosticBuilder Report(unsigned DiagID); 690 /// \param DiagID The ID of the diagnostic being delayed. 699 void SetDelayedDiagnostic(unsigned DiagID, StringRe [all...] |
/external/clang/lib/AST/ |
H A D | ItaniumMangle.cpp | 2654 unsigned DiagID = Diags.getCustomDiagID(DiagnosticsEngine::Error, local 2656 Diags.Report(E->getExprLoc(), DiagID) 2664 unsigned DiagID = local 2667 Diags.Report(E->getExprLoc(), DiagID) 2877 unsigned DiagID = Diags.getCustomDiagID(DiagnosticsEngine::Error, local 2879 Diags.Report(DiagID);
|
H A D | MicrosoftMangle.cpp | 364 unsigned DiagID = Diags.getCustomDiagID( local 366 Diags.Report(D->getLocation(), DiagID) << D->getSourceRange(); 821 unsigned DiagID = local 824 Diags.Report(BD->getLocation(), DiagID); 983 unsigned DiagID = Diags.getCustomDiagID(DiagnosticsEngine::Error, local 985 Diags.Report(Loc, DiagID); 1098 unsigned DiagID = Diags.getCustomDiagID( local 1100 Diags.Report(E->getExprLoc(), DiagID) << E->getStmtClassName() 1505 unsigned DiagID = Diags.getCustomDiagID(DiagnosticsEngine::Error, local 1507 Diags.Report(Range.getBegin(), DiagID) 1707 unsigned DiagID = Diags.getCustomDiagID(DiagnosticsEngine::Error, local 1784 unsigned DiagID = Diags.getCustomDiagID(DiagnosticsEngine::Error, local 1794 unsigned DiagID = Diags.getCustomDiagID(DiagnosticsEngine::Error, local 1834 unsigned DiagID = Diags.getCustomDiagID(DiagnosticsEngine::Error, local 1844 unsigned DiagID = Diags.getCustomDiagID(DiagnosticsEngine::Error, local 1889 unsigned DiagID = Diags.getCustomDiagID(DiagnosticsEngine::Error, local 1932 unsigned DiagID = Diags.getCustomDiagID(DiagnosticsEngine::Error, local 1940 unsigned DiagID = Diags.getCustomDiagID(DiagnosticsEngine::Error, local 1976 unsigned DiagID = Diags.getCustomDiagID(DiagnosticsEngine::Error, local 1985 unsigned DiagID = Diags.getCustomDiagID(DiagnosticsEngine::Error, local 1995 unsigned DiagID = Diags.getCustomDiagID(DiagnosticsEngine::Error, local 2004 unsigned DiagID = Diags.getCustomDiagID(DiagnosticsEngine::Error, local 2013 unsigned DiagID = Diags.getCustomDiagID(DiagnosticsEngine::Error, local 2022 unsigned DiagID = Diags.getCustomDiagID(DiagnosticsEngine::Error, local 2031 unsigned DiagID = Diags.getCustomDiagID(DiagnosticsEngine::Error, local 2040 unsigned DiagID = Diags.getCustomDiagID(DiagnosticsEngine::Error, local 2050 unsigned DiagID = Diags.getCustomDiagID(DiagnosticsEngine::Error, local 2059 unsigned DiagID = Diags.getCustomDiagID(DiagnosticsEngine::Error, local 2327 unsigned DiagID = getDiags().getCustomDiagID(DiagnosticsEngine::Error, local [all...] |
H A D | RecordLayoutBuilder.cpp | 742 DiagnosticBuilder Diag(SourceLocation Loc, unsigned DiagID); 1995 RecordLayoutBuilder::Diag(SourceLocation Loc, unsigned DiagID) { argument 1996 return Context.getDiagnostics().Report(Loc, DiagID);
|
H A D | VTableBuilder.cpp | 2566 unsigned DiagID = Diags.getCustomDiagID( local 2568 Diags.Report(Context.getFullLoc(Location), DiagID) << Feature; 3075 unsigned DiagID = Diags.getCustomDiagID( local 3078 Diags.Report(MostDerivedClass->getLocation(), DiagID)
|