/external/clang/lib/Sema/ |
D | SemaExprMember.cpp | 1152 if (DiagnoseUseOfDecl(MemberDecl, MemberLoc)) in BuildMemberReferenceExpr() 1432 if (S.DiagnoseUseOfDecl(IV, MemberLoc)) in LookupMemberExpr() 1532 if (S.DiagnoseUseOfDecl(PD, MemberLoc)) in LookupMemberExpr() 1542 if (S.DiagnoseUseOfDecl(OMD, MemberLoc)) in LookupMemberExpr() 1587 if (S.DiagnoseUseOfDecl(Getter, MemberLoc)) in LookupMemberExpr() 1604 if (Setter && S.DiagnoseUseOfDecl(Setter, MemberLoc)) in LookupMemberExpr()
|
D | SemaExprObjC.cpp | 708 DiagnoseUseOfDecl(BoxingMethod, Loc); in BuildObjCBoxedExpr() 1783 if (DiagnoseUseOfDecl(PD, MemberLoc)) in HandleExprPropertyRefExpr() 1799 if (DiagnoseUseOfDecl(PD, MemberLoc)) in HandleExprPropertyRefExpr() 1830 if (DiagnoseUseOfDecl(Getter, MemberLoc)) in HandleExprPropertyRefExpr() 1850 if (Setter && DiagnoseUseOfDecl(Setter, MemberLoc)) in HandleExprPropertyRefExpr() 1998 if (DiagnoseUseOfDecl(Getter, propertyNameLoc)) in ActOnClassPropertyRefExpr() 2018 if (Setter && DiagnoseUseOfDecl(Setter, propertyNameLoc)) in ActOnClassPropertyRefExpr() 2112 DiagnoseUseOfDecl(Type, NameLoc); in getObjCMessageKind() 2376 (void)DiagnoseUseOfDecl(Class, SelLoc); in BuildClassMessage() 2401 if (Method && DiagnoseUseOfDecl(Method, SelLoc)) in BuildClassMessage() [all …]
|
D | SemaPseudoObject.cpp | 727 S.DiagnoseUseOfDecl(Getter, GenericLoc, nullptr, true); in buildGet() 789 S.DiagnoseUseOfDecl(Setter, GenericLoc, nullptr, true); in buildSet() 1389 S.DiagnoseUseOfDecl(AtIndexGetter, GenericLoc); in buildGet() 1407 S.DiagnoseUseOfDecl(AtIndexSetter, GenericLoc); in buildSet()
|
D | SemaExprCXX.cpp | 818 if (DiagnoseUseOfDecl(Destructor, E->getExprLoc())) in CheckCXXThrowOperand() 1862 if (DiagnoseUseOfDecl(OperatorNew, StartLoc)) in BuildCXXNew() 1867 if (DiagnoseUseOfDecl(OperatorDelete, StartLoc)) in BuildCXXNew() 1884 if (DiagnoseUseOfDecl(dtor, StartLoc)) in BuildCXXNew() 2989 if (DiagnoseUseOfDecl(Dtor, StartLoc)) in ActOnCXXDelete() 3198 if (S.DiagnoseUseOfDecl(Method, CastLoc)) in BuildCXXCastArgument() 3216 if (S.DiagnoseUseOfDecl(Method, CastLoc)) in BuildCXXCastArgument() 3375 if (DiagnoseUseOfDecl(Fn, From->getLocStart())) in PerformImplicitConversion() 5719 if (DiagnoseUseOfDecl(Destructor, E->getExprLoc())) in MaybeBindToTemporary() 5876 if (DiagnoseUseOfDecl(Destructor, Bind->getExprLoc())) in ActOnDecltypeExpression()
|
D | SemaDeclObjC.cpp | 460 (void)TheSema.DiagnoseUseOfDecl(ProtoRefs[i], ProtoLocs[i]); in diagnoseUseOfProtocols() 503 (void)DiagnoseUseOfDecl(SuperClassDecl, SuperLoc); in ActOnSuperClassOfClassInterface() 522 (void)DiagnoseUseOfDecl(const_cast<TypedefNameDecl*>(TDecl), SuperLoc); in ActOnSuperClassOfClassInterface() 1234 (void)DiagnoseUseOfDecl(PDecl, Pair.second); in FindProtocolDeclaration() 1362 (void)DiagnoseUseOfDecl(proto, identifierLocs[i]); in actOnObjCTypeArgsOrProtocolQualifiers() 1840 DiagnoseUseOfDecl(IDecl, ClassLoc); in ActOnStartCategoryImplementation()
|
D | SemaInit.cpp | 1868 InvalidUse = SemaRef.DiagnoseUseOfDecl(*Field, in CheckStructUnionTypes() 2274 InvalidUse = SemaRef.DiagnoseUseOfDecl(*Field, D->getFieldLoc()); in CheckDesignatedInitializer() 5732 if (S.DiagnoseUseOfDecl(Constructor, Loc)) in PerformConstructorInitialization() 5746 if (S.DiagnoseUseOfDecl(Constructor, Loc)) in PerformConstructorInitialization() 5806 if (S.DiagnoseUseOfDecl(Step.Function.FoundDecl, Loc)) in PerformConstructorInitialization() 6383 if (S.DiagnoseUseOfDecl(Step->Function.FoundDecl, Kind.getLocation())) in Perform() 6540 if (S.DiagnoseUseOfDecl(FoundFn, Kind.getLocation())) in Perform() 6555 if (S.DiagnoseUseOfDecl(FoundFn, Kind.getLocation())) in Perform() 6591 if (S.DiagnoseUseOfDecl(Destructor, CurInit.get()->getLocStart())) in Perform()
|
D | SemaCXXScopeSpec.cpp | 706 DiagnoseUseOfDecl(SD, CCLoc); in BuildCXXNestedNameSpecifier()
|
D | SemaLambda.cpp | 1047 if (Var && DiagnoseUseOfDecl(Var, C->Loc)) in ActOnStartOfLambdaDefinition()
|
D | SemaDeclCXX.cpp | 3839 DiagnoseUseOfDecl(Dtor, Initializer->getSourceLocation()); in SetDelegatingInitializer() 4318 DiagnoseUseOfDecl(Dtor, Location); in MarkBaseAndMemberDestructorsReferenced() 4350 DiagnoseUseOfDecl(Dtor, Location); in MarkBaseAndMemberDestructorsReferenced() 4384 DiagnoseUseOfDecl(Dtor, Location); in MarkBaseAndMemberDestructorsReferenced() 7750 DiagnoseUseOfDecl(Named, IdentLoc); in ActOnUsingDirective() 8959 DiagnoseUseOfDecl(ND, IdentLoc); in ActOnNamespaceAliasDef() 11483 if (DiagnoseUseOfDecl(Constructor, ConstructLoc)) in BuildCXXConstructExpr() 11595 DiagnoseUseOfDecl(Destructor, VD->getLocation()); in FinalizeVarWithDestructor()
|
D | SemaType.cpp | 1452 S.DiagnoseUseOfDecl(D, DS.getTypeSpecTypeNameLoc()); in ConvertDeclSpecToType() 1526 S.DiagnoseUseOfDecl(TT->getDecl(), DS.getTypeSpecTypeLoc()); in ConvertDeclSpecToType() 7238 DiagnoseUseOfDecl(TT->getDecl(), E->getExprLoc()); in BuildTypeofExprType() 7351 DiagnoseUseOfDecl(ED, Loc); in BuildUnaryTransformType()
|
D | SemaTemplate.cpp | 2261 (void)DiagnoseUseOfDecl(Decl, TemplateLoc); in CheckTemplateIdType() 5246 if (DiagnoseUseOfDecl(Fn, Arg->getLocStart())) in CheckTemplateArgument() 5299 if (DiagnoseUseOfDecl(Fn, Arg->getLocStart())) in CheckTemplateArgument()
|
D | SemaDecl.cpp | 428 DiagnoseUseOfDecl(IIDecl, NameLoc); in getTypeName() 452 (void)DiagnoseUseOfDecl(IDecl, NameLoc); in getTypeName() 1016 DiagnoseUseOfDecl(Type, NameLoc); in ClassifyName() 1033 DiagnoseUseOfDecl(Class, NameLoc); in ClassifyName() 1059 DiagnoseUseOfDecl(Type, NameLoc); in ClassifyName()
|
/external/llvm-project/clang/lib/Sema/ |
D | SemaExprObjC.cpp | 735 DiagnoseUseOfDecl(BoxingMethod, Loc); in BuildObjCBoxedExpr() 2002 if (DiagnoseUseOfDecl(PD, MemberLoc)) in HandleExprPropertyRefExpr() 2018 if (DiagnoseUseOfDecl(PD, MemberLoc)) in HandleExprPropertyRefExpr() 2049 if (DiagnoseUseOfDecl(Getter, MemberLoc)) in HandleExprPropertyRefExpr() 2069 if (Setter && DiagnoseUseOfDecl(Setter, MemberLoc)) in HandleExprPropertyRefExpr() 2228 if (DiagnoseUseOfDecl(Getter, propertyNameLoc)) in ActOnClassPropertyRefExpr() 2243 if (Setter && DiagnoseUseOfDecl(Setter, propertyNameLoc)) in ActOnClassPropertyRefExpr() 2341 DiagnoseUseOfDecl(Type, NameLoc); in getObjCMessageKind() 2652 (void)DiagnoseUseOfDecl(Class, SelectorSlotLocs); in BuildClassMessage() 2677 if (Method && DiagnoseUseOfDecl(Method, SelectorSlotLocs, in BuildClassMessage() [all …]
|
D | SemaExprMember.cpp | 1093 if (DiagnoseUseOfDecl(MemberDecl, MemberLoc)) in BuildMemberReferenceExpr() 1400 if (S.DiagnoseUseOfDecl(IV, MemberLoc)) in LookupMemberExpr() 1499 if (S.DiagnoseUseOfDecl(PD, MemberLoc)) in LookupMemberExpr() 1554 if (S.DiagnoseUseOfDecl(Getter, MemberLoc)) in LookupMemberExpr() 1571 if (Setter && S.DiagnoseUseOfDecl(Setter, MemberLoc)) in LookupMemberExpr()
|
D | SemaPseudoObject.cpp | 732 S.DiagnoseUseOfDecl(Getter, GenericLoc, nullptr, true); in buildGet() 795 S.DiagnoseUseOfDecl(Setter, GenericLoc, nullptr, true); in buildSet() 1389 S.DiagnoseUseOfDecl(AtIndexGetter, GenericLoc); in buildGet() 1407 S.DiagnoseUseOfDecl(AtIndexSetter, GenericLoc); in buildSet()
|
D | SemaExprCXX.cpp | 127 DiagnoseUseOfDecl(InjectedClassName, NameLoc); in getConstructorName() 991 if (DiagnoseUseOfDecl(Destructor, E->getExprLoc())) in CheckCXXThrowOperand() 2322 if (DiagnoseUseOfDecl(OperatorNew, StartLoc)) in BuildCXXNew() 2327 if (DiagnoseUseOfDecl(OperatorDelete, StartLoc)) in BuildCXXNew() 3531 if (DiagnoseUseOfDecl(Dtor, StartLoc)) in ActOnCXXDelete() 3571 DiagnoseUseOfDecl(OperatorDelete, StartLoc); in ActOnCXXDelete() 3708 DiagnoseUseOfDecl(OperatorNewOrDelete, TheCall->getExprLoc()); in SemaBuiltinOperatorNewDeleteOverloaded() 3906 if (S.DiagnoseUseOfDecl(Method, CastLoc)) in BuildCXXCastArgument() 3924 if (S.DiagnoseUseOfDecl(Method, CastLoc)) in BuildCXXCastArgument() 4096 if (DiagnoseUseOfDecl(Fn, From->getBeginLoc())) in PerformImplicitConversion() [all …]
|
D | SemaInit.cpp | 1824 return SemaRef.DiagnoseUseOfDecl(Destructor, Loc); in checkDestructorReference() 2169 InvalidUse = SemaRef.DiagnoseUseOfDecl( in CheckStructUnionTypes() 2616 InvalidUse = SemaRef.DiagnoseUseOfDecl(*Field, D->getFieldLoc()); in CheckDesignatedInitializer() 6471 if (S.DiagnoseUseOfDecl(Constructor, Loc)) in PerformConstructorInitialization() 6485 if (S.DiagnoseUseOfDecl(Constructor, Loc)) in PerformConstructorInitialization() 6548 if (S.DiagnoseUseOfDecl(Step.Function.FoundDecl, Loc)) in PerformConstructorInitialization() 8116 if (S.DiagnoseUseOfDecl(Step->Function.FoundDecl, Kind.getLocation())) in Perform() 8250 if (S.DiagnoseUseOfDecl(FoundFn, Kind.getLocation())) in Perform() 8260 if (S.DiagnoseUseOfDecl(FoundFn, Kind.getLocation())) in Perform() 8295 if (S.DiagnoseUseOfDecl(Destructor, CurInit.get()->getBeginLoc())) in Perform() [all …]
|
D | SemaCXXScopeSpec.cpp | 711 DiagnoseUseOfDecl(SD, IdInfo.CCLoc); in BuildCXXNestedNameSpecifier()
|
D | SemaDeclObjC.cpp | 534 (void)TheSema.DiagnoseUseOfDecl(ProtoRefs[i], ProtoLocs[i], in diagnoseUseOfProtocols() 579 (void)DiagnoseUseOfDecl(SuperClassDecl, SuperLoc); in ActOnSuperClassOfClassInterface() 598 (void)DiagnoseUseOfDecl(const_cast<TypedefNameDecl*>(TDecl), SuperLoc); in ActOnSuperClassOfClassInterface() 1324 (void)DiagnoseUseOfDecl(PDecl, Pair.second); in FindProtocolDeclaration() 1457 (void)DiagnoseUseOfDecl(proto, identifierLocs[i]); in actOnObjCTypeArgsOrProtocolQualifiers()
|
D | SemaOverload.cpp | 57 if (S.DiagnoseUseOfDecl(FoundDecl, Loc)) in CreateFunctionRefExpr() 65 if (FoundDecl != Fn && S.DiagnoseUseOfDecl(Fn, Loc)) in CreateFunctionRefExpr() 12409 DiagnoseUseOfDecl(Found, E->getExprLoc()); in resolveAndFixAddressOfSingleOverloadCandidate() 12526 if (DiagnoseUseOfDecl(fn, SrcExpr.get()->getBeginLoc())) { in ResolveAndFixSingleFunctionTemplateSpecialization() 13082 if (SemaRef.DiagnoseUseOfDecl(FDecl, ULE->getNameLoc())) in FinishOverloadedCallExpr() 14298 if (DiagnoseUseOfDecl(Best->FoundDecl, UnresExpr->getNameLoc())) in BuildCallToMemberFunction() 14307 DiagnoseUseOfDecl(Method, UnresExpr->getNameLoc())) in BuildCallToMemberFunction() 14587 if (DiagnoseUseOfDecl(Best->FoundDecl, LParenLoc)) in BuildCallToObjectOfClassType()
|
D | SemaDeclCXX.cpp | 5022 DiagnoseUseOfDecl(Dtor, Initializer->getSourceLocation()); in SetDelegatingInitializer() 5501 DiagnoseUseOfDecl(Dtor, Location); in MarkBaseAndMemberDestructorsReferenced() 5548 DiagnoseUseOfDecl(Dtor, Location); in MarkBaseAndMemberDestructorsReferenced() 5590 DiagnoseUseOfDecl(Dtor, Location); in MarkVirtualBaseDestructorsReferenced() 10311 DiagnoseUseOfDecl(OperatorDelete, Loc); in CheckDestructor() 11424 DiagnoseUseOfDecl(Named, IdentLoc); in ActOnUsingDirective() 12729 DiagnoseUseOfDecl(ND, IdentLoc); in ActOnNamespaceAliasDef() 15031 if (DiagnoseUseOfDecl(Constructor, ConstructLoc)) in BuildCXXConstructExpr() 15164 DiagnoseUseOfDecl(Destructor, VD->getLocation()); in FinalizeVarWithDestructor()
|
D | SemaLambda.cpp | 1164 if (Var && DiagnoseUseOfDecl(Var, C->Loc)) in ActOnStartOfLambdaDefinition()
|
D | SemaType.cpp | 1584 S.DiagnoseUseOfDecl(D, DS.getTypeSpecTypeNameLoc()); in ConvertDeclSpecToType() 1620 S.DiagnoseUseOfDecl(TT->getDecl(), DS.getTypeSpecTypeLoc()); in ConvertDeclSpecToType() 8903 DiagnoseUseOfDecl(TT->getDecl(), E->getExprLoc()); in BuildTypeofExprType() 9027 DiagnoseUseOfDecl(ED, Loc); in BuildUnaryTransformType()
|
D | SemaTemplate.cpp | 3803 (void)DiagnoseUseOfDecl(Decl, TemplateLoc); in CheckTemplateIdType() 7276 if (DiagnoseUseOfDecl(Fn, Arg->getBeginLoc())) in CheckTemplateArgument() 7329 if (DiagnoseUseOfDecl(Fn, Arg->getBeginLoc())) in CheckTemplateArgument()
|
D | SemaDecl.cpp | 483 DiagnoseUseOfDecl(IIDecl, NameLoc); in getTypeName() 488 (void)DiagnoseUseOfDecl(IDecl, NameLoc); in getTypeName() 1132 DiagnoseUseOfDecl(Type, NameLoc); in ClassifyName() 1149 DiagnoseUseOfDecl(Class, NameLoc); in ClassifyName() 1180 DiagnoseUseOfDecl(Type, NameLoc); in ClassifyName()
|