/external/clang/include/clang/Sema/ |
SemaInternal.h | 24 inline PartialDiagnostic Sema::PDiag(unsigned DiagID) { 25 return PartialDiagnostic(DiagID, Context.getDiagAllocator());
|
DelayedDiagnostic.h | 92 PartialDiagnostic &setDiag(unsigned DiagID) { 94 assert(DiagID && "creating null diagnostic"); 95 Diag.Reset(DiagID);
|
DeclSpec.h | 536 /// already set), they return true and set PrevSpec and DiagID 538 /// Diag(Loc, DiagID) << PrevSpec; 544 const char *&PrevSpec, unsigned &DiagID); 546 unsigned &DiagID); 548 unsigned &DiagID); 550 unsigned &DiagID); 552 unsigned &DiagID); 554 unsigned &DiagID); 556 unsigned &DiagID, ParsedType Rep); 558 unsigned &DiagID, Decl *Rep, bool Owned) [all...] |
Template.h | 376 unsigned DiagID = SemaRef.getDiagnostics().getCustomDiagID( 379 SemaRef.Diag(D->getLocation(), DiagID)
|
/external/clang/lib/Basic/ |
DiagnosticIDs.cpp | 45 unsigned short DiagID; 86 return DiagID < RHS.DiagID; 92 unsigned short DiagID; 155 /// GetDiagInfo - Return the StaticDiagInfoRec entry for the specified DiagID, 157 static const StaticDiagInfoRec *GetDiagInfo(unsigned DiagID) { 163 assert(StaticDiagInfo[i-1].DiagID != StaticDiagInfo[i].DiagID && 175 StaticDiagInfoRec Find = { static_cast<unsigned short>(DiagID), 181 Found->DiagID != DiagID [all...] |
/external/clang/include/clang/Basic/ |
DiagnosticIDs.h | 137 StringRef getDescription(unsigned DiagID) const; 143 static bool isBuiltinWarningOrExtension(unsigned DiagID); 147 static bool isDefaultMappingAsError(unsigned DiagID); 151 static bool isBuiltinNote(unsigned DiagID); 156 static bool isBuiltinExtensionDiag(unsigned DiagID) { 158 return isBuiltinExtensionDiag(DiagID, ignored); 166 static bool isBuiltinExtensionDiag(unsigned DiagID, bool &EnabledByDefault); 172 static StringRef getWarningOptionForDiag(unsigned DiagID); 175 /// DiagID belongs to, or 0 if no category. 176 static unsigned getCategoryNumberForDiag(unsigned DiagID); [all...] |
PartialDiagnostic.h | 115 /// DiagID - The diagnostic ID. 116 mutable unsigned DiagID; 175 PartialDiagnostic(unsigned DiagID, StorageAllocator &Allocator) 176 : DiagID(DiagID), DiagStorage(0), Allocator(&Allocator) { } 179 : DiagID(Other.DiagID), DiagStorage(0), Allocator(Other.Allocator) 188 : DiagID(Other.DiagID), DiagStorage(DiagStorage), 196 : DiagID(Other.getID()), DiagStorage(0), Allocator(&Allocator [all...] |
Diagnostic.h | 518 Level getDiagnosticLevel(unsigned DiagID, SourceLocation Loc) const { 519 return (Level)Diags->getDiagnosticLevel(DiagID, Loc, *this); 522 /// Report - Issue the message to the client. @c DiagID is a member of the 527 inline DiagnosticBuilder Report(SourceLocation Pos, unsigned DiagID); 528 inline DiagnosticBuilder Report(unsigned DiagID); 547 /// \param DiagID The ID of the diagnostic being delayed. 556 void SetDelayedDiagnostic(unsigned DiagID, StringRef Arg1 = "", [all...] |
/external/clang/lib/Sema/ |
DeclSpec.cpp | 33 unsigned DiagID) { 34 return D.Report(Loc, DiagID); 324 unsigned &DiagID) { 326 DiagID = (TNew == TPrev ? diag::ext_duplicate_declspec 419 unsigned &DiagID) { 433 DiagID = diag::err_not_opencl_storage_class_specifier; 446 return SetTypeSpecType(TST_auto, Loc, PrevSpec, DiagID); 449 PrevSpec, DiagID); 461 return BadSpecifier(SC, (SCS)StorageClassSpec, PrevSpec, DiagID); 471 unsigned &DiagID) { [all...] |
SemaExceptionSpec.cpp | 103 unsigned DiagID = diag::err_mismatched_exception_spec; 105 DiagID = diag::warn_mismatched_exception_spec; 107 if (!CheckEquivalentExceptionSpec(PDiag(DiagID), 254 Diag(New->getLocation(), DiagID); 266 unsigned DiagID = diag::err_mismatched_exception_spec; 268 DiagID = diag::warn_mismatched_exception_spec; 270 PDiag(DiagID), 277 bool Sema::CheckEquivalentExceptionSpec(const PartialDiagnostic &DiagID, 342 Diag(NewLoc, DiagID); 430 Diag(NewLoc, DiagID); [all...] |
AnalysisBasedWarnings.cpp | 642 void warnLockMismatch(unsigned DiagID, Name LockName, SourceLocation Loc) { 643 PartialDiagnostic Warning = S.PDiag(DiagID) << LockName; 676 unsigned DiagID = 0; 679 DiagID = diag::warn_lock_at_end_of_scope; 682 DiagID = diag::warn_expecting_lock_held_on_loop; 685 DiagID = diag::warn_no_unlock; 688 warnLockMismatch(DiagID, LockName, Loc); 706 unsigned DiagID = POK == POK_VarAccess? 709 PartialDiagnostic Warning = S.PDiag(DiagID) 716 unsigned DiagID = 0 [all...] |
/external/clang/examples/PrintFunctionNames/ |
PrintFunctionNames.cpp | 49 unsigned DiagID = D.getCustomDiagID( 51 D.Report(DiagID);
|
/external/clang/lib/Parse/ |
ParseDecl.cpp | [all...] |
ParseExprCXX.cpp | 403 unsigned DiagID = diag::err_missing_dependent_template_keyword; 405 DiagID = diag::warn_missing_dependent_template_keyword; 407 Diag(Tok.getLocation(), DiagID) 547 llvm::Optional<unsigned> DiagID(ParseLambdaIntroducer(Intro)); 548 if (DiagID) { 549 Diag(Tok, DiagID.getValue()); 667 llvm::Optional<unsigned> DiagID(ParseLambdaIntroducer(Intro)); 669 if (DiagID) { [all...] |
Parser.cpp | 96 DiagnosticBuilder Parser::Diag(SourceLocation Loc, unsigned DiagID) { 97 return Diags.Report(Loc, DiagID); 100 DiagnosticBuilder Parser::Diag(const Token &Tok, unsigned DiagID) { 101 return Diag(Tok.getLocation(), DiagID); 138 bool Parser::ExpectAndConsume(tok::TokenKind ExpectedTok, unsigned DiagID, 148 Diag(Loc, DiagID) 163 Diag(EndLoc, DiagID) 167 Diag(Tok, DiagID) << Msg; 174 bool Parser::ExpectAndConsumeSemi(unsigned DiagID) { 190 return ExpectAndConsume(tok::semi, DiagID); [all...] |
/external/clang/include/clang/Rewrite/ |
FixItRewriter.h | 99 void Diag(SourceLocation Loc, unsigned DiagID);
|
/external/clang/lib/ARCMigrate/ |
ARCMT.cpp | 207 llvm::IntrusiveRefCntPtr<DiagnosticIDs> DiagID(new DiagnosticIDs()); 209 new DiagnosticsEngine(DiagID, &printer, /*ShouldOwnClient=*/false)); 240 llvm::IntrusiveRefCntPtr<DiagnosticIDs> DiagID(new DiagnosticIDs()); 242 new DiagnosticsEngine(DiagID, DiagClient, /*ShouldOwnClient=*/false)); 339 llvm::IntrusiveRefCntPtr<DiagnosticIDs> DiagID(new DiagnosticIDs()); 341 new DiagnosticsEngine(DiagID, DiagClient, /*ShouldOwnClient=*/false)); 378 llvm::IntrusiveRefCntPtr<DiagnosticIDs> DiagID(new DiagnosticIDs()); 380 new DiagnosticsEngine(DiagID, DiagClient, /*ShouldOwnClient=*/false)); 481 llvm::IntrusiveRefCntPtr<DiagnosticIDs> DiagID(new DiagnosticIDs()); 483 new DiagnosticsEngine(DiagID, DiagClient, /*ShouldOwnClient=*/false)) [all...] |
/external/clang/tools/driver/ |
cc1_main.cpp | 118 llvm::IntrusiveRefCntPtr<DiagnosticIDs> DiagID(new DiagnosticIDs()); 122 DiagnosticsEngine Diags(DiagID, new TextDiagnosticPrinter(llvm::errs(), 136 DiagnosticsEngine Diags(DiagID, DiagsBuffer);
|
/external/clang/include/clang/AST/ |
ASTImporter.h | 251 DiagnosticBuilder ToDiag(SourceLocation Loc, unsigned DiagID); 254 DiagnosticBuilder FromDiag(SourceLocation Loc, unsigned DiagID);
|
/external/clang/examples/clang-interpreter/ |
main.cpp | 77 llvm::IntrusiveRefCntPtr<DiagnosticIDs> DiagID(new DiagnosticIDs()); 78 DiagnosticsEngine Diags(DiagID, DiagClient);
|
/external/clang/include/clang/Driver/ |
Driver.h | 54 DiagnosticBuilder Diag(unsigned DiagID) const { 55 return Diags.Report(DiagID);
|
/external/clang/lib/Rewrite/ |
FixItRewriter.cpp | 147 void FixItRewriter::Diag(SourceLocation Loc, unsigned DiagID) { 154 Diags.Report(Loc, DiagID);
|
/external/clang/tools/arcmt-test/ |
arcmt-test.cpp | 110 llvm::IntrusiveRefCntPtr<DiagnosticIDs> DiagID(new DiagnosticIDs()); 112 new DiagnosticsEngine(DiagID, DiagClient)); 157 llvm::IntrusiveRefCntPtr<DiagnosticIDs> DiagID(new DiagnosticIDs()); 159 new DiagnosticsEngine(DiagID, DiagClient));
|
/external/clang/lib/CodeGen/ |
CGCXXABI.cpp | 25 unsigned DiagID = Diags.getCustomDiagID(DiagnosticsEngine::Error, 28 DiagID)
|
/external/clang/include/clang/Lex/ |
Preprocessor.h | 756 DiagnosticBuilder Diag(SourceLocation Loc, unsigned DiagID) const { 757 return Diags->Report(Loc, DiagID); 760 DiagnosticBuilder Diag(const Token &Tok, unsigned DiagID) const { 761 return Diags->Report(Tok.getLocation(), DiagID); [all...] |