/external/clang/lib/Basic/ |
DiagnosticIDs.cpp | 38 unsigned short DiagID; 61 return DiagID < RHS.DiagID; 91 /// GetDiagInfo - Return the StaticDiagInfoRec entry for the specified DiagID, 93 static const StaticDiagInfoRec *GetDiagInfo(unsigned DiagID) { 99 assert(StaticDiagInfo[i-1].DiagID != StaticDiagInfo[i].DiagID && 112 if (DiagID >= DIAG_UPPER_LIMIT) 124 unsigned ID = DiagID; 127 if (DiagID > DIAG_START_##NAME) { [all...] |
/external/clang/include/clang/Basic/ |
PartialDiagnostic.h | 122 mutable unsigned DiagID; 190 : DiagID(0), DiagStorage(0), Allocator(0) { } 192 PartialDiagnostic(unsigned DiagID, StorageAllocator &Allocator) 193 : DiagID(DiagID), DiagStorage(0), Allocator(&Allocator) { } 196 : DiagID(Other.DiagID), DiagStorage(0), Allocator(Other.Allocator) 206 : DiagID(Other.DiagID), DiagStorage(Other.DiagStorage), 213 : DiagID(Other.DiagID), DiagStorage(DiagStorage) [all...] |
DiagnosticIDs.h | 136 StringRef getDescription(unsigned DiagID) const; 143 static bool isBuiltinWarningOrExtension(unsigned DiagID); 147 static bool isDefaultMappingAsError(unsigned DiagID); 150 static bool isBuiltinNote(unsigned DiagID); 154 static bool isBuiltinExtensionDiag(unsigned DiagID) { 156 return isBuiltinExtensionDiag(DiagID, ignored); 166 static bool isBuiltinExtensionDiag(unsigned DiagID, bool &EnabledByDefault); 173 static StringRef getWarningOptionForDiag(unsigned DiagID); 175 /// \brief Return the category number that a specified \p DiagID belongs to, 177 static unsigned getCategoryNumberForDiag(unsigned DiagID); [all...] |
/external/clang/tools/diagtool/ |
ListWarnings.cpp | 61 unsigned diagID = di->DiagID; 63 if (DiagnosticIDs::isBuiltinNote(diagID)) 66 if (!DiagnosticIDs::isBuiltinWarningOrExtension(diagID)) 70 DiagnosticIDs::getWarningOptionForDiag(diagID)); 76 flagHistogram.GetOrCreateValue(entry.Flag).getValue().push_back(diagID);
|
DiagnosticNames.cpp | 50 return Left.DiagID < Right.DiagID; 53 const DiagnosticRecord &diagtool::getDiagnosticForID(short DiagID) { 54 DiagnosticRecord Key = {0, DiagID, 0};
|
ShowEnabledWarnings.cpp | 118 unsigned DiagID = I->DiagID; 120 if (DiagnosticIDs::isBuiltinNote(DiagID)) 123 if (!DiagnosticIDs::isBuiltinWarningOrExtension(DiagID)) 127 Diags->getDiagnosticLevel(DiagID, SourceLocation()); 131 StringRef WarningOpt = DiagnosticIDs::getWarningOptionForDiag(DiagID);
|
DiagnosticNames.h | 18 short DiagID; 34 const DiagnosticRecord &getDiagnosticForID(short DiagID);
|
TreeView.cpp | 53 static clang::DiagnosticsEngine::Level getLevel(unsigned DiagID) { 57 return Diags.getDiagnosticLevel(DiagID, SourceLocation()); 81 if (getLevel(I->DiagID) != DiagnosticsEngine::Ignored) {
|
/external/clang/lib/Sema/ |
DeclSpec.cpp | 33 unsigned DiagID) { 34 return D.Report(Loc, DiagID); 342 unsigned &DiagID, 346 DiagID = diag::err_invalid_decl_spec_combination; 348 DiagID = IsExtension ? diag::ext_duplicate_declspec : 451 unsigned &DiagID) { 466 DiagID = diag::err_not_opencl_storage_class_specifier; 473 DiagID = diag::err_not_opencl_storage_class_specifier; 486 return SetTypeSpecType(TST_auto, Loc, PrevSpec, DiagID); 489 PrevSpec, DiagID); [all...] |
SemaExceptionSpec.cpp | 158 unsigned DiagID = diag::err_mismatched_exception_spec; 160 DiagID = diag::warn_mismatched_exception_spec; 165 PDiag(DiagID), PDiag(diag::note_previous_declaration), 320 Diag(New->getLocation(), DiagID); 332 unsigned DiagID = diag::err_mismatched_exception_spec; 334 DiagID = diag::warn_mismatched_exception_spec; 335 return CheckEquivalentExceptionSpec(PDiag(DiagID), 346 bool Sema::CheckEquivalentExceptionSpec(const PartialDiagnostic &DiagID, 419 Diag(NewLoc, DiagID); 507 Diag(NewLoc, DiagID); [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);
|
/external/clang/lib/AST/ |
MicrosoftMangle.cpp | 237 unsigned DiagID = Diags.getCustomDiagID(DiagnosticsEngine::Error, 239 Diags.Report(D->getLocation(), DiagID) 537 unsigned DiagID = Diags.getCustomDiagID(DiagnosticsEngine::Error, 539 Diags.Report(ND->getLocation(), DiagID); 716 unsigned DiagID = Diags.getCustomDiagID(DiagnosticsEngine::Error, 718 Diags.Report(Loc, DiagID); 838 unsigned DiagID = Diags.getCustomDiagID(DiagnosticsEngine::Error, 840 Diags.Report(E->getExprLoc(), DiagID) 872 unsigned DiagID = Diags.getCustomDiagID(DiagnosticsEngine::Error [all...] |
/external/clang/lib/ARCMigrate/ |
ARCMT.cpp | 183 IntrusiveRefCntPtr<DiagnosticIDs> DiagID(new DiagnosticIDs()); 185 new DiagnosticsEngine(DiagID, &origCI.getDiagnosticOpts(), 224 IntrusiveRefCntPtr<DiagnosticIDs> DiagID(new DiagnosticIDs()); 226 new DiagnosticsEngine(DiagID, diagOpts, &printer, 263 IntrusiveRefCntPtr<DiagnosticIDs> DiagID(new DiagnosticIDs()); 265 new DiagnosticsEngine(DiagID, &origCI.getDiagnosticOpts(), 374 IntrusiveRefCntPtr<DiagnosticIDs> DiagID(new DiagnosticIDs()); 376 new DiagnosticsEngine(DiagID, &origCI.getDiagnosticOpts(), 414 IntrusiveRefCntPtr<DiagnosticIDs> DiagID(new DiagnosticIDs()); 416 new DiagnosticsEngine(DiagID, new DiagnosticOptions [all...] |
/external/clang/examples/PrintFunctionNames/ |
PrintFunctionNames.cpp | 51 unsigned DiagID = D.getCustomDiagID( 53 D.Report(DiagID);
|
/external/clang/include/clang/AST/ |
CommentParser.h | 48 DiagnosticBuilder Diag(SourceLocation Loc, unsigned DiagID) { 49 return Diags.Report(Loc, DiagID);
|
CommentSema.h | 67 DiagnosticBuilder Diag(SourceLocation Loc, unsigned DiagID) { 68 return Diags.Report(Loc, DiagID);
|
/external/clang/lib/StaticAnalyzer/Core/ |
TextPathDiagnostics.cpp | 66 unsigned diagID = 69 Diag.Report((*I)->getLocation().asLocation(), diagID);
|
/external/clang/lib/Parse/ |
ParseDecl.cpp | [all...] |
ParseExprCXX.cpp | 460 unsigned DiagID = diag::err_missing_dependent_template_keyword; 462 DiagID = diag::warn_missing_dependent_template_keyword; 464 Diag(Tok.getLocation(), DiagID) 605 Optional<unsigned> DiagID(ParseLambdaIntroducer(Intro)); 606 if (DiagID) { 607 Diag(Tok, DiagID.getValue()); 772 Optional<unsigned> DiagID(ParseLambdaIntroducer(Intro)); 774 if (DiagID) { [all...] |
/external/clang/unittests/Lex/ |
LexerTest.cpp | 36 DiagID(new DiagnosticIDs()), 37 Diags(DiagID, new DiagnosticOptions, new IgnoringDiagConsumer()), 47 IntrusiveRefCntPtr<DiagnosticIDs> DiagID;
|
PPCallbacksTest.cpp | 84 DiagID(new DiagnosticIDs()), 86 Diags(DiagID, DiagOpts.getPtr(), new IgnoringDiagConsumer()), 95 IntrusiveRefCntPtr<DiagnosticIDs> DiagID;
|
PPConditionalDirectiveRecordTest.cpp | 36 DiagID(new DiagnosticIDs()), 37 Diags(DiagID, new DiagnosticOptions, new IgnoringDiagConsumer()), 47 IntrusiveRefCntPtr<DiagnosticIDs> DiagID;
|
/external/clang/docs/ |
ClangPlugins.rst | 92 unsigned DiagID = D.getCustomDiagID( 94 D.Report(DiagID);
|
/external/clang/examples/clang-interpreter/ |
main.cpp | 75 IntrusiveRefCntPtr<DiagnosticIDs> DiagID(new DiagnosticIDs()); 76 DiagnosticsEngine Diags(DiagID, &*DiagOpts, DiagClient);
|