/freebsd-13-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/ |
H A D | RegionStore.cpp | 409 if (const auto *FD = dyn_cast<FunctionDecl>(InitLoc->getDecl())) 476 if (BR->getDecl()->isEmpty()) 809 return FR->getDecl()->getParent()->isUnion(); 823 Fields.push_back(FR->getDecl()); 879 if (FR->getDecl()->isBitField()) 880 Length = FR->getDecl()->getBitWidthValue(SVB.getContext()); 1107 const VarDecl *VD = VR->getDecl(); 1664 const VarDecl *VD = VR->getDecl(); 1743 const FieldDecl *FD = R->getDecl(); 1753 const VarDecl *VD = VR->getDecl(); [all...] |
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/ASTMatchers/ |
H A D | ASTMatchersInternal.h | 664 // Metafunction to determine if type T has a member called getDecl. 671 static yes& test(Inner *I, decltype(I->getDecl()) * = nullptr); 810 return matchesDecl(S->getDecl(), Finder, Builder); 813 return matchesDecl(S->getDecl(), Finder, Builder); 816 return matchesDecl(S->getDecl(), Finder, Builder); 819 return matchesDecl(S->getDecl(), Finder, Builder); 822 return matchesDecl(S->getDecl(), Finder, Builder); 872 return matchesDecl(Node.getDecl(), Finder, Builder); 893 return matchesDecl(Node.getDecl(), Finder, Builder); 924 return matchesDecl(Node.getDecl(), Finde [all...] |
/freebsd-13-stable/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaAvailability.cpp | 73 D = TT->getDecl(); 624 if (DRE->getDecl() == D) 715 DiagnoseDeclAvailability(DRE->getDecl(), 864 TagDecl *TD = TT->getDecl(); 868 TypedefNameDecl *D = TD->getDecl();
|
H A D | SemaCXXScopeSpec.cpp | 34 CXXRecordDecl *Record = cast<CXXRecordDecl>(RecordTy->getDecl()); 41 return cast<InjectedClassNameType>(Ty)->getDecl(); 56 return Tag->getDecl(); 133 return RecordT->getDecl(); 154 return Tag->getDecl();
|
H A D | SemaStmt.cpp | 814 if (const VarDecl *VD = dyn_cast<VarDecl>(DRE->getDecl())) { 846 if (!CondEnumType->getDecl()->getIdentifier() && 847 !CondEnumType->getDecl()->getTypedefNameForAnonDecl()) 849 if (!CaseEnumType->getDecl()->getIdentifier() && 850 !CaseEnumType->getDecl()->getTypedefNameForAnonDecl()) 1009 PrevString = DeclRef->getDecl()->getName(); 1012 CurrString = DeclRef->getDecl()->getName(); 1149 ET && ET->getDecl()->isCompleteDefinition()) { 1150 const EnumDecl *ED = ET->getDecl(); 1291 const EnumDecl *ED = ET->getDecl(); [all...] |
/freebsd-13-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
H A D | BasicObjCFoundationChecks.cpp | 576 << cast<FunctionDecl>(Call.getDecl())->getName(); 670 const ObjCMethodDecl *MD = msg.getDecl(); 1058 const ObjCMethodDecl *MD = Message->getDecl(); 1208 if (!C.inTopFrame() && M.getDecl() && 1209 M.getDecl()->getMethodFamily() == OMF_init &&
|
H A D | GenericTaintChecker.cpp | 113 if (!Call.getDecl()) 116 const FunctionDecl *FDecl = Call.getDecl()->getAsFunction(); 778 if (const auto *D = dyn_cast_or_null<VarDecl>(DeclReg->getDecl())) { 796 const FunctionDecl *FDecl = Call.getDecl()->getAsFunction(); 884 const auto *FDecl = Call.getDecl()->getAsFunction();
|
H A D | MacOSKeychainAPIChecker.cpp | 162 const ValueDecl *VD = DRE->getDecl(); 496 AllocNode->getLocationContext()->getDecl()); 587 if (!Call || Call->getDecl())
|
H A D | CastValueChecker.cpp | 122 Out << '\'' << DRE->getDecl()->getNameAsString() << '\''; 153 Out << '\'' << DRE->getDecl()->getNameAsString() << '\''; 262 const FunctionDecl *FD = Call.getDecl()->getAsFunction(); 491 const FunctionDecl *FD = Call.getDecl()->getAsFunction();
|
H A D | ValistChecker.cpp | 177 if (isa<ParmVarDecl>(DeclReg->getDecl())) 301 StartNode->getLocationContext()->getDecl());
|
H A D | ObjCSuperDeallocChecker.cpp | 164 OS << "Use of instance variable '" << *IvarRegion->getDecl() <<
|
H A D | TrustNonnullChecker.cpp | 171 const ObjCMethodDecl *MD = MCall->getDecl();
|
/freebsd-13-stable/contrib/llvm-project/clang/lib/ARCMigrate/ |
H A D | Transforms.cpp | 200 return DRE->getDecl()->getDeclContext()->isFileContext() && 201 DRE->getDecl()->isExternallyVisible(); 231 if (E->getDecl() == Dcl)
|
H A D | TransRetainReleaseDealloc.cpp | 306 return DRE->getDecl(); 310 return IRE->getDecl();
|
/freebsd-13-stable/contrib/llvm-project/clang/lib/AST/ |
H A D | NSAPI.cpp | 516 TDT->getDecl()->getDeclName().getAsIdentifierInfo()->getName()) 571 if (TDT->getDecl()->getDeclName().getAsIdentifierInfo() == II) 591 EnumD = dyn_cast_or_null<EnumConstantDecl>(DRE->getDecl()))
|
H A D | Expr.cpp | 74 Decl *D = Ty->getDecl(); 91 cast<CXXRecordDecl>(E->getType()->castAs<RecordType>()->getDecl()); 1419 return DRE->getDecl(); 1573 bool HasQualOrFound = QualifierLoc || FoundDecl.getDecl() != MemberDecl || 1869 auto RD = unionType->castAs<RecordType>()->getDecl(); 2635 if (auto *VD = dyn_cast<VarDecl>(DRE->getDecl())) 2721 const Decl *D = cast<DeclRefExpr>(E)->getDecl(); 3235 RecordDecl *RD = ILE->getType()->castAs<RecordType>()->getDecl(); 3826 UT && UT->getDecl()->hasAttr<TransparentUnionAttr>()) 3890 const ImplicitParamDecl *Param = dyn_cast<ImplicitParamDecl>(DRE->getDecl()); [all...] |
/freebsd-13-stable/contrib/llvm-project/clang/lib/Analysis/ |
H A D | ReachableCode.cpp | 38 return isa<EnumConstantDecl>(DR->getDecl()); 63 if (const auto *FDecl = dyn_cast<FunctionDecl>(DRE->getDecl())) 220 return isConfigurationValue(cast<DeclRefExpr>(S)->getDecl(), PP);
|
H A D | ThreadSafetyCommon.cpp | 274 const auto *VD = cast<ValueDecl>(DRE->getDecl()->getCanonicalDecl()); 365 const auto *D = cast<ObjCIvarDecl>(IVRE->getDecl()->getCanonicalDecl()); 442 if (DRE->getDecl()->isCXXInstanceMember()) { 446 return new (Arena) til::Project(W, DRE->getDecl()); 501 VD = DRE->getDecl(); 567 til::SExpr *E0 = lookupVarDecl(DRE->getDecl());
|
/freebsd-13-stable/contrib/llvm-project/clang/lib/Frontend/Rewrite/ |
H A D | RewriteModernObjC.cpp | 855 RecordDecl *RD = IvarT->castAs<RecordType>()->getDecl(); 1718 elementName = DR->getDecl()->getName(); 1719 ValueDecl *VD = DR->getDecl(); 3645 RecordDecl *RD = Type->castAs<RecordType>()->getDecl(); 3668 EnumDecl *ED = Type->castAs<EnumType>()->getDecl(); 3740 TD = Type->castAs<RecordType>()->getDecl(); 3743 TD = Type->castAs<EnumType>()->getDecl(); 4346 ValueDecl *VD = Exp->getDecl(); 4475 HasLocalVariableExternalStorage(DRE->getDecl())) 4497 HasLocalVariableExternalStorage(DRE->getDecl())) { [all...] |
H A D | RewriteObjC.cpp | 1511 elementName = DR->getDecl()->getName(); 1512 ValueDecl *VD = DR->getDecl(); 3561 ValueDecl *VD = Exp->getDecl(); 3664 HasLocalVariableExternalStorage(DRE->getDecl())) 3686 HasLocalVariableExternalStorage(DRE->getDecl())) { 3687 if (!InnerContexts.count(DRE->getDecl()->getDeclContext())) 3689 if (VarDecl *Var = cast<VarDecl>(DRE->getDecl())) 3841 ValueDecl *VD = DeclRefExp->getDecl(); 3843 HasLocalVariableExternalStorage(DeclRefExp->getDecl()); 3876 ValueDecl *VD = DRE->getDecl(); [all...] |
/freebsd-13-stable/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CGOpenMPRuntime.cpp | 606 if (const auto *DRD = dyn_cast<OMPDeclareReductionDecl>(DRE->getDecl())) 628 PrivateScope.addPrivate(cast<VarDecl>(LHSDRE->getDecl()), 630 PrivateScope.addPrivate(cast<VarDecl>(RHSDRE->getDecl()), 770 cast<VarDecl>(cast<DeclRefExpr>(ClausesData[N].Private)->getDecl()); 816 cast<VarDecl>(cast<DeclRefExpr>(ClausesData[N].Private)->getDecl()); 854 cast<VarDecl>(cast<DeclRefExpr>(ClausesData[N].Private)->getDecl()); 875 cast<VarDecl>(cast<DeclRefExpr>(ClausesData[N].Private)->getDecl()); 906 cast<VarDecl>(cast<DeclRefExpr>(ClausesData[N].Private)->getDecl()); 915 cast<VarDecl>(cast<DeclRefExpr>(ClausesData[N].Private)->getDecl()); 982 OrigVD = cast<VarDecl>(DE->getDecl()); [all...] |
H A D | CGCXXABI.cpp | 51 cast<CXXRecordDecl>(MPT->getClass()->castAs<RecordType>()->getDecl()); 123 const CXXMethodDecl *MD = cast<CXXMethodDecl>(CGF.CurGD.getDecl());
|
H A D | CGClass.cpp | 183 cast<CXXRecordDecl>(Base->getType()->castAs<RecordType>()->getDecl()); 307 (*Start)->getType()->castAs<RecordType>()->getDecl()); 467 const CXXRecordDecl *Base = cast<CXXMethodDecl>(GD.getDecl())->getParent(); 566 cast<CXXRecordDecl>(BaseType->castAs<RecordType>()->getDecl()); 780 Prologue ? cast<CXXConstructorDecl>(CurGD.getDecl())->getParent() 781 : cast<CXXDestructorDecl>(CurGD.getDecl())->getParent(); 842 const CXXConstructorDecl *Ctor = cast<CXXConstructorDecl>(CurGD.getDecl()); 1273 cast<CXXRecordDecl>(BaseType->castAs<RecordType>()->getDecl()); 1383 cast<CXXRecordDecl>(I.getType()->castAs<RecordType>()->getDecl()); 1393 cast<CXXRecordDecl>(I.getType()->castAs<RecordType>()->getDecl()); [all...] |
H A D | CGOpenCLRuntime.cpp | 136 E = cast<VarDecl>(DR->getDecl())->getInit();
|
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/AST/ |
H A D | VTableBuilder.h | 342 const CXXMethodDecl *MD = cast<CXXMethodDecl>(GD.getDecl()->getCanonicalDecl()); 594 if (isa<CXXDestructorDecl>(GD.getDecl()) &&
|