/external/clang/lib/Sema/ |
H A D | SemaExpr.cpp | 2237 unsigned DiagID = diag::err_typename_missing; local 2239 DiagID = diag::ext_typename_missing; 2241 auto D = Diag(Loc, DiagID); 3355 unsigned DiagID = S.LangOpts.OpenCL ? diag::err_opencl_sizeof_alignof_type local 3357 S.Diag(Loc, DiagID) << TraitKind << ArgRange; 8195 unsigned DiagID = 0; local 8203 DiagID = diag::ext_typecheck_ordered_comparison_of_pointer_and_zero; 8205 DiagID = diag::ext_typecheck_ordered_comparison_of_pointer_integer; 8207 DiagID = diag::err_typecheck_comparison_of_pointer_integer; 8210 DiagID 10278 unsigned DiagID = local 11052 VerifyIntegerConstantExpression(Expr *E, llvm::APSInt *Result, unsigned DiagID, bool AllowFold) argument 11057 unsigned DiagID; member in class:IDDiagnoser 11060 IDDiagnoser(unsigned DiagID) argument [all...] |
H A D | SemaExprObjC.cpp | 1304 unsigned DiagID; local 1306 DiagID = diag::err_arc_method_not_found; 1308 DiagID = isClassMessage ? diag::warn_class_method_not_found 1314 DiagID = diag::error_method_not_found_with_typo; 1316 DiagID = isClassMessage ? diag::warn_class_method_not_found_with_typo 1320 Diag(SelLoc, DiagID) 1325 Diag(SelLoc, DiagID) 1994 unsigned DiagID, 1998 if (S.Diags.isIgnored(DiagID, MsgLoc)) 2004 DiagnosticBuilder Builder = S.Diag(MsgLoc, DiagID) 1993 applyCocoaAPICheck(Sema &S, const ObjCMessageExpr *Msg, unsigned DiagID, bool (*refactor)(const ObjCMessageExpr *, const NSAPI &, edit::Commit &)) argument [all...] |
H A D | SemaStmt.cpp | 213 unsigned DiagID = diag::warn_unused_expr; local 263 DiagID = diag::warn_unused_container_subscript_expr; 265 DiagID = diag::warn_unused_property_expr; 292 DiagRuntimeBehavior(Loc, nullptr, PDiag(DiagID) << R1 << R2); 484 unsigned DiagID) { 503 Diag(Loc, DiagID) << Val.toString(10) << ConvVal.toString(10); 1806 SourceLocation Loc, int DiagID) { 1813 SemaRef.Diag(Loc, DiagID) << Init->getType(); 2961 unsigned DiagID = diag::warn_return_missing_expr; // C90 6.6.6.4p4 local 2963 if (getLangOpts().C99) DiagID 481 ConvertIntegerToTypeWarnOnOverflow(llvm::APSInt &Val, unsigned NewWidth, bool NewSign, SourceLocation Loc, unsigned DiagID) argument 1805 FinishForRangeVarDecl(Sema &SemaRef, VarDecl *Decl, Expr *Init, SourceLocation Loc, int DiagID) argument [all...] |
H A D | SemaTemplate.cpp | 7897 unsigned DiagID = 0; local 7910 DiagID = diag::err_typename_nested_not_found; 7946 DiagID = diag::err_typename_nested_not_type; 7951 DiagID = diag::err_typename_nested_not_type; 7963 Diag(IILoc, DiagID) << FullRange << Name << Ctx;
|
H A D | SemaTemplateInstantiate.cpp | 424 unsigned DiagID = diag::note_template_member_class_here; local 426 DiagID = diag::note_template_class_instantiation_here; 427 Diags.Report(Active->PointOfInstantiation, DiagID) 431 unsigned DiagID; local 433 DiagID = diag::note_function_template_spec_here; 435 DiagID = diag::note_template_member_function_here; 436 Diags.Report(Active->PointOfInstantiation, DiagID)
|
H A D | SemaTemplateInstantiateDecl.cpp | 2566 unsigned DiagID = SemaRef.getDiagnostics().getCustomDiagID( local 2569 SemaRef.Diag(D->getLocation(), DiagID)
|
H A D | SemaType.cpp | 1192 unsigned DiagID = 0; local 1208 DiagID = diag::err_typecheck_invalid_restrict_invalid_pointee; 1212 DiagID = diag::err_typecheck_invalid_restrict_not_pointer; 1216 if (DiagID) { 1217 Diag(DS ? DS->getRestrictSpecLoc() : Loc, DiagID) << ProblemTy; 1992 void Sema::diagnoseIgnoredQualifiers(unsigned DiagID, unsigned Quals, argument 2036 Diag(Loc.isInvalid() ? FallbackLoc : Loc, DiagID) 4555 unsigned DiagID = diag::err_cconv_varargs; local 4559 DiagID = diag::warn_cconv_varargs; 4561 S.Diag(attr.getLoc(), DiagID) << FunctionTyp 5042 unsigned DiagID; member in struct:__anon18112::TypeDiagnoserDiag 5044 TypeDiagnoserDiag(unsigned DiagID) argument 5054 RequireCompleteExprType(Expr *E, unsigned DiagID) argument 5332 RequireCompleteType(SourceLocation Loc, QualType T, unsigned DiagID) argument 5451 RequireLiteralType(SourceLocation Loc, QualType T, unsigned DiagID) argument [all...] |
/external/clang/lib/Serialization/ |
H A D | ASTReader.cpp | 313 diag::kind DiagID = DiagIDMappingPair.first; local 314 Level CurLevel = Diags.getDiagnosticLevel(DiagID, SourceLocation()); 318 StoredDiags.getDiagnosticLevel(DiagID, SourceLocation()); 322 Diags.getDiagnosticIDs()->getWarningOptionForDiag(DiagID).str(); 1001 void ASTReader::Error(unsigned DiagID, argument 1004 Diags.SetDelayedDiagnostic(DiagID, Arg1, Arg2); 1006 Diag(DiagID) << Arg1 << Arg2; 5024 unsigned DiagID = F.PragmaDiagMappings[Idx++]; local 5025 if (DiagID == (unsigned)-1) { 5030 Diag.GetCurDiagState()->setMapping(DiagID, Mappin [all...] |
/external/clang/tools/diagtool/ |
H A D | DiagnosticNames.cpp | 49 return Left.DiagID < Right.DiagID; 52 const DiagnosticRecord &diagtool::getDiagnosticForID(short DiagID) { argument 53 DiagnosticRecord Key = {nullptr, DiagID, 0};
|
H A D | DiagnosticNames.h | 18 short DiagID; member in struct:diagtool::DiagnosticRecord 34 const DiagnosticRecord &getDiagnosticForID(short DiagID);
|
H A D | ShowEnabledWarnings.cpp | 119 unsigned DiagID = I->DiagID; local 121 if (DiagnosticIDs::isBuiltinNote(DiagID)) 124 if (!DiagnosticIDs::isBuiltinWarningOrExtension(DiagID)) 128 Diags->getDiagnosticLevel(DiagID, SourceLocation()); 132 StringRef WarningOpt = DiagnosticIDs::getWarningOptionForDiag(DiagID);
|
H A D | TreeView.cpp | 51 static bool isIgnored(unsigned DiagID) { argument 55 return Diags.isIgnored(DiagID, SourceLocation()); 76 if (ShowColors && !isIgnored(I->DiagID))
|
/external/clang/unittests/AST/ |
H A D | CommentLexer.cpp | 32 DiagID(new DiagnosticIDs()), 33 Diags(DiagID, new DiagnosticOptions, new IgnoringDiagConsumer()), 40 IntrusiveRefCntPtr<DiagnosticIDs> DiagID; member in class:clang::comments::__anon19529::CommentLexerTest
|
H A D | CommentParser.cpp | 39 DiagID(new DiagnosticIDs()), 40 Diags(DiagID, new DiagnosticOptions, new IgnoringDiagConsumer()), 47 IntrusiveRefCntPtr<DiagnosticIDs> DiagID; member in class:clang::comments::__anon19530::CommentParserTest
|
/external/clang/unittests/Basic/ |
H A D | SourceManagerTest.cpp | 36 DiagID(new DiagnosticIDs()), 37 Diags(DiagID, new DiagnosticOptions, new IgnoringDiagConsumer()), 46 IntrusiveRefCntPtr<DiagnosticIDs> DiagID; member in class:__anon19539::SourceManagerTest
|
/external/clang/unittests/Lex/ |
H A D | LexerTest.cpp | 54 DiagID(new DiagnosticIDs()), 55 Diags(DiagID, new DiagnosticOptions, new IgnoringDiagConsumer()), 107 IntrusiveRefCntPtr<DiagnosticIDs> DiagID; member in class:__anon19544::LexerTest
|
H A D | PPCallbacksTest.cpp | 119 : FileMgr(FileMgrOpts), DiagID(new DiagnosticIDs()), 121 Diags(DiagID, DiagOpts.get(), new IgnoringDiagConsumer()), 129 IntrusiveRefCntPtr<DiagnosticIDs> DiagID; member in class:__anon19545::PPCallbacksTest
|
H A D | PPConditionalDirectiveRecordTest.cpp | 35 DiagID(new DiagnosticIDs()), 36 Diags(DiagID, new DiagnosticOptions, new IgnoringDiagConsumer()), 46 IntrusiveRefCntPtr<DiagnosticIDs> DiagID; member in class:__anon19547::PPConditionalDirectiveRecordTest
|
/external/clang/examples/PrintFunctionNames/ |
H A D | PrintFunctionNames.cpp | 51 unsigned DiagID = D.getCustomDiagID(DiagnosticsEngine::Error, local 53 D.Report(DiagID) << args[i];
|
/external/clang/include/clang/AST/ |
H A D | CommentLexer.h | 312 DiagnosticBuilder Diag(SourceLocation Loc, unsigned DiagID) { argument 313 return Diags.Report(Loc, DiagID);
|
H A D | CommentParser.h | 48 DiagnosticBuilder Diag(SourceLocation Loc, unsigned DiagID) { argument 49 return Diags.Report(Loc, DiagID);
|
H A D | CommentSema.h | 64 DiagnosticBuilder Diag(SourceLocation Loc, unsigned DiagID) { argument 65 return Diags.Report(Loc, DiagID);
|
/external/clang/include/clang/Basic/ |
H A D | Diagnostic.h | 598 /// and mapped to a unique DiagID. 643 bool isIgnored(unsigned DiagID, SourceLocation Loc) const { argument 644 return Diags->getDiagnosticSeverity(DiagID, Loc, *this) == 658 Level getDiagnosticLevel(unsigned DiagID, SourceLocation Loc) const { argument 659 return (Level)Diags->getDiagnosticLevel(DiagID, Loc, *this); 667 /// \param DiagID A member of the @c diag::kind enum. 670 inline DiagnosticBuilder Report(SourceLocation Loc, unsigned DiagID); 671 inline DiagnosticBuilder Report(unsigned DiagID); 690 /// \param DiagID The ID of the diagnostic being delayed. 699 void SetDelayedDiagnostic(unsigned DiagID, StringRe [all...] |
H A D | DiagnosticIDs.h | 138 StringRef getDescription(unsigned DiagID) const; 145 static bool isBuiltinWarningOrExtension(unsigned DiagID); 149 static bool isDefaultMappingAsError(unsigned DiagID); 152 static bool isBuiltinNote(unsigned DiagID); 156 static bool isBuiltinExtensionDiag(unsigned DiagID) { argument 158 return isBuiltinExtensionDiag(DiagID, ignored); 168 static bool isBuiltinExtensionDiag(unsigned DiagID, bool &EnabledByDefault); 175 static StringRef getWarningOptionForDiag(unsigned DiagID); 177 /// \brief Return the category number that a specified \p DiagID belongs to, 179 static unsigned getCategoryNumberForDiag(unsigned DiagID); [all...] |
H A D | PartialDiagnostic.h | 117 mutable unsigned DiagID; member in class:clang::PartialDiagnostic 182 : DiagID(0), DiagStorage(nullptr), Allocator(nullptr) { } 184 PartialDiagnostic(unsigned DiagID, StorageAllocator &Allocator) argument 185 : DiagID(DiagID), DiagStorage(nullptr), Allocator(&Allocator) { } 188 : DiagID(Other.DiagID), DiagStorage(nullptr), Allocator(Other.Allocator) 197 : DiagID(Other.DiagID), DiagStorage(Other.DiagStorage), 203 : DiagID(Othe [all...] |