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

References

gen/tools/clang/include/clang/AST/StmtDataCollectors.inc
  166     addData(S->getMemberDecl()->getName());
tools/clang/include/clang/AST/Expr.h
 2900       return DeclAccessPair::make(getMemberDecl(),
 2901                                   getMemberDecl()->getAccess());
tools/clang/include/clang/ASTMatchers/ASTMatchers.h
 5161   return InnerMatcher.matches(*Node.getMemberDecl(), Finder, Builder);
tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h
  889     return matchesDecl(Node.getMemberDecl(), Finder, Builder);
tools/clang/lib/ARCMigrate/TransRetainReleaseDealloc.cpp
  308       return ME->getMemberDecl();
tools/clang/lib/AST/ASTImporter.cpp
 7193       E->getTemplateKeywordLoc(), E->getMemberDecl(), E->getType());
tools/clang/lib/AST/DeclCXX.cpp
 2123     const ValueDecl *VD = ME->getMemberDecl();
tools/clang/lib/AST/Expr.cpp
  101         if (FieldDecl *Field = dyn_cast<FieldDecl>(ME->getMemberDecl())) {
 1459     return ME->getMemberDecl();
 1624         D = ME->getMemberDecl();
 2791     assert(isa<CXXMethodDecl>(mem->getMemberDecl()));
 2792     return mem->getMemberDecl()->getType();
 3853     if (FieldDecl *Field = dyn_cast<FieldDecl>(MemRef->getMemberDecl()))
 4003         if (!declaresSameEntity(ME1->getMemberDecl(), ME2->getMemberDecl()))
 4003         if (!declaresSameEntity(ME1->getMemberDecl(), ME2->getMemberDecl()))
 4005         if (const auto *D = dyn_cast<VarDecl>(ME1->getMemberDecl()))
 4021           return ME->getMemberDecl();
tools/clang/lib/AST/ExprCXX.cpp
  739     return cast<CXXMethodDecl>(MemExpr->getMemberDecl());
tools/clang/lib/AST/ExprClassification.cpp
  483     return (isa<FunctionDecl>(E->getMemberDecl())
  500   NamedDecl *Member = E->getMemberDecl();
tools/clang/lib/AST/ExprConstant.cpp
 5330       auto *FD = dyn_cast<FieldDecl>(ME->getMemberDecl());
 6858         Member = dyn_cast<CXXMethodDecl>(ME->getMemberDecl());
 7036     const FieldDecl *FD = dyn_cast<FieldDecl>(E->getMemberDecl());
 7229     const ValueDecl *MD = E->getMemberDecl();
 7230     if (const FieldDecl *FD = dyn_cast<FieldDecl>(E->getMemberDecl())) {
 7573   if (const VarDecl *VD = dyn_cast<VarDecl>(E->getMemberDecl())) {
 7579   if (const CXXMethodDecl *MD = dyn_cast<CXXMethodDecl>(E->getMemberDecl())) {
 8106     return Info.Ctx.getDeclAlign(ME->getMemberDecl(),
 9724     if (CheckReferencedDecl(E, E->getMemberDecl())) {
10248     if (auto *FD = dyn_cast<FieldDecl>(ME->getMemberDecl())) {
10252     } else if (auto *IFD = dyn_cast<IndirectFieldDecl>(ME->getMemberDecl())) {
tools/clang/lib/AST/ItaniumMangle.cpp
 3856                      ME->getMemberDecl()->getDeclName(),
tools/clang/lib/AST/JSONNodeDumper.cpp
 1171   ValueDecl *VD = ME->getMemberDecl();
tools/clang/lib/AST/StmtPrinter.cpp
 1365         ParentMember ? dyn_cast<FieldDecl>(ParentMember->getMemberDecl())
 1372   if (auto *FD = dyn_cast<FieldDecl>(Node->getMemberDecl()))
tools/clang/lib/AST/StmtProfile.cpp
 1152   VisitDecl(S->getMemberDecl());
tools/clang/lib/AST/TextNodeDumper.cpp
  831   OS << " " << (Node->isArrow() ? "->" : ".") << *Node->getMemberDecl();
  832   dumpPointer(Node->getMemberDecl());
tools/clang/lib/Analysis/ReachableCode.cpp
  234       return isConfigurationValue(cast<MemberExpr>(S)->getMemberDecl(), PP);
tools/clang/lib/Analysis/ThreadSafety.cpp
 1198     return ME->getMemberDecl();
tools/clang/lib/Analysis/ThreadSafetyCommon.cpp
  351   const auto *D = cast<ValueDecl>(ME->getMemberDecl()->getCanonicalDecl());
tools/clang/lib/Analysis/UninitializedValues.cpp
  405     if (const auto *VD = dyn_cast<VarDecl>(ME->getMemberDecl())) {
tools/clang/lib/CodeGen/CGClass.cpp
 1149         FieldDecl *Field = dyn_cast<FieldDecl>(ME->getMemberDecl());
 1158           if (ME2->getMemberDecl() == Field)
 1169         FieldDecl *Field = dyn_cast<FieldDecl>(IOA->getMemberDecl());
 1173         if (!Arg0 || Field != dyn_cast<FieldDecl>(Arg0->getMemberDecl()))
 1189         FieldDecl *Field = dyn_cast<FieldDecl>(ME->getMemberDecl());
 1199         if (!ME2 || Field != dyn_cast<FieldDecl>(ME2->getMemberDecl()))
tools/clang/lib/CodeGen/CGExpr.cpp
  874     if (const auto *FD = dyn_cast<FieldDecl>(ME->getMemberDecl())) {
 1497   if (auto *VD = dyn_cast<VarDecl>(ME->getMemberDecl())) {
 3883   NamedDecl *ND = E->getMemberDecl();
 4571     if (auto FD = dyn_cast<FunctionDecl>(ME->getMemberDecl())) {
tools/clang/lib/CodeGen/CGExprCXX.cpp
  187   const CXXMethodDecl *MD = cast<CXXMethodDecl>(ME->getMemberDecl());
tools/clang/lib/CodeGen/CGOpenMPRuntime.cpp
 7723           const auto *FD = dyn_cast<FieldDecl>(EncounteredME->getMemberDecl());
tools/clang/lib/CodeGen/CGOpenMPRuntimeNVPTX.cpp
  225   return cast<ValueDecl>(ME->getMemberDecl()->getCanonicalDecl());
tools/clang/lib/CodeGen/CGStmtOpenMP.cpp
 4654       MatchingVD = ME->getMemberDecl();
tools/clang/lib/Index/IndexBody.cpp
   97           if (auto *CXXMD = dyn_cast_or_null<CXXMethodDecl>(ME->getMemberDecl()))
  149     return IndexCtx.handleReference(E->getMemberDecl(), Loc,
tools/clang/lib/Sema/ScopeInfo.cpp
   81     D = ME->getMemberDecl();
  238       Callback(cast<VarDecl>(ME->getMemberDecl()), E);
tools/clang/lib/Sema/SemaChecking.cpp
12180     if (!M->getMemberDecl()->getType()->isReferenceType())
12293     D = M->getMemberDecl();
12666         return ME->getMemberDecl();
13127     return Context.getDeclAlign(ME->getMemberDecl());
13267     ND = ME->getMemberDecl();
13360       ND = ME->getMemberDecl();
14182     if (LHSME->getMemberDecl()->getCanonicalDecl() !=
14183         RHSME->getMemberDecl()->getCanonicalDecl())
14691     ValueDecl *MD = ME->getMemberDecl();
tools/clang/lib/Sema/SemaCodeComplete.cpp
 5147       FD = dyn_cast<FunctionDecl>(MCE->getMemberDecl());
tools/clang/lib/Sema/SemaDecl.cpp
10827         FieldDecl *FD = dyn_cast<FieldDecl>(ME->getMemberDecl());
10916           if (!isa<FieldDecl>(ME->getMemberDecl()))
10955       CXXMethodDecl *MD = dyn_cast<CXXMethodDecl>(E->getMemberDecl());
10959         if (!isa<FieldDecl>(ME->getMemberDecl()))
tools/clang/lib/Sema/SemaDeclAttr.cpp
 8271     DiagnoseDeclAvailability(ME->getMemberDecl(),
tools/clang/lib/Sema/SemaDeclCXX.cpp
 3488         FieldDecl *FD = dyn_cast<FieldDecl>(ME->getMemberDecl());
 3525       if (isa<EnumConstantDecl>(ME->getMemberDecl()))
 3538         if (isa<VarDecl>(SubME->getMemberDecl()))
 3541         if (FieldDecl *FD = dyn_cast<FieldDecl>(SubME->getMemberDecl()))
 3557       ValueDecl* FoundVD = FieldME->getMemberDecl();
 3755           if (FieldDecl *FD = dyn_cast<FieldDecl>(ME->getMemberDecl()))
 4584   ValueDecl *Referenced = cast<MemberExpr>(MemRef)->getMemberDecl();
tools/clang/lib/Sema/SemaExceptionSpec.cpp
 1006         T = cast<MemberExpr>(E)->getMemberDecl()->getType();
tools/clang/lib/Sema/SemaExpr.cpp
 3989     D = ME->getMemberDecl();
 5730     NDecl = cast<MemberExpr>(NakedFn)->getMemberDecl();
10302       D = Mem->getMemberDecl();
11444   if (!isa<FieldDecl>(ME->getMemberDecl())) return false;
11533       const ValueDecl *VD = ME->getMemberDecl();
11688     DiagnoseRecursiveConstFields(S, ME->getMemberDecl(), RTy, Loc,
11849         cast<ValueDecl>(ML->getMemberDecl()->getCanonicalDecl());
11851         cast<ValueDecl>(MR->getMemberDecl()->getCanonicalDecl());
12727     return ME->getMemberDecl();
16434     if (isa<FieldDecl>(ME->getMemberDecl())) {
16441           ME->getMemberDecl(), ME->getFoundDecl(), ME->getMemberNameInfo(),
16446     if (ME->getMemberDecl()->isCXXInstanceMember())
16451     if (ME->isNonOdrUse() || IsPotentialResultOdrUsed(ME->getMemberDecl()))
16458         ME->getQualifierLoc(), ME->getTemplateKeywordLoc(), ME->getMemberDecl(),
16671       MarkVarDeclODRUsed(cast<VarDecl>(ME->getMemberDecl()), ME->getMemberLoc(),
16881   CXXMethodDecl *MD = dyn_cast<CXXMethodDecl>(ME->getMemberDecl());
16921     if (CXXMethodDecl *Method = dyn_cast<CXXMethodDecl>(E->getMemberDecl()))
16927   MarkExprReferenced(*this, Loc, E->getMemberDecl(), E, MightBeOdrUse);
17400       return resolveDecl(E, E->getMemberDecl());
17498       return resolveDecl(E, E->getMemberDecl());
17832     d = mem->getMemberDecl();
tools/clang/lib/Sema/SemaExprCXX.cpp
 3141   if (FieldDecl *F = dyn_cast<FieldDecl>(ME->getMemberDecl()))
 6385           T = Mem->getMemberDecl()->getType();
tools/clang/lib/Sema/SemaLookup.cpp
 5255                 ? dyn_cast_or_null<CXXMethodDecl>(MemberFn->getMemberDecl())
tools/clang/lib/Sema/SemaOpenMP.cpp
  882       D = ME->getMemberDecl();
 2911     auto *FD = dyn_cast<FieldDecl>(E->getMemberDecl());
 4114        !isa<FieldDecl>(ME->getMemberDecl()))) {
 4128       getCanonicalDecl(DE ? DE->getDecl() : ME->getMemberDecl()), false);
 5599       const ValueDecl *VD = E->getMemberDecl();
 5668             return setLCDeclAndLB(ME->getMemberDecl(), ME, BO->getRHS(),
 5675           return setLCDeclAndLB(ME->getMemberDecl(), ME, BO->getRHS(),
 5703             return setLCDeclAndLB(ME->getMemberDecl(), ME, BO->getRHS(),
 5710           return setLCDeclAndLB(ME->getMemberDecl(), ME, BO->getRHS(),
 5743       return getCanonicalDecl(ME->getMemberDecl());
12705         E->getMemberDecl() == Field) {
14698       if (!isa<FieldDecl>(CurE->getMemberDecl())) {
14709       auto *FD = cast<FieldDecl>(CurE->getMemberDecl());
tools/clang/lib/Sema/SemaOverload.cpp
13378     Method = cast<CXXMethodDecl>(MemExpr->getMemberDecl());
tools/clang/lib/Sema/SemaTemplate.cpp
  590     Found = ME->getMemberDecl();
tools/clang/lib/Sema/SemaType.cpp
 8331     if (const ValueDecl *VD = ME->getMemberDecl())
tools/clang/lib/Sema/TreeTransform.h
 9694                                                          E->getMemberDecl()));
 9699   if (FoundDecl == E->getMemberDecl()) {
 9711       Member == E->getMemberDecl() &&
tools/clang/lib/Serialization/ASTWriterStmt.cpp
  698       (E->getFoundDecl().getDecl() != E->getMemberDecl() ||
  699        E->getFoundDecl().getAccess() != E->getMemberDecl()->getAccess());
  711   Record.AddDeclRef(E->getMemberDecl());
  713                                E->getMemberDecl()->getDeclName());
tools/clang/lib/StaticAnalyzer/Checkers/CastToStructChecker.cpp
   82       VD = SE->getMemberDecl();
tools/clang/lib/StaticAnalyzer/Checkers/CastValueChecker.cpp
  124               << ME->getMemberDecl()->getNameAsString() << '\'';
tools/clang/lib/StaticAnalyzer/Checkers/IdenticalExprChecker.cpp
  487     return MemberStmt1->getMemberDecl() == MemberStmt2->getMemberDecl();
  487     return MemberStmt1->getMemberDecl() == MemberStmt2->getMemberDecl();
tools/clang/lib/StaticAnalyzer/Checkers/MallocOverflowSecurityChecker.cpp
  145       return ME->getMemberDecl();
tools/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/RetainCountDiagnostics.cpp
  187     if (ME->getMemberDecl()->getNameAsString() != "alloc")
tools/clang/lib/StaticAnalyzer/Core/BugReporterVisitors.cpp
  200     if (const auto *FD = dyn_cast<FieldDecl>(ME->getMemberDecl()))
 2392       Out << "field '" << ME->getMemberDecl()->getName() << '\'';
 2419         LhsME->getMemberDecl()->getName() == RhsME->getMemberDecl()->getName();
 2419         LhsME->getMemberDecl()->getName() == RhsME->getMemberDecl()->getName();
 2595       << ME->getMemberDecl()->getName() << "' is ";
tools/clang/lib/StaticAnalyzer/Core/ExprEngine.cpp
 2568   ValueDecl *Member = M->getMemberDecl();
tools/clang/lib/Tooling/ASTDiff/ASTDiff.cpp
  452     return getRelativeName(M->getMemberDecl());
tools/clang/tools/extra/clang-reorder-fields/ReorderFieldsAction.cpp
  112       if (auto *FD = dyn_cast<FieldDecl>(MemExpr->getMemberDecl()))
tools/clang/tools/extra/clang-tidy/bugprone/ParentVirtualCallCheck.cpp
  104   const auto *MemberDecl = cast<CXXMethodDecl>(Member->getMemberDecl());
tools/clang/tools/extra/clang-tidy/misc/RedundantExpressionCheck.cpp
  116     return cast<MemberExpr>(Left)->getMemberDecl() ==
  117            cast<MemberExpr>(Right)->getMemberDecl();
tools/clang/tools/extra/clang-tidy/modernize/LoopConvertCheck.cpp
  315   StringRef Name = Member->getMemberDecl()->getName();
  377     return dyn_cast<FieldDecl>(Mem->getMemberDecl());
tools/clang/tools/extra/clang-tidy/modernize/LoopConvertUtils.cpp
  608   const IdentifierInfo *Ident = Member->getMemberDecl()->getIdentifier();
tools/clang/tools/extra/clang-tidy/readability/RedundantStringCStrCheck.cpp
  188       << Member->getMemberDecl()
tools/clang/tools/extra/clangd/FindTarget.cpp
  187         const Decl *D = ME->getMemberDecl();
tools/clang/tools/extra/clangd/SemanticHighlighting.cpp
  169       addToken(ME->getMemberLoc(), ME->getMemberDecl());
tools/clang/tools/extra/clangd/XRefs.cpp
  177           if (isa<CXXConversionDecl>(ME->getMemberDecl()))
tools/clang/tools/libclang/CIndex.cpp
 2645     if (auto *FD = dyn_cast_or_null<FieldDecl>(SubME->getMemberDecl())) {
 4339     return ME->getMemberDecl();
tools/clang/tools/libclang/CXCursor.cpp
 1590           MD = dyn_cast_or_null<CXXMethodDecl>(ME->getMemberDecl()))
 1620     if (dyn_cast_or_null<CXXMethodDecl>(ME->getMemberDecl())) {
tools/clang/unittests/Tooling/RecursiveASTVisitorTests/Attr.cpp
   20     Match(ME->getMemberDecl()->getNameAsString(), ME->getBeginLoc());