/external/clang/lib/Basic/ |
D | DiagnosticIDs.cpp | 43 unsigned short DiagID; member 82 return DiagID < RHS.DiagID; in operator <() 88 unsigned short DiagID; member 151 static const StaticDiagInfoRec *GetDiagInfo(unsigned DiagID) { in GetDiagInfo() argument 157 assert(StaticDiagInfo[i-1].DiagID != StaticDiagInfo[i].DiagID && in GetDiagInfo() 169 StaticDiagInfoRec Find = { DiagID, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,0,0,0 }; in GetDiagInfo() 174 Found->DiagID != DiagID) in GetDiagInfo() 180 static unsigned GetDefaultDiagMapping(unsigned DiagID) { in GetDefaultDiagMapping() argument 181 if (const StaticDiagInfoRec *Info = GetDiagInfo(DiagID)) in GetDefaultDiagMapping() 189 llvm::StringRef DiagnosticIDs::getWarningOptionForDiag(unsigned DiagID) { in getWarningOptionForDiag() argument [all …]
|
D | Diagnostic.cpp | 115 void Diagnostic::SetDelayedDiagnostic(unsigned DiagID, llvm::StringRef Arg1, in SetDelayedDiagnostic() argument 120 DelayedDiagID = DiagID; in SetDelayedDiagnostic() 274 unsigned DiagID = DiagObj->CurDiagID; in Emit() local 278 if (DiagObj->DelayedDiagID && DiagObj->DelayedDiagID != DiagID) in Emit()
|
/external/clang/include/clang/Basic/ |
D | 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) { in isBuiltinExtensionDiag() argument 121 return isBuiltinExtensionDiag(DiagID, ignored); in isBuiltinExtensionDiag() 129 static bool isBuiltinExtensionDiag(unsigned DiagID, bool &EnabledByDefault); 135 static llvm::StringRef getWarningOptionForDiag(unsigned DiagID); 139 static unsigned getCategoryNumberForDiag(unsigned DiagID); 182 static SFINAEResponse getDiagnosticSFINAEResponse(unsigned DiagID); 185 static llvm::StringRef getName(unsigned DiagID); [all …]
|
D | PartialDiagnostic.h | 116 mutable unsigned DiagID; 173 PartialDiagnostic(unsigned DiagID, StorageAllocator &Allocator) in PartialDiagnostic() argument 174 : DiagID(DiagID), DiagStorage(0), Allocator(&Allocator) { } in PartialDiagnostic() 177 : DiagID(Other.DiagID), DiagStorage(0), Allocator(Other.Allocator) in PartialDiagnostic() 186 : DiagID(Other.DiagID), DiagStorage(DiagStorage), in PartialDiagnostic() 194 : DiagID(Other.getID()), DiagStorage(0), Allocator(&Allocator) in PartialDiagnostic() 214 DiagID = Other.DiagID; 231 unsigned getDiagID() const { return DiagID; } in getDiagID() 279 void Reset(unsigned DiagID = 0) { 280 this->DiagID = DiagID;
|
D | Diagnostic.h | 497 Level getDiagnosticLevel(unsigned DiagID, SourceLocation Loc, 499 return (Level)Diags->getDiagnosticLevel(DiagID, Loc, *this, mapping); 507 inline DiagnosticBuilder Report(SourceLocation Pos, unsigned DiagID); 508 inline DiagnosticBuilder Report(unsigned DiagID); 536 void SetDelayedDiagnostic(unsigned DiagID, llvm::StringRef Arg1 = "", 853 unsigned DiagID){ in Report() argument 856 CurDiagID = DiagID; in Report() 859 inline DiagnosticBuilder Diagnostic::Report(unsigned DiagID) { in Report() argument 860 return Report(SourceLocation(), DiagID); in Report()
|
/external/clang/lib/Sema/ |
D | DeclSpec.cpp | 31 unsigned DiagID) { in Diag() argument 32 return D.Report(Loc, DiagID); in Diag() 315 unsigned &DiagID) { in BadSpecifier() argument 317 DiagID = (TNew == TPrev ? diag::ext_duplicate_declspec in BadSpecifier() 408 unsigned &DiagID, in SetStorageClassSpec() argument 419 DiagID = diag::err_not_opencl_storage_class_specifier; in SetStorageClassSpec() 434 return BadSpecifier(S, (SCS)StorageClassSpec, PrevSpec, DiagID); in SetStorageClassSpec() 444 unsigned &DiagID) { in SetStorageClassSpecThread() argument 447 DiagID = diag::ext_duplicate_declspec; in SetStorageClassSpecThread() 460 unsigned &DiagID) { in SetTypeSpecWidth() argument [all …]
|
D | SemaExceptionSpec.cpp | 103 unsigned DiagID = diag::err_mismatched_exception_spec; in CheckEquivalentExceptionSpec() local 105 DiagID = diag::warn_mismatched_exception_spec; in CheckEquivalentExceptionSpec() 107 if (!CheckEquivalentExceptionSpec(PDiag(DiagID), in CheckEquivalentExceptionSpec() 254 Diag(New->getLocation(), DiagID); in CheckEquivalentExceptionSpec() 266 unsigned DiagID = diag::err_mismatched_exception_spec; in CheckEquivalentExceptionSpec() local 268 DiagID = diag::warn_mismatched_exception_spec; in CheckEquivalentExceptionSpec() 270 PDiag(DiagID), in CheckEquivalentExceptionSpec() 277 bool Sema::CheckEquivalentExceptionSpec(const PartialDiagnostic &DiagID, in CheckEquivalentExceptionSpec() argument 342 Diag(NewLoc, DiagID); in CheckEquivalentExceptionSpec() 430 Diag(NewLoc, DiagID); in CheckEquivalentExceptionSpec() [all …]
|
D | SemaCXXScopeSpec.cpp | 618 unsigned DiagID; in BuildCXXNestedNameSpecifier() local 620 DiagID = diag::err_expected_class_or_namespace; in BuildCXXNestedNameSpecifier() 626 DiagID = diag::err_undeclared_var_use; in BuildCXXNestedNameSpecifier() 629 Diag(IdentifierLoc, DiagID) << &Identifier << SS.getRange(); in BuildCXXNestedNameSpecifier() 631 Diag(IdentifierLoc, DiagID) << &Identifier; in BuildCXXNestedNameSpecifier()
|
/external/clang/lib/Parse/ |
D | ParseDecl.cpp | 1232 unsigned DiagID; in ParseImplicitInt() local 1233 DS.SetTypeSpecType(DeclSpec::TST_typename, Loc, PrevSpec, DiagID, T); in ParseImplicitInt() 1251 unsigned DiagID; in ParseImplicitInt() local 1252 DS.SetTypeSpecType(DeclSpec::TST_error, Loc, PrevSpec, DiagID); in ParseImplicitInt() 1312 unsigned DiagID = 0; in ParseDeclarationSpecifiers() local 1442 PrevSpec, DiagID, T); in ParseDeclarationSpecifiers() 1492 DiagID, TypeRep); in ParseDeclarationSpecifiers() 1506 DiagID, T); in ParseDeclarationSpecifiers() 1564 if (TryAltiVecToken(DS, Loc, PrevSpec, DiagID, isInvalid)) in ParseDeclarationSpecifiers() 1587 DiagID, TypeRep); in ParseDeclarationSpecifiers() [all …]
|
D | Parser.cpp | 96 DiagnosticBuilder Parser::Diag(SourceLocation Loc, unsigned DiagID) { in Diag() argument 97 return Diags.Report(Loc, DiagID); in Diag() 100 DiagnosticBuilder Parser::Diag(const Token &Tok, unsigned DiagID) { in Diag() argument 101 return Diag(Tok.getLocation(), DiagID); in Diag() 166 bool Parser::ExpectAndConsume(tok::TokenKind ExpectedTok, unsigned DiagID, in ExpectAndConsume() argument 176 Diag(Loc, DiagID) in ExpectAndConsume() 191 Diag(EndLoc, DiagID) in ExpectAndConsume() 195 Diag(Tok, DiagID) << Msg; in ExpectAndConsume() 202 bool Parser::ExpectAndConsumeSemi(unsigned DiagID) { in ExpectAndConsumeSemi() argument 218 return ExpectAndConsume(tok::semi, DiagID); in ExpectAndConsumeSemi() [all …]
|
D | ParseExprCXX.cpp | 398 unsigned DiagID = diag::err_missing_dependent_template_keyword; in ParseOptionalCXXScopeSpecifier() local 400 DiagID = diag::warn_missing_dependent_template_keyword; in ParseOptionalCXXScopeSpecifier() 402 Diag(Tok.getLocation(), DiagID) in ParseOptionalCXXScopeSpecifier() 1019 unsigned DiagID; in ParseCXXSimpleTypeSpecifier() local 1033 DS.SetTypeSpecType(DeclSpec::TST_typename, Loc, PrevSpec, DiagID, in ParseCXXSimpleTypeSpecifier() 1054 DS.SetTypeSpecWidth(DeclSpec::TSW_short, Loc, PrevSpec, DiagID); in ParseCXXSimpleTypeSpecifier() 1057 DS.SetTypeSpecWidth(DeclSpec::TSW_long, Loc, PrevSpec, DiagID); in ParseCXXSimpleTypeSpecifier() 1060 DS.SetTypeSpecWidth(DeclSpec::TSW_longlong, Loc, PrevSpec, DiagID); in ParseCXXSimpleTypeSpecifier() 1063 DS.SetTypeSpecSign(DeclSpec::TSS_signed, Loc, PrevSpec, DiagID); in ParseCXXSimpleTypeSpecifier() 1066 DS.SetTypeSpecSign(DeclSpec::TSS_unsigned, Loc, PrevSpec, DiagID); in ParseCXXSimpleTypeSpecifier() [all …]
|
/external/clang/lib/ARCMigrate/ |
D | ARCMT.cpp | 202 llvm::IntrusiveRefCntPtr<DiagnosticIDs> DiagID(new DiagnosticIDs()); in emitPremigrationErrors() local 204 new Diagnostic(DiagID, &printer, /*ShouldOwnClient=*/false)); in emitPremigrationErrors() 235 llvm::IntrusiveRefCntPtr<DiagnosticIDs> DiagID(new DiagnosticIDs()); in checkForManualIssues() local 237 new Diagnostic(DiagID, DiagClient, /*ShouldOwnClient=*/false)); in checkForManualIssues() 334 llvm::IntrusiveRefCntPtr<DiagnosticIDs> DiagID(new DiagnosticIDs()); in applyTransforms() local 336 new Diagnostic(DiagID, DiagClient, /*ShouldOwnClient=*/false)); in applyTransforms() 373 llvm::IntrusiveRefCntPtr<DiagnosticIDs> DiagID(new DiagnosticIDs()); in getFileRemappings() local 375 new Diagnostic(DiagID, DiagClient, /*ShouldOwnClient=*/false)); in getFileRemappings() 475 llvm::IntrusiveRefCntPtr<DiagnosticIDs> DiagID(new DiagnosticIDs()); in MigrationProcess() local 477 new Diagnostic(DiagID, DiagClient, /*ShouldOwnClient=*/false)); in MigrationProcess() [all …]
|
/external/clang/include/clang/Sema/ |
D | SemaInternal.h | 24 inline PartialDiagnostic Sema::PDiag(unsigned DiagID) { in PDiag() argument 25 return PartialDiagnostic(DiagID, Context.getDiagAllocator()); in PDiag()
|
D | DeclSpec.h | 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); 558 unsigned &DiagID, ParsedType Rep); 561 unsigned &DiagID, Decl *Rep, bool Owned); [all …]
|
D | DelayedDiagnostic.h | 92 PartialDiagnostic &setDiag(unsigned DiagID) { in setDiag() argument 94 assert(DiagID && "creating null diagnostic"); in setDiag() 95 Diag.Reset(DiagID); in setDiag()
|
/external/clang/examples/PrintFunctionNames/ |
D | PrintFunctionNames.cpp | 49 unsigned DiagID = D.getCustomDiagID( in ParseArgs() local 51 D.Report(DiagID); in ParseArgs()
|
/external/clang/tools/driver/ |
D | cc1_main.cpp | 118 llvm::IntrusiveRefCntPtr<DiagnosticIDs> DiagID(new DiagnosticIDs()); in cc1_main() local 122 Diagnostic Diags(DiagID, new TextDiagnosticPrinter(llvm::errs(), in cc1_main() 138 Diagnostic Diags(DiagID, DiagsBuffer); in cc1_main()
|
/external/clang/include/clang/AST/ |
D | ASTImporter.h | 251 DiagnosticBuilder ToDiag(SourceLocation Loc, unsigned DiagID); 254 DiagnosticBuilder FromDiag(SourceLocation Loc, unsigned DiagID);
|
/external/clang/tools/arcmt-test/ |
D | arcmt-test.cpp | 110 llvm::IntrusiveRefCntPtr<DiagnosticIDs> DiagID(new DiagnosticIDs()); in checkForMigration() local 111 llvm::IntrusiveRefCntPtr<Diagnostic> Diags(new Diagnostic(DiagID, DiagClient)); in checkForMigration() 156 llvm::IntrusiveRefCntPtr<DiagnosticIDs> DiagID(new DiagnosticIDs()); in performTransformations() local 157 llvm::IntrusiveRefCntPtr<Diagnostic> TopDiags(new Diagnostic(DiagID, DiagClient)); in performTransformations()
|
/external/clang/lib/Rewrite/ |
D | FixItRewriter.cpp | 146 void FixItRewriter::Diag(SourceLocation Loc, unsigned DiagID) { in Diag() argument 153 Diags.Report(Loc, DiagID); in Diag()
|
/external/clang/examples/clang-interpreter/ |
D | main.cpp | 76 llvm::IntrusiveRefCntPtr<DiagnosticIDs> DiagID(new DiagnosticIDs()); in main() local 77 Diagnostic Diags(DiagID, DiagClient); in main()
|
/external/clang/include/clang/Driver/ |
D | Driver.h | 52 DiagnosticBuilder Diag(unsigned DiagID) const { in Diag() argument 53 return Diags.Report(DiagID); in Diag()
|
/external/clang/include/clang/Lex/ |
D | Preprocessor.h | 660 DiagnosticBuilder Diag(SourceLocation Loc, unsigned DiagID) { in Diag() argument 661 return Diags->Report(Loc, DiagID); in Diag() 664 DiagnosticBuilder Diag(const Token &Tok, unsigned DiagID) { in Diag() argument 665 return Diags->Report(Tok.getLocation(), DiagID); in Diag() 819 void SetPoisonReason(IdentifierInfo *II, unsigned DiagID);
|
/external/clang/lib/CodeGen/ |
D | CGCXXABI.cpp | 25 unsigned DiagID = Diags.getCustomDiagID(Diagnostic::Error, in ErrorUnsupportedABI() local 28 DiagID) in ErrorUnsupportedABI()
|
/external/clang/include/clang/Rewrite/ |
D | FixItRewriter.h | 101 void Diag(SourceLocation Loc, unsigned DiagID);
|