Home
last modified time | relevance | path

Searched refs:DiagnoseUseOfDecl (Results 1 – 17 of 17) sorted by relevance

/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaExprObjC.cpp735 DiagnoseUseOfDecl(BoxingMethod, Loc); in BuildObjCBoxedExpr()
2003 if (DiagnoseUseOfDecl(PD, MemberLoc)) in HandleExprPropertyRefExpr()
2019 if (DiagnoseUseOfDecl(PD, MemberLoc)) in HandleExprPropertyRefExpr()
2050 if (DiagnoseUseOfDecl(Getter, MemberLoc)) in HandleExprPropertyRefExpr()
2070 if (Setter && DiagnoseUseOfDecl(Setter, MemberLoc)) in HandleExprPropertyRefExpr()
2229 if (DiagnoseUseOfDecl(Getter, propertyNameLoc)) in ActOnClassPropertyRefExpr()
2244 if (Setter && DiagnoseUseOfDecl(Setter, propertyNameLoc)) in ActOnClassPropertyRefExpr()
2342 DiagnoseUseOfDecl(Type, NameLoc); in getObjCMessageKind()
2653 (void)DiagnoseUseOfDecl(Class, SelectorSlotLocs); in BuildClassMessage()
2678 if (Method && DiagnoseUseOfDecl(Method, SelectorSlotLocs, in BuildClassMessage()
[all …]
H A DSemaExprMember.cpp1094 if (DiagnoseUseOfDecl(MemberDecl, MemberLoc)) in BuildMemberReferenceExpr()
1416 if (S.DiagnoseUseOfDecl(IV, MemberLoc)) in LookupMemberExpr()
1515 if (S.DiagnoseUseOfDecl(PD, MemberLoc)) in LookupMemberExpr()
1570 if (S.DiagnoseUseOfDecl(Getter, MemberLoc)) in LookupMemberExpr()
1587 if (Setter && S.DiagnoseUseOfDecl(Setter, MemberLoc)) in LookupMemberExpr()
H A DSemaPseudoObject.cpp732 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()
H A DSemaExprCXX.cpp130 DiagnoseUseOfDecl(InjectedClassName, NameLoc); in getConstructorName()
1011 if (DiagnoseUseOfDecl(Destructor, E->getExprLoc())) in CheckCXXThrowOperand()
2406 if (DiagnoseUseOfDecl(OperatorNew, StartLoc)) in BuildCXXNew()
2411 if (DiagnoseUseOfDecl(OperatorDelete, StartLoc)) in BuildCXXNew()
3663 if (DiagnoseUseOfDecl(Dtor, StartLoc)) in ActOnCXXDelete()
3703 DiagnoseUseOfDecl(OperatorDelete, StartLoc); in ActOnCXXDelete()
4049 if (S.DiagnoseUseOfDecl(Method, CastLoc)) in BuildCXXCastArgument()
4067 if (S.DiagnoseUseOfDecl(Method, CastLoc)) in BuildCXXCastArgument()
4239 if (DiagnoseUseOfDecl(Fn, From->getBeginLoc())) in PerformImplicitConversion()
7273 if (DiagnoseUseOfDecl(Destructor, E->getExprLoc())) in MaybeBindToTemporary()
[all …]
H A DSemaInit.cpp1853 return SemaRef.DiagnoseUseOfDecl(Destructor, Loc); in checkDestructorReference()
2226 InvalidUse = SemaRef.DiagnoseUseOfDecl( in CheckStructUnionTypes()
2673 InvalidUse = SemaRef.DiagnoseUseOfDecl(*Field, D->getFieldLoc()); in CheckDesignatedInitializer()
6598 if (S.DiagnoseUseOfDecl(Constructor, Loc)) in PerformConstructorInitialization()
6613 if (S.DiagnoseUseOfDecl(CalleeDecl, Loc)) in PerformConstructorInitialization()
6676 if (S.DiagnoseUseOfDecl(Step.Function.FoundDecl, Loc)) in PerformConstructorInitialization()
8252 if (S.DiagnoseUseOfDecl(Step->Function.FoundDecl, Kind.getLocation())) in Perform()
8401 if (S.DiagnoseUseOfDecl(FoundFn, Kind.getLocation())) in Perform()
8411 if (S.DiagnoseUseOfDecl(FoundFn, Kind.getLocation())) in Perform()
8446 if (S.DiagnoseUseOfDecl(Destructor, CurInit.get()->getBeginLoc())) in Perform()
[all …]
H A DSemaDeclObjC.cpp534 (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()
1326 (void)DiagnoseUseOfDecl(PDecl, Pair.second); in FindProtocolDeclaration()
1459 (void)DiagnoseUseOfDecl(proto, identifierLocs[i]); in actOnObjCTypeArgsOrProtocolQualifiers()
H A DSemaCXXScopeSpec.cpp725 DiagnoseUseOfDecl(SD, IdInfo.CCLoc); in BuildCXXNestedNameSpecifier()
H A DSemaOverload.cpp56 if (S.DiagnoseUseOfDecl(FoundDecl, Loc)) in CreateFunctionRefExpr()
64 if (FoundDecl != Fn && S.DiagnoseUseOfDecl(Fn, Loc)) in CreateFunctionRefExpr()
12584 DiagnoseUseOfDecl(Found, E->getExprLoc()); in resolveAndFixAddressOfSingleOverloadCandidate()
12701 if (DiagnoseUseOfDecl(fn, SrcExpr.get()->getBeginLoc())) { in ResolveAndFixSingleFunctionTemplateSpecialization()
13250 if (SemaRef.DiagnoseUseOfDecl(FDecl, ULE->getNameLoc())) in FinishOverloadedCallExpr()
14537 if (DiagnoseUseOfDecl(Best->FoundDecl, UnresExpr->getNameLoc())) in BuildCallToMemberFunction()
14546 DiagnoseUseOfDecl(Method, UnresExpr->getNameLoc())) in BuildCallToMemberFunction()
14825 if (DiagnoseUseOfDecl(Best->FoundDecl, LParenLoc)) in BuildCallToObjectOfClassType()
H A DSemaDeclCXX.cpp5123 DiagnoseUseOfDecl(Dtor, Initializer->getSourceLocation()); in SetDelegatingInitializer()
5654 DiagnoseUseOfDecl(Dtor, Location); in MarkBaseAndMemberDestructorsReferenced()
5702 DiagnoseUseOfDecl(Dtor, Location); in MarkBaseAndMemberDestructorsReferenced()
5744 DiagnoseUseOfDecl(Dtor, Location); in MarkVirtualBaseDestructorsReferenced()
10590 DiagnoseUseOfDecl(OperatorDelete, Loc); in CheckDestructor()
11690 DiagnoseUseOfDecl(Named, IdentLoc); in ActOnUsingDirective()
13169 DiagnoseUseOfDecl(ND, IdentLoc); in ActOnNamespaceAliasDef()
15501 if (DiagnoseUseOfDecl(Constructor, ConstructLoc)) in BuildCXXConstructExpr()
15634 DiagnoseUseOfDecl(Destructor, VD->getLocation()); in FinalizeVarWithDestructor()
H A DSemaLambda.cpp1170 if (Var && DiagnoseUseOfDecl(Var, C->Loc)) in ActOnStartOfLambdaDefinition()
H A DSemaType.cpp1569 S.DiagnoseUseOfDecl(D, DS.getTypeSpecTypeNameLoc()); in ConvertDeclSpecToType()
1605 S.DiagnoseUseOfDecl(TT->getDecl(), DS.getTypeSpecTypeLoc()); in ConvertDeclSpecToType()
9126 DiagnoseUseOfDecl(TT->getDecl(), E->getExprLoc()); in BuildTypeofExprType()
9236 DiagnoseUseOfDecl(ED, Loc); in BuildUnaryTransformType()
H A DSemaDecl.cpp491 DiagnoseUseOfDecl(IIDecl, NameLoc); in getTypeName()
496 (void)DiagnoseUseOfDecl(IDecl, NameLoc); in getTypeName()
501 (void)DiagnoseUseOfDecl(UD, NameLoc); in getTypeName()
1165 DiagnoseUseOfDecl(Type, NameLoc); in ClassifyName()
1179 DiagnoseUseOfDecl(Class, NameLoc); in ClassifyName()
1197 (void)DiagnoseUseOfDecl(EmptyD, NameLoc); in ClassifyName()
1215 DiagnoseUseOfDecl(Type, NameLoc); in ClassifyName()
H A DSemaTemplate.cpp3893 (void)DiagnoseUseOfDecl(Decl, TemplateLoc); in CheckTemplateIdType()
7330 if (DiagnoseUseOfDecl(Fn, Arg->getBeginLoc())) in CheckTemplateArgument()
7383 if (DiagnoseUseOfDecl(Fn, Arg->getBeginLoc())) in CheckTemplateArgument()
H A DSemaExpr.cpp221 bool Sema::DiagnoseUseOfDecl(NamedDecl *D, ArrayRef<SourceLocation> Locs, in DiagnoseUseOfDecl() function in Sema
2913 if (DiagnoseUseOfDecl(IV, Loc)) in BuildIvarRefExpr()
3293 if (DiagnoseUseOfDecl(D, Loc)) in BuildDeclarationNameExpr()
H A DTreeTransform.h14722 if (SemaRef.DiagnoseUseOfDecl(Shadow->getTargetDecl(), Loc)) in RebuildUnresolvedUsingType()
H A DSemaChecking.cpp15524 DiagnoseUseOfDecl(Destructor, Param->getLocation()); in CheckParmsForFunctionDef()
/llvm-project-15.0.7/clang/include/clang/Sema/
H A DSema.h5234 bool DiagnoseUseOfDecl(NamedDecl *D, ArrayRef<SourceLocation> Locs,