reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

Declarations

tools/clang/include/clang/Sema/Sema.h
 4358   bool DiagnoseUseOfDecl(NamedDecl *D, ArrayRef<SourceLocation> Locs,

References

tools/clang/lib/Sema/SemaCXXScopeSpec.cpp
  711     DiagnoseUseOfDecl(SD, IdInfo.CCLoc);
tools/clang/lib/Sema/SemaChecking.cpp
13089           DiagnoseUseOfDecl(Destructor, Param->getLocation());
tools/clang/lib/Sema/SemaDecl.cpp
  480     DiagnoseUseOfDecl(IIDecl, NameLoc);
  485     (void)DiagnoseUseOfDecl(IDecl, NameLoc);
 1123     DiagnoseUseOfDecl(Type, NameLoc);
 1140     DiagnoseUseOfDecl(Class, NameLoc);
 1167     DiagnoseUseOfDecl(Type, NameLoc);
tools/clang/lib/Sema/SemaDeclCXX.cpp
 4933     DiagnoseUseOfDecl(Dtor, Initializer->getSourceLocation());
 5412     DiagnoseUseOfDecl(Dtor, Location);
 5450     DiagnoseUseOfDecl(Dtor, Location);
 5487     DiagnoseUseOfDecl(Dtor, Location);
 8767       DiagnoseUseOfDecl(OperatorDelete, Loc);
 9875     DiagnoseUseOfDecl(Named, IdentLoc);
11180   DiagnoseUseOfDecl(ND, IdentLoc);
13467     if (DiagnoseUseOfDecl(Constructor, ConstructLoc))
13600     DiagnoseUseOfDecl(Destructor, VD->getLocation());
tools/clang/lib/Sema/SemaDeclObjC.cpp
  533     (void)TheSema.DiagnoseUseOfDecl(ProtoRefs[i], ProtoLocs[i],
  578       (void)DiagnoseUseOfDecl(SuperClassDecl, SuperLoc);
  597             (void)DiagnoseUseOfDecl(const_cast<TypedefNameDecl*>(TDecl), SuperLoc);
 1319       (void)DiagnoseUseOfDecl(PDecl, Pair.second);
 1452         (void)DiagnoseUseOfDecl(proto, identifierLocs[i]);
tools/clang/lib/Sema/SemaExpr.cpp
 2579   if (DiagnoseUseOfDecl(IV, Loc))
 2977   if (DiagnoseUseOfDecl(VD, Loc))
tools/clang/lib/Sema/SemaExprCXX.cpp
  126   DiagnoseUseOfDecl(InjectedClassName, NameLoc);
  903       if (DiagnoseUseOfDecl(Destructor, E->getExprLoc()))
 2166     if (DiagnoseUseOfDecl(OperatorNew, StartLoc))
 2171     if (DiagnoseUseOfDecl(OperatorDelete, StartLoc))
 3373           if (DiagnoseUseOfDecl(Dtor, StartLoc))
 3413     DiagnoseUseOfDecl(OperatorDelete, StartLoc);
 3550   DiagnoseUseOfDecl(OperatorNewOrDelete, TheCall->getExprLoc());
 3748     if (S.DiagnoseUseOfDecl(Method, CastLoc))
 3766     if (S.DiagnoseUseOfDecl(Method, CastLoc))
 3935     if (DiagnoseUseOfDecl(Fn, From->getBeginLoc()))
 6498     if (DiagnoseUseOfDecl(Destructor, E->getExprLoc()))
 6666     if (DiagnoseUseOfDecl(Destructor, Bind->getExprLoc()))
tools/clang/lib/Sema/SemaExprMember.cpp
 1113   if (DiagnoseUseOfDecl(MemberDecl, MemberLoc))
 1402     if (S.DiagnoseUseOfDecl(IV, MemberLoc))
 1501           if (S.DiagnoseUseOfDecl(PD, MemberLoc))
 1556         if (S.DiagnoseUseOfDecl(Getter, MemberLoc))
 1573       if (Setter && S.DiagnoseUseOfDecl(Setter, MemberLoc))
tools/clang/lib/Sema/SemaExprObjC.cpp
  737   DiagnoseUseOfDecl(BoxingMethod, Loc);
 1844     if (DiagnoseUseOfDecl(PD, MemberLoc))
 1860       if (DiagnoseUseOfDecl(PD, MemberLoc))
 1891     if (DiagnoseUseOfDecl(Getter, MemberLoc))
 1911   if (Setter && DiagnoseUseOfDecl(Setter, MemberLoc))
 2069     if (DiagnoseUseOfDecl(Getter, propertyNameLoc))
 2084   if (Setter && DiagnoseUseOfDecl(Setter, propertyNameLoc))
 2182       DiagnoseUseOfDecl(Type, NameLoc);
 2494     (void)DiagnoseUseOfDecl(Class, SelectorSlotLocs);
 2519     if (Method && DiagnoseUseOfDecl(Method, SelectorSlotLocs,
 2805           DiagnoseUseOfDecl(Method, SelectorSlotLocs);
 2840             if (Method && DiagnoseUseOfDecl(Method, SelectorSlotLocs))
 2888         if (Method && DiagnoseUseOfDecl(Method, SelectorSlotLocs))
 2963         if (Method && DiagnoseUseOfDecl(Method, SelectorSlotLocs, forwardClass))
tools/clang/lib/Sema/SemaInit.cpp
 1810   return SemaRef.DiagnoseUseOfDecl(Destructor, Loc);
 2155       InvalidUse = SemaRef.DiagnoseUseOfDecl(
 2602       InvalidUse = SemaRef.DiagnoseUseOfDecl(*Field, D->getFieldLoc());
 6412     if (S.DiagnoseUseOfDecl(Constructor, Loc))
 6426       if (S.DiagnoseUseOfDecl(Constructor, Loc))
 6487   if (S.DiagnoseUseOfDecl(Step.Function.FoundDecl, Loc))
 7944       if (S.DiagnoseUseOfDecl(Step->Function.FoundDecl, Kind.getLocation()))
 8078         if (S.DiagnoseUseOfDecl(FoundFn, Kind.getLocation()))
 8088         if (S.DiagnoseUseOfDecl(FoundFn, Kind.getLocation()))
 8123           if (S.DiagnoseUseOfDecl(Destructor, CurInit.get()->getBeginLoc()))
 9908     DiagnoseUseOfDecl(Best->Function, Kind.getLocation());
tools/clang/lib/Sema/SemaLambda.cpp
 1154       if (Var && DiagnoseUseOfDecl(Var, C->Loc))
tools/clang/lib/Sema/SemaOverload.cpp
   53   if (S.DiagnoseUseOfDecl(FoundDecl, Loc))
   61   if (FoundDecl != Fn && S.DiagnoseUseOfDecl(Fn, Loc))
11797   DiagnoseUseOfDecl(Found, E->getExprLoc());
11914     if (DiagnoseUseOfDecl(fn, SrcExpr.get()->getBeginLoc())) {
12393     if (SemaRef.DiagnoseUseOfDecl(FDecl, ULE->getNameLoc()))
13444       if (DiagnoseUseOfDecl(Best->FoundDecl, UnresExpr->getNameLoc()))
13453                       DiagnoseUseOfDecl(Method, UnresExpr->getNameLoc()))
13731     if (DiagnoseUseOfDecl(Best->FoundDecl, LParenLoc))
tools/clang/lib/Sema/SemaPseudoObject.cpp
  740     S.DiagnoseUseOfDecl(Getter, GenericLoc, nullptr, true);
  803     S.DiagnoseUseOfDecl(Setter, GenericLoc, nullptr, true);
 1397     S.DiagnoseUseOfDecl(AtIndexGetter, GenericLoc);
 1415     S.DiagnoseUseOfDecl(AtIndexSetter, GenericLoc);
tools/clang/lib/Sema/SemaTemplate.cpp
 3374     (void)DiagnoseUseOfDecl(Decl, TemplateLoc);
 6760         if (DiagnoseUseOfDecl(Fn, Arg->getBeginLoc()))
 6813         if (DiagnoseUseOfDecl(Fn, Arg->getBeginLoc()))
tools/clang/lib/Sema/SemaType.cpp
 1526     S.DiagnoseUseOfDecl(D, DS.getTypeSpecTypeNameLoc());
 1559         S.DiagnoseUseOfDecl(TT->getDecl(), DS.getTypeSpecTypeLoc());
 8306       DiagnoseUseOfDecl(TT->getDecl(), E->getExprLoc());
 8418         DiagnoseUseOfDecl(ED, Loc);