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

References

include/llvm/ADT/iterator.h
   91     operator ReferenceT() const { return *I; }
tools/clang/include/clang/AST/UnresolvedSet.h
   56   NamedDecl *operator->() const { return **this; }
tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h
  639     if (Matcher.matches(**I, Finder, &Result)) {
tools/clang/include/clang/Sema/Lookup.h
  520     return (*begin())->getUnderlyingDecl();
  526     return *begin();
  645       return *I++;
  714       if (isa<UnresolvedUsingValueDecl>((*I)->getUnderlyingDecl()))
tools/clang/lib/AST/ASTContext.cpp
 7720     NamedDecl *D = *I;
tools/clang/lib/AST/ASTImporter.cpp
 7395   for (auto *D : E->decls())
 7446   for (Decl *D : E->decls())
tools/clang/lib/AST/DeclCXX.cpp
 1903     I.setAccess((*I)->getAccess());
tools/clang/lib/AST/ExprCXX.cpp
  475       if ((*I)->getDeclContext()->isDependentContext() ||
  476           isa<UnresolvedUsingValueDecl>(*I)) {
 1483     NamedDecl *decl = *begin;
tools/clang/lib/AST/ItaniumMangle.cpp
 3531       (*lookup->decls_begin())->isCXXClassMember())
tools/clang/lib/AST/JSONNodeDumper.cpp
 1253     for (const NamedDecl *D : ULE->decls())
tools/clang/lib/AST/TextNodeDumper.cpp
  743     dumpPointer(*I);
tools/clang/lib/Parse/ParseDecl.cpp
 2661           Diag((*I)->getLocation(), diag::note_decl_hiding_tag_type)
tools/clang/lib/Sema/Sema.cpp
 1956       OverloadSet.addDecl(*it);
 1963             = dyn_cast<FunctionDecl>((*it)->getUnderlyingDecl())) {
 2050     NamedDecl *Fn = (*It)->getUnderlyingDecl();
 2075     const FunctionDecl *OverloadDecl = cast<FunctionDecl>(*It);
 2103     const NamedDecl *ND = *ULE->decls_begin();
tools/clang/lib/Sema/SemaCUDA.cpp
  590     NamedDecl *Match = *It;
  752   for (NamedDecl *OldND : Previous) {
tools/clang/lib/Sema/SemaChecking.cpp
 7918       NamedDecl *decl = (*I)->getUnderlyingDecl();
 9090       for (const auto *I : R) {
tools/clang/lib/Sema/SemaCoroutine.cpp
  163     NamedDecl *Found = *Result.begin();
  264       (Functions.size() == 1 && isa<FunctionTemplateDecl>(*Functions.begin()));
  919     NamedDecl *Found = *Result.begin();
 1584         NamedDecl *Found = *Result.begin();
tools/clang/lib/Sema/SemaDecl.cpp
  434       if (isa<TypeDecl>(*Res) || isa<ObjCInterfaceDecl>(*Res) ||
  434       if (isa<TypeDecl>(*Res) || isa<ObjCInterfaceDecl>(*Res) ||
  435           (AllowDeducedTemplate && getAsTypeTemplateDecl(*Res))) {
  437             (*Res)->getLocation().getRawEncoding() <
  439           IIDecl = *Res;
  774     if (isa<TypeDecl>(*I) || isa<ObjCInterfaceDecl>(*I))
  774     if (isa<TypeDecl>(*I) || isa<ObjCInterfaceDecl>(*I))
  777     if (CheckTemplate && isa<TemplateDecl>(*I))
  821       SemaRef.Diag((*I)->getLocation(), diag::note_decl_hiding_tag_type)
 1090           *Result.begin(), /*AllowFunctionTemplates=*/true,
 1121   NamedDecl *FirstDecl = (*Result.begin())->getUnderlyingDecl();
 7453         if (isa<VarDecl>(*I)) {
 7454           Prev = *I;
 7995       FunctionDecl *FD = dyn_cast<FunctionDecl>(*Func);
 8051         if ((*I)->getCanonicalDecl() == Canonical)
 8052           Correction.setCorrectionDecl(*I);
10028   for (NamedDecl *ND : Previous) {
10420       Diag((*OtherUnmarkedIter)->getLocation(),
16662           I.setAccess((*I)->getAccess());
tools/clang/lib/Sema/SemaDeclAttr.cpp
 1846       for (NamedDecl *ND : LR)
tools/clang/lib/Sema/SemaDeclCXX.cpp
  989     NamedDecl *Found = *Result.begin();
 1145     for (NamedDecl *D : MemberGet) {
 9722     NamedDecl *Found = *Result.begin();
10095     NamedDecl *D = (*I)->getUnderlyingDecl();
10116       if (UsingShadowDecl *Shadow = dyn_cast<UsingShadowDecl>(*I))
10596         Diag((*I)->getUnderlyingDecl()->getLocation(),
10643     if (!CheckUsingShadowDecl(UD, *I, Previous, PrevDecl))
10644       BuildUsingShadowDecl(S, UD, *I, PrevDecl);
10715       for (auto *D : Prev) {
10732     NamedDecl *D = *I;
tools/clang/lib/Sema/SemaExpr.cpp
 1974         for (NamedDecl *D : R)
 1981         if (isDefaultArgument && ((*R.begin())->isCXXInstanceMember())) {
 2370   if (!R.empty() && (*R.begin())->isCXXClassMember()) {
 2477   if (!R.empty() && (*R.begin())->isCXXClassMember() && !IsAddressOfOperand)
 2834   for (NamedDecl *D : R) {
13695     for (NamedDecl *D : ULE->decls()) {
tools/clang/lib/Sema/SemaExprCXX.cpp
 2232     NamedDecl *D = (*Alloc)->getUnderlyingDecl();
 2539               dyn_cast<FunctionTemplateDecl>((*D)->getUnderlyingDecl())) {
 2547         Fn = cast<FunctionDecl>((*D)->getUnderlyingDecl());
 2949       for (NamedDecl *D : Found)
 3465     NamedDecl *D = (*FnOvl)->getUnderlyingDecl();
 4484       if (isa<FunctionTemplateDecl>(*Op))
 4487       CXXMethodDecl *Operator = cast<CXXMethodDecl>(*Op);
tools/clang/lib/Sema/SemaExprMember.cpp
   90   assert(!R.empty() && (*R.begin())->isCXXClassMember());
  104   for (NamedDecl *D : R) {
  565     if (!BaseExpr && !(*I)->isCXXInstanceMember())
  569     DeclContext *DC = (*I)->getDeclContext();
tools/clang/lib/Sema/SemaInit.cpp
 3943         NamedDecl *D = *I;
 4537       NamedDecl *D = *I;
 5192         NamedDecl *D = *I;
 9749       NamedDecl *D = (*I)->getUnderlyingDecl();
 9823       for (NamedDecl *D : Guides) {
tools/clang/lib/Sema/SemaLookup.cpp
  332           isa<FunctionTemplateDecl>((*begin())->getUnderlyingDecl())));
  488     NamedDecl *D = (*Decls.begin())->getUnderlyingDecl();
  665     (*I)->print(Out, 2);
  672   for (NamedDecl *D : *this)
 1045     FunctionTemplateDecl *ConvTemplate = dyn_cast<FunctionTemplateDecl>(*U);
 1802   for (auto *D : R) {
 2581     for (auto *D : Result)
 2587     for (auto *D : Result)
 2604     for (auto *D : Result)
 3010     for (const NamedDecl *D : OE->decls()) {
 3468       NoteOverloadCandidate(*I, (*I)->getUnderlyingDecl()->getAsFunction());
 3468       NoteOverloadCandidate(*I, (*I)->getUnderlyingDecl()->getAsFunction());
 4381     for (auto *TRD : Result)
 4454             TC.addCorrectionDecl(*TRD);
tools/clang/lib/Sema/SemaOpenMP.cpp
12719     for (auto *D : Set) {
12827     for (NamedDecl *D : ULE->decls()) {
15146     for (NamedDecl *D : ULE->decls()) {
tools/clang/lib/Sema/SemaOverload.cpp
  998     NamedDecl *OldD = *I;
 1013     if ((OldIsUsingDecl || NewIsUsingDecl) && !isVisible(*I))
 1028           HideUsingShadowDecl(S, cast<UsingShadowDecl>(*I));
 1033             !shouldLinkPossiblyHiddenDecl(*I, New))
 1036         Match = *I;
 1043         Match = *I;
 1060         Match = *I;
 1067       Match = *I;
 4477     NamedDecl *D = *I;
 5915     NamedDecl *D = (*I)->getUnderlyingDecl();
 7802     for (NamedDecl *D : ClassDecl->getVisibleConversionFunctions()) {
 7874     for (NamedDecl *D : ClassDecl->getVisibleConversionFunctions()) {
 9880                 dyn_cast<FunctionTemplateDecl>((*I)->getUnderlyingDecl()) ) {
 9881       NoteOverloadCandidate(*I, FunTmpl->getTemplatedDecl(), CRK_None, DestType,
 9884                       = dyn_cast<FunctionDecl>((*I)->getUnderlyingDecl()) ) {
 9885       NoteOverloadCandidate(*I, Fun, CRK_None, DestType, TakingAddress);
11533       NamedDecl *Fn = (*I)->getUnderlyingDecl();
11585       Matches[0].second = cast<FunctionDecl>(*Result);
11625                 dyn_cast<FunctionDecl>((*I)->getUnderlyingDecl()))
11627             S.NoteOverloadCandidate(*I, Fun, CRK_None, TargetFunctionType,
11848       = cast<FunctionTemplateDecl>((*I)->getUnderlyingDecl());
12043       assert(!(*I)->getDeclContext()->isRecord());
12044       assert(isa<UsingShadowDecl>(*I) ||
12045              !(*I)->getDeclContext()->isFunctionOrMethod());
12046       assert((*I)->getUnderlyingDecl()->isFunctionOrFunctionTemplate());
12284   if ((*R.begin())->isCXXClassMember())
12323         (F = dyn_cast<FunctionDecl>(*ULE->decls_begin())) &&
12513     (Functions.size() == 1 && isa<FunctionTemplateDecl>(*Functions.begin()));
13405       NamedDecl *Func = *I;
13648     NamedDecl *D = *I;
tools/clang/lib/Sema/SemaPseudoObject.cpp
 1090   for (NamedDecl *D : cast<CXXRecordDecl>(RecordTy->getDecl())
tools/clang/lib/Sema/SemaStmt.cpp
 2275           for (NamedDecl *D : OldFound) {
tools/clang/lib/Sema/SemaTemplate.cpp
  118     if (getAsTemplateNameDecl(*I, AllowFunctionTemplates, AllowDependent))
  121         isa<FunctionDecl>((*I)->getUnderlyingDecl()))
  186     for (NamedDecl *FoundD : R) {
  228       D = getAsTemplateNameDecl(*R.begin());
 1431     PrevDecl = (*Previous.begin())->getUnderlyingDecl();
 1494           PrevDecl = (*Previous.begin())->getUnderlyingDecl();
 8408     NamedDecl *Ovl = (*I)->getUnderlyingDecl();
 8490     for (auto *OldND : Previous) {
 8510   FunctionDecl *Specialization = cast<FunctionDecl>(*Result);
 8642       NamedDecl *D = (*I)->getUnderlyingDecl();
 8650           FoundInstantiation = *I;
 9463           Diag((*P)->getLocation(), diag::note_explicit_instantiation_here);
 9583     NamedDecl *Prev = *P;
 9651     Specialization = cast<FunctionDecl>(*Result);
10105     Referenced = *Result.begin();
tools/clang/lib/Sema/SemaTemplateDeduction.cpp
 3521     NamedDecl *D = (*I)->getUnderlyingDecl();
 4987     = cast<FunctionDecl>(*Best)->getPrimaryTemplate();
 4991       = cast<FunctionDecl>(*I)->getPrimaryTemplate();
 5006       = cast<FunctionDecl>(*I)->getPrimaryTemplate();
 5028       const auto *FD = cast<FunctionDecl>(*I);
 5034       Diag((*I)->getLocation(), PD);
tools/clang/lib/Sema/TreeTransform.h
 8794       for (auto *D : ULE->decls()) {
 8841       for (auto *D : ULE->decls()) {
 8886       for (auto *D : ULE->decls()) {
 9047       for (auto *D : ULE->decls()) {
10851   for (auto *OldD : Old->decls()) {
tools/clang/tools/extra/clang-tidy/misc/UnusedUsingDeclsCheck.cpp
  149     for (const NamedDecl *ND : ULE->decls()) {
tools/clang/tools/extra/clangd/FindTarget.cpp
  194         for (auto *D : OE->decls())
tools/clang/tools/extra/clangd/SemanticHighlighting.cpp
  108   for (NamedDecl *Decl : Decls) {
tools/lldb/source/Plugins/ExpressionParser/Clang/ClangModulesDeclVendor.cpp
  384   for (clang::NamedDecl *named_decl : lookup_result) {
tools/lldb/source/Symbol/CxxModuleHandler.cpp
  140     for (NamedDecl *named_decl : *lookup_result) {
  216   for (auto LD : *lookup) {
usr/include/c++/7.4.0/bits/predefined_ops.h
  241 	{ return *__it == _M_value; }
  283 	{ return bool(_M_pred(*__it)); }
  351 	{ return !bool(_M_pred(*__it)); }
usr/include/c++/7.4.0/bits/stl_algobase.h
  324 	      *__result = *__first;