/external/clang/lib/Basic/ |
DiagnosticIDs.cpp | 43 unsigned short DiagID; 82 return DiagID < RHS.DiagID; 88 unsigned short DiagID; 149 /// GetDiagInfo - Return the StaticDiagInfoRec entry for the specified DiagID, 151 static const StaticDiagInfoRec *GetDiagInfo(unsigned DiagID) { 157 assert(StaticDiagInfo[i-1].DiagID != StaticDiagInfo[i].DiagID && 169 StaticDiagInfoRec Find = { DiagID, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,0,0,0 }; 174 Found->DiagID != DiagID [all...] |
/external/clang/lib/Sema/ |
DeclSpec.cpp | 31 unsigned DiagID) { 32 return D.Report(Loc, DiagID); 315 unsigned &DiagID) { 317 DiagID = (TNew == TPrev ? diag::ext_duplicate_declspec 408 unsigned &DiagID, 419 DiagID = diag::err_not_opencl_storage_class_specifier; 434 return BadSpecifier(S, (SCS)StorageClassSpec, PrevSpec, DiagID); 444 unsigned &DiagID) { 447 DiagID = diag::ext_duplicate_declspec; 460 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...] |
/external/clang/include/clang/Basic/ |
DiagnosticIDs.h | 104 llvm::StringRef getDescription(unsigned DiagID) const; 110 static bool isBuiltinWarningOrExtension(unsigned DiagID); 114 static bool isBuiltinNote(unsigned DiagID); 119 static bool isBuiltinExtensionDiag(unsigned DiagID) { 121 return isBuiltinExtensionDiag(DiagID, ignored); 129 static bool isBuiltinExtensionDiag(unsigned DiagID, bool &EnabledByDefault); 135 static llvm::StringRef getWarningOptionForDiag(unsigned DiagID); 138 /// DiagID belongs to, or 0 if no category. 139 static unsigned getCategoryNumberForDiag(unsigned DiagID); 182 static SFINAEResponse getDiagnosticSFINAEResponse(unsigned DiagID); [all...] |
PartialDiagnostic.h | 115 /// DiagID - The diagnostic ID. 116 mutable unsigned DiagID; 173 PartialDiagnostic(unsigned DiagID, StorageAllocator &Allocator) 174 : DiagID(DiagID), DiagStorage(0), Allocator(&Allocator) { } 177 : DiagID(Other.DiagID), DiagStorage(0), Allocator(Other.Allocator) 186 : DiagID(Other.DiagID), DiagStorage(DiagStorage), 194 : DiagID(Other.getID()), DiagStorage(0), Allocator(&Allocator [all...] |
Diagnostic.h | 497 Level getDiagnosticLevel(unsigned DiagID, SourceLocation Loc, 499 return (Level)Diags->getDiagnosticLevel(DiagID, Loc, *this, mapping); 502 /// Report - Issue the message to the client. @c DiagID is a member of the 507 inline DiagnosticBuilder Report(SourceLocation Pos, unsigned DiagID); 508 inline DiagnosticBuilder Report(unsigned DiagID); 527 /// \param DiagID The ID of the diagnostic being delayed. 536 void SetDelayedDiagnostic(unsigned DiagID, llvm::StringRef Arg1 = "", 555 void setDiagnosticMappingInternal(unsigned DiagId, unsigned Map, 560 State->setMapping((diag::kind)DiagId, Map); [all...] |
/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 | 533 /// already set), they return true and set PrevSpec and DiagID 535 /// Diag(Loc, DiagID) << PrevSpec; 541 unsigned &DiagID, const LangOptions &Lang); 543 unsigned &DiagID); 545 unsigned &DiagID); 547 unsigned &DiagID); 549 unsigned &DiagID); 551 unsigned &DiagID); 553 unsigned &DiagID, ParsedType Rep); 555 unsigned &DiagID, Decl *Rep, bool Owned) [all...] |
/external/clang/lib/Parse/ |
ParseDecl.cpp | [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); 166 bool Parser::ExpectAndConsume(tok::TokenKind ExpectedTok, unsigned DiagID, 176 Diag(Loc, DiagID) 191 Diag(EndLoc, DiagID) 195 Diag(Tok, DiagID) << Msg; 202 bool Parser::ExpectAndConsumeSemi(unsigned DiagID) { 218 return ExpectAndConsume(tok::semi, DiagID); [all...] |
ParseExprCXX.cpp | 398 unsigned DiagID = diag::err_missing_dependent_template_keyword; 400 DiagID = diag::warn_missing_dependent_template_keyword; 402 Diag(Tok.getLocation(), DiagID) [all...] |
/external/clang/lib/StaticAnalyzer/Core/ |
TextPathDiagnostics.cpp | 66 unsigned diagID = Diag.getDiagnosticIDs()->getCustomDiagID( 68 Diag.Report(I->getLocation().asLocation(), diagID);
|
/external/clang/lib/ARCMigrate/ |
ARCMT.cpp | 202 llvm::IntrusiveRefCntPtr<DiagnosticIDs> DiagID(new DiagnosticIDs()); 204 new Diagnostic(DiagID, &printer, /*ShouldOwnClient=*/false)); 235 llvm::IntrusiveRefCntPtr<DiagnosticIDs> DiagID(new DiagnosticIDs()); 237 new Diagnostic(DiagID, DiagClient, /*ShouldOwnClient=*/false)); 334 llvm::IntrusiveRefCntPtr<DiagnosticIDs> DiagID(new DiagnosticIDs()); 336 new Diagnostic(DiagID, DiagClient, /*ShouldOwnClient=*/false)); 373 llvm::IntrusiveRefCntPtr<DiagnosticIDs> DiagID(new DiagnosticIDs()); 375 new Diagnostic(DiagID, DiagClient, /*ShouldOwnClient=*/false)); 475 llvm::IntrusiveRefCntPtr<DiagnosticIDs> DiagID(new DiagnosticIDs()); 477 new Diagnostic(DiagID, DiagClient, /*ShouldOwnClient=*/false)) [all...] |
Internals.h | 149 bool isARCDiagnostic(unsigned diagID, Diagnostic &Diag);
|
/external/clang/examples/PrintFunctionNames/ |
PrintFunctionNames.cpp | 49 unsigned DiagID = D.getCustomDiagID( 51 D.Report(DiagID);
|
/external/clang/tools/driver/ |
cc1_main.cpp | 118 llvm::IntrusiveRefCntPtr<DiagnosticIDs> DiagID(new DiagnosticIDs()); 122 Diagnostic Diags(DiagID, new TextDiagnosticPrinter(llvm::errs(), 138 Diagnostic Diags(DiagID, DiagsBuffer);
|
/external/clang/examples/clang-interpreter/ |
main.cpp | 76 llvm::IntrusiveRefCntPtr<DiagnosticIDs> DiagID(new DiagnosticIDs()); 77 Diagnostic Diags(DiagID, DiagClient);
|
/external/clang/lib/CodeGen/ |
CGCXXABI.cpp | 25 unsigned DiagID = Diags.getCustomDiagID(Diagnostic::Error, 28 DiagID)
|
CodeGenAction.cpp | 332 unsigned DiagID = CI.getDiagnostics().getCustomDiagID(Diagnostic::Error, 335 CI.getDiagnostics().Report(Loc, DiagID);
|
/external/clang/lib/Rewrite/ |
FixItRewriter.cpp | 146 void FixItRewriter::Diag(SourceLocation Loc, unsigned DiagID) { 153 Diags.Report(Loc, DiagID);
|
/external/clang/include/clang/Rewrite/ |
FixItRewriter.h | 101 void Diag(SourceLocation Loc, unsigned DiagID);
|
/external/clang/tools/arcmt-test/ |
arcmt-test.cpp | 110 llvm::IntrusiveRefCntPtr<DiagnosticIDs> DiagID(new DiagnosticIDs()); 111 llvm::IntrusiveRefCntPtr<Diagnostic> Diags(new Diagnostic(DiagID, DiagClient)); 156 llvm::IntrusiveRefCntPtr<DiagnosticIDs> DiagID(new DiagnosticIDs()); 157 llvm::IntrusiveRefCntPtr<Diagnostic> TopDiags(new Diagnostic(DiagID, DiagClient));
|
/external/clang/include/clang/AST/ |
ASTImporter.h | 251 DiagnosticBuilder ToDiag(SourceLocation Loc, unsigned DiagID); 254 DiagnosticBuilder FromDiag(SourceLocation Loc, unsigned DiagID);
|
/external/clang/lib/Serialization/ |
ChainedIncludesSource.cpp | 85 llvm::IntrusiveRefCntPtr<DiagnosticIDs> DiagID(new DiagnosticIDs()); 86 llvm::IntrusiveRefCntPtr<Diagnostic> Diags(new Diagnostic(DiagID,
|