/external/clang/include/clang/Sema/ |
H A D | SemaInternal.h | 24 inline PartialDiagnostic Sema::PDiag(unsigned DiagID) { argument 25 return PartialDiagnostic(DiagID, Context.getDiagAllocator());
|
H A D | DelayedDiagnostic.h | 92 PartialDiagnostic &setDiag(unsigned DiagID) { argument 94 assert(DiagID && "creating null diagnostic"); 95 Diag.Reset(DiagID);
|
H A D | DeclSpec.h | 542 /// already set), they return true and set PrevSpec and DiagID 544 /// Diag(Loc, DiagID) << PrevSpec; 550 const char *&PrevSpec, unsigned &DiagID); 552 unsigned &DiagID); 554 unsigned &DiagID); 556 unsigned &DiagID); 558 unsigned &DiagID); 560 unsigned &DiagID); 562 unsigned &DiagID, ParsedType Rep); 564 unsigned &DiagID, Dec [all...] |
/external/clang/lib/Basic/ |
H A D | DiagnosticIDs.cpp | 39 unsigned short DiagID; member in struct:__anon3109::StaticDiagInfoRec 62 return DiagID < RHS.DiagID; 91 /// GetDiagInfo - Return the StaticDiagInfoRec entry for the specified DiagID, 93 static const StaticDiagInfoRec *GetDiagInfo(unsigned DiagID) { argument 99 assert(StaticDiagInfo[i-1].DiagID != StaticDiagInfo[i].DiagID && 111 StaticDiagInfoRec Find = { static_cast<unsigned short>(DiagID), 117 Found->DiagID != DiagID) 123 GetDefaultDiagMappingInfo(unsigned DiagID) argument 148 getCategoryNumberForDiag(unsigned DiagID) argument 207 getDiagnosticSFINAEResponse(unsigned DiagID) argument 227 getBuiltinDiagClass(unsigned DiagID) argument 306 isBuiltinWarningOrExtension(unsigned DiagID) argument 313 isBuiltinNote(unsigned DiagID) argument 323 isBuiltinExtensionDiag(unsigned DiagID, bool &EnabledByDefault) argument 334 isDefaultMappingAsError(unsigned DiagID) argument 353 getDiagnosticLevel(unsigned DiagID, SourceLocation Loc, const DiagnosticsEngine &Diag) const argument 371 getDiagnosticLevel(unsigned DiagID, unsigned DiagClass, SourceLocation Loc, const DiagnosticsEngine &Diag) const argument 507 getWarningOptionForDiag(unsigned DiagID) argument 587 unsigned DiagID = Info.getID(); local 693 isARCDiagnostic(unsigned DiagID) argument [all...] |
/external/clang/include/clang/Basic/ |
H A D | DiagnosticIDs.h | 138 StringRef getDescription(unsigned DiagID) const; 144 static bool isBuiltinWarningOrExtension(unsigned DiagID); 148 static bool isDefaultMappingAsError(unsigned DiagID); 152 static bool isBuiltinNote(unsigned DiagID); 157 static bool isBuiltinExtensionDiag(unsigned DiagID) { argument 159 return isBuiltinExtensionDiag(DiagID, ignored); 167 static bool isBuiltinExtensionDiag(unsigned DiagID, bool &EnabledByDefault); 173 static StringRef getWarningOptionForDiag(unsigned DiagID); 176 /// DiagID belongs to, or 0 if no category. 177 static unsigned getCategoryNumberForDiag(unsigned DiagID); [all...] |
H A D | PartialDiagnostic.h | 117 /// DiagID - The diagnostic ID. 118 mutable unsigned DiagID; member in class:clang::PartialDiagnostic 182 PartialDiagnostic(unsigned DiagID, StorageAllocator &Allocator) argument 183 : DiagID(DiagID), DiagStorage(0), Allocator(&Allocator) { } 186 : DiagID(Other.DiagID), DiagStorage(0), Allocator(Other.Allocator) 195 : DiagID(Other.DiagID), DiagStorage(DiagStorage), 203 : DiagID(Othe [all...] |
H A D | Diagnostic.h | 567 Level getDiagnosticLevel(unsigned DiagID, SourceLocation Loc) const { argument 568 return (Level)Diags->getDiagnosticLevel(DiagID, Loc, *this); 571 /// Report - Issue the message to the client. @c DiagID is a member of the 576 inline DiagnosticBuilder Report(SourceLocation Pos, unsigned DiagID); 577 inline DiagnosticBuilder Report(unsigned DiagID); 596 /// \param DiagID The ID of the diagnostic being delayed. 605 void SetDelayedDiagnostic(unsigned DiagID, StringRef Arg1 = "", 954 /// Report - Issue the message to the client. DiagID is a member of the 958 unsigned DiagID){ 961 CurDiagID = DiagID; [all...] |
/external/clang/lib/Sema/ |
H A D | DeclSpec.cpp | 33 unsigned DiagID) { 34 return D.Report(Loc, DiagID); 329 unsigned &DiagID) { 331 DiagID = (TNew == TPrev ? diag::ext_duplicate_declspec 425 unsigned &DiagID) { 439 DiagID = diag::err_not_opencl_storage_class_specifier; 452 return SetTypeSpecType(TST_auto, Loc, PrevSpec, DiagID); 455 PrevSpec, DiagID); 467 return BadSpecifier(SC, (SCS)StorageClassSpec, PrevSpec, DiagID); 477 unsigned &DiagID) { 32 Diag(DiagnosticsEngine &D, SourceLocation Loc, unsigned DiagID) argument 327 BadSpecifier(T TNew, T TPrev, const char *&PrevSpec, unsigned &DiagID) argument 423 SetStorageClassSpec(Sema &S, SCS SC, SourceLocation Loc, const char *&PrevSpec, unsigned &DiagID) argument 475 SetStorageClassSpecThread(SourceLocation Loc, const char *&PrevSpec, unsigned &DiagID) argument 491 SetTypeSpecWidth(TSW W, SourceLocation Loc, const char *&PrevSpec, unsigned &DiagID) argument 511 SetTypeSpecComplex(TSC C, SourceLocation Loc, const char *&PrevSpec, unsigned &DiagID) argument 521 SetTypeSpecSign(TSS S, SourceLocation Loc, const char *&PrevSpec, unsigned &DiagID) argument 531 SetTypeSpecType(TST T, SourceLocation Loc, const char *&PrevSpec, unsigned &DiagID, ParsedType Rep) argument 538 SetTypeSpecType(TST T, SourceLocation TagKwLoc, SourceLocation TagNameLoc, const char *&PrevSpec, unsigned &DiagID, ParsedType Rep) argument 558 SetTypeSpecType(TST T, SourceLocation Loc, const char *&PrevSpec, unsigned &DiagID, Expr *Rep) argument 577 SetTypeSpecType(TST T, SourceLocation Loc, const char *&PrevSpec, unsigned &DiagID, Decl *Rep, bool Owned) argument 584 SetTypeSpecType(TST T, SourceLocation TagKwLoc, SourceLocation TagNameLoc, const char *&PrevSpec, unsigned &DiagID, Decl *Rep, bool Owned) argument 605 SetTypeSpecType(TST T, SourceLocation Loc, const char *&PrevSpec, unsigned &DiagID) argument 631 SetTypeAltiVecVector(bool isAltiVecVector, SourceLocation Loc, const char *&PrevSpec, unsigned &DiagID) argument 643 SetTypeAltiVecPixel(bool isAltiVecPixel, SourceLocation Loc, const char *&PrevSpec, unsigned &DiagID) argument 665 SetTypeQual(TQ T, SourceLocation Loc, const char *&PrevSpec, unsigned &DiagID, const LangOptions &Lang) argument 681 SetFunctionSpecInline(SourceLocation Loc, const char *&PrevSpec, unsigned &DiagID) argument 689 SetFunctionSpecVirtual(SourceLocation Loc, const char *&PrevSpec, unsigned &DiagID) argument 697 SetFunctionSpecExplicit(SourceLocation Loc, const char *&PrevSpec, unsigned &DiagID) argument 705 SetFriendSpec(SourceLocation Loc, const char *&PrevSpec, unsigned &DiagID) argument 718 setModulePrivateSpec(SourceLocation Loc, const char *&PrevSpec, unsigned &DiagID) argument 730 SetConstexprSpec(SourceLocation Loc, const char *&PrevSpec, unsigned &DiagID) argument [all...] |
H A D | SemaExceptionSpec.cpp | 124 unsigned DiagID = diag::err_mismatched_exception_spec; local 126 DiagID = diag::warn_mismatched_exception_spec; 128 if (!CheckEquivalentExceptionSpec(PDiag(DiagID), 275 Diag(New->getLocation(), DiagID); 287 unsigned DiagID = diag::err_mismatched_exception_spec; local 289 DiagID = diag::warn_mismatched_exception_spec; 291 PDiag(DiagID), 298 bool Sema::CheckEquivalentExceptionSpec(const PartialDiagnostic &DiagID, argument 371 Diag(NewLoc, DiagID); 459 Diag(NewLoc, DiagID); 499 CheckExceptionSpecSubset( const PartialDiagnostic &DiagID, const PartialDiagnostic & NoteID, const FunctionProtoType *Superset, SourceLocation SuperLoc, const FunctionProtoType *Subset, SourceLocation SubLoc) argument 670 CheckSpecForTypesEquivalent(Sema &S, const PartialDiagnostic &DiagID, const PartialDiagnostic & NoteID, QualType Target, SourceLocation TargetLoc, QualType Source, SourceLocation SourceLoc) argument 755 unsigned DiagID = diag::err_override_exception_spec; local [all...] |
H A D | AnalysisBasedWarnings.cpp | 644 void warnLockMismatch(unsigned DiagID, Name LockName, SourceLocation Loc) { argument 649 PartialDiagnosticAt Warning(Loc, S.PDiag(DiagID) << LockName); 688 unsigned DiagID = 0; local 691 DiagID = diag::warn_lock_some_predecessors; 694 DiagID = diag::warn_expecting_lock_held_on_loop; 697 DiagID = diag::warn_no_unlock; 703 PartialDiagnosticAt Warning(LocEndOfScope, S.PDiag(DiagID) << LockName); 722 unsigned DiagID = POK == POK_VarAccess? local 725 PartialDiagnosticAt Warning(Loc, S.PDiag(DiagID) 732 unsigned DiagID local [all...] |
/external/clang/examples/PrintFunctionNames/ |
H A D | PrintFunctionNames.cpp | 51 unsigned DiagID = D.getCustomDiagID( local 53 D.Report(DiagID);
|
/external/clang/unittests/Lex/ |
H A D | PreprocessingRecordTest.cpp | 34 DiagID(new DiagnosticIDs()), 35 Diags(DiagID, new IgnoringDiagConsumer()), 43 IntrusiveRefCntPtr<DiagnosticIDs> DiagID; member in class:__anon4334::PreprocessingRecordTest
|
H A D | LexerTest.cpp | 33 DiagID(new DiagnosticIDs()), 34 Diags(DiagID, new IgnoringDiagConsumer()), 42 IntrusiveRefCntPtr<DiagnosticIDs> DiagID; member in class:__anon4333::LexerTest
|
/external/clang/lib/ARCMigrate/ |
H A D | ARCMT.cpp | 209 IntrusiveRefCntPtr<DiagnosticIDs> DiagID(new DiagnosticIDs()); 211 new DiagnosticsEngine(DiagID, &printer, /*ShouldOwnClient=*/false)); 247 IntrusiveRefCntPtr<DiagnosticIDs> DiagID(new DiagnosticIDs()); 249 new DiagnosticsEngine(DiagID, DiagClient, /*ShouldOwnClient=*/false)); 352 IntrusiveRefCntPtr<DiagnosticIDs> DiagID(new DiagnosticIDs()); 354 new DiagnosticsEngine(DiagID, DiagClient, /*ShouldOwnClient=*/false)); 391 IntrusiveRefCntPtr<DiagnosticIDs> DiagID(new DiagnosticIDs()); 393 new DiagnosticsEngine(DiagID, DiagClient, /*ShouldOwnClient=*/false)); 415 llvm::IntrusiveRefCntPtr<DiagnosticIDs> DiagID(new DiagnosticIDs()); 417 new DiagnosticsEngine(DiagID, DiagClien [all...] |
/external/clang/lib/Parse/ |
H A D | ParseDecl.cpp | 1699 unsigned DiagID; local 1700 DS.SetTypeSpecType(DeclSpec::TST_typename, Loc, PrevSpec, DiagID, T); 1853 unsigned DiagID = 0; local 1984 PrevSpec, DiagID, T); 2035 DiagID, TypeRep); 2049 DiagID, T); 2108 if (TryAltiVecToken(DS, Loc, PrevSpec, DiagID, isInvalid)) 2130 DiagID, TypeRep); 2210 PrevSpec, DiagID); 2216 PrevSpec, DiagID); 2961 unsigned DiagID; local 3567 unsigned DiagID = 0; local 4741 unsigned DiagID; local 4763 unsigned DiagID; local 4799 unsigned DiagID; local 4834 TryAltiVecTokenOutOfLine(DeclSpec &DS, SourceLocation Loc, const char *&PrevSpec, unsigned &DiagID, bool &isInvalid) argument [all...] |
H A D | Parser.cpp | 108 DiagnosticBuilder Parser::Diag(SourceLocation Loc, unsigned DiagID) { argument 109 return Diags.Report(Loc, DiagID); 112 DiagnosticBuilder Parser::Diag(const Token &Tok, unsigned DiagID) { argument 113 return Diag(Tok.getLocation(), DiagID); 150 bool Parser::ExpectAndConsume(tok::TokenKind ExpectedTok, unsigned DiagID, argument 160 Diag(Loc, DiagID) 175 Diag(EndLoc, DiagID) 179 Diag(Tok, DiagID) << Msg; 186 bool Parser::ExpectAndConsumeSemi(unsigned DiagID) { argument 202 return ExpectAndConsume(tok::semi, DiagID); 809 unsigned DiagID; local 872 unsigned DiagID; local 1687 expectAndConsume(unsigned DiagID, const char *Msg, tok::TokenKind SkipToToc ) argument [all...] |
H A D | ParseExprCXX.cpp | 418 unsigned DiagID = diag::err_missing_dependent_template_keyword; local 420 DiagID = diag::warn_missing_dependent_template_keyword; 422 Diag(Tok.getLocation(), DiagID) 563 llvm::Optional<unsigned> DiagID(ParseLambdaIntroducer(Intro)); 564 if (DiagID) { 565 Diag(Tok, DiagID.getValue()); 724 llvm::Optional<unsigned> DiagID(ParseLambdaIntroducer(Intro)); 726 if (DiagID) { 1449 unsigned DiagID; local 1462 DS.SetTypeSpecType(DeclSpec::TST_typename, Loc, PrevSpec, DiagID, [all...] |
/external/clang/tools/driver/ |
H A D | cc1_main.cpp | 121 IntrusiveRefCntPtr<DiagnosticIDs> DiagID(new DiagnosticIDs()); 125 DiagnosticsEngine Diags(DiagID, new TextDiagnosticPrinter(llvm::errs(), 139 DiagnosticsEngine Diags(DiagID, DiagsBuffer);
|
/external/clang/include/clang/AST/ |
H A D | ASTImporter.h | 251 DiagnosticBuilder ToDiag(SourceLocation Loc, unsigned DiagID); 254 DiagnosticBuilder FromDiag(SourceLocation Loc, unsigned DiagID);
|
/external/clang/tools/diagtool/ |
H A D | ListWarnings.cpp | 31 unsigned short DiagID; member in struct:__anon4305::StaticDiagNameIndexRec 79 unsigned diagID = di->DiagID;
|
/external/clang/include/clang/Rewrite/ |
H A D | FixItRewriter.h | 123 void Diag(SourceLocation Loc, unsigned DiagID);
|
/external/clang/examples/clang-interpreter/ |
H A D | main.cpp | 75 IntrusiveRefCntPtr<DiagnosticIDs> DiagID(new DiagnosticIDs()); 76 DiagnosticsEngine Diags(DiagID, DiagClient);
|
/external/clang/tools/arcmt-test/ |
H A D | arcmt-test.cpp | 110 IntrusiveRefCntPtr<DiagnosticIDs> DiagID(new DiagnosticIDs()); 112 new DiagnosticsEngine(DiagID, DiagClient)); 155 IntrusiveRefCntPtr<DiagnosticIDs> DiagID(new DiagnosticIDs()); 157 new DiagnosticsEngine(DiagID, DiagClient));
|
/external/clang/unittests/Basic/ |
H A D | SourceManagerTest.cpp | 34 DiagID(new DiagnosticIDs()), 35 Diags(DiagID, new IgnoringDiagConsumer()), 43 IntrusiveRefCntPtr<DiagnosticIDs> DiagID; member in class:__anon4330::SourceManagerTest
|
/external/clang/include/clang/Driver/ |
H A D | Driver.h | 54 DiagnosticBuilder Diag(unsigned DiagID) const { 55 return Diags.Report(DiagID);
|