Searched refs:getDecl (Results 201 - 225 of 292) sorted by relevance

1234567891011>>

/freebsd-11-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DUnixAPIChecker.cpp297 os << " the local variable '" << VR->getDecl()->getName() << '\'';
H A DExprInspectionChecker.cpp309 C.getLocationContext()->getDecl(), Opts);
H A DStdLibraryFunctionsChecker.cpp341 const FunctionDecl *FD = dyn_cast_or_null<FunctionDecl>(Call.getDecl());
372 const auto *FD = dyn_cast_or_null<FunctionDecl>(Call.getDecl());
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DExplodedGraph.h154 const Decl &getCodeDecl() const { return *getLocationContext()->getDecl(); }
H A DCoreEngine.h501 return cast<LabelStmt>((*I)->getLabel())->getDecl();
/freebsd-11-stable/contrib/llvm-project/clang/lib/Sema/
H A DSemaExprMember.cpp596 : Record(RTy->getDecl()) {
622 if (BSTy->getDecl()->containsDecl(ND))
649 RecordDecl *RDecl = RTy->getDecl();
1021 : BaseType->castAs<RecordType>()->getDecl());
H A DSemaOpenMP.cpp482 ->getDecl() == VD;
885 E->getDecl()) == OMPDeclareTargetDeclAttr::MT_Link &&
1161 DSAInfo &Data = getTopOfStack().SharingMap[PrivateCopy->getDecl()];
2045 return VD ? VD : cast<VarDecl>(DVarPrivate.PrivateCopy->getDecl());
2056 return VD ? VD : cast<VarDecl>(DVarPrivate.PrivateCopy->getDecl());
2255 auto *VD = cast<VarDecl>(DRE->getDecl());
2514 if (const auto *VD = dyn_cast<VarDecl>(E->getDecl())) {
2542 auto *VD = cast<VarDecl>(DE->getDecl());
2732 auto *VD = cast<VarDecl>(DE->getDecl());
2955 if (auto *VD = dyn_cast<VarDecl>(E->getDecl())) {
[all...]
H A DSemaExprCXX.cpp299 = dyn_cast<ClassTemplateSpecializationDecl>(Record->getDecl())) {
479 CXXRecordDecl *RecordD = cast<CXXRecordDecl>(RecordT->getDecl());
737 if (VarDecl *Var = dyn_cast<VarDecl>(DRE->getDecl())) {
1612 S.LookupQualifiedName(ops, record->getDecl());
2471 cast<CXXRecordDecl>(AllocElemType->castAs<RecordType>()->getDecl());
3149 if (const VarDecl *VD = dyn_cast<const VarDecl>(D->getDecl())) {
3332 PointeeRD = cast<CXXRecordDecl>(RT->getDecl());
4019 assert(FromType->castAs<EnumType>()->getDecl()->isFixed() &&
4486 CXXRecordDecl *RD = cast<CXXRecordDecl>(RT->getDecl());
5121 if (lhsRecord && lhsRecord->getDecl()
[all...]
H A DSemaTemplateVariadic.cpp94 if (E->getDecl()->isParameterPack())
95 addUnexpanded(E->getDecl(), E->getLocation());
H A DSemaCast.cpp837 const RecordDecl *SrcDecl = SrcRecord->getDecl()->getDefinition();
1162 if (Enum->getDecl()->isScoped()) {
1902 auto *FD = dyn_cast<FunctionDecl>(DRE->getDecl());
2662 if (DestRecordTy && DestRecordTy->getDecl()->isUnion()) {
2663 RecordDecl *RD = DestRecordTy->getDecl();
H A DSemaDeclCXX.cpp87 NamedDecl *Decl = DRE->getDecl();
1336 const CXXRecordDecl *RD = cast_or_null<CXXRecordDecl>(BasePair.getDecl());
1955 const RecordDecl *RD = Field->getType()->castAs<RecordType>()->getDecl();
2496 RecordDecl *BaseDecl = BaseType->castAs<RecordType>()->getDecl();
2673 const CXXRecordDecl *RD = cast<CXXRecordDecl>(Record->getDecl());
5148 const RecordDecl *RD = RT->getDecl();
5422 CXXRecordDecl *FieldClassDecl = cast<CXXRecordDecl>(RT->getDecl());
5460 CXXRecordDecl *BaseClassDecl = cast<CXXRecordDecl>(RT->getDecl());
5492 CXXRecordDecl *BaseClassDecl = cast<CXXRecordDecl>(RT->getDecl());
6803 CXXRecordDecl *BaseClassDecl = cast<CXXRecordDecl>(BaseType->getDecl());
[all...]
H A DSemaDeclAttr.cpp175 const RecordDecl *RD = RT->getDecl();
473 const RecordDecl *Record = RT->getDecl();
551 return Ty.castAs<RecordType>()->getDecl()->hasAttr<AttrType>();
574 return checkRecordDeclForAttr<CapabilityAttr>(RT->getDecl());
582 TypedefNameDecl *TN = TD->getDecl();
685 if (DRE->getDecl()->isCXXInstanceMember())
686 ArgTy = DRE->getDecl()->getType();
1036 if (const auto *PVD = dyn_cast<ParmVarDecl>(DRE->getDecl()))
1468 if (UT && UT->getDecl()->hasAttr<TransparentUnionAttr>()) {
1469 RecordDecl *UD = UT->getDecl();
[all...]
H A DSemaDecl.cpp1779 if (TT->getDecl()->hasAttr<UnusedAttr>())
1793 const TagDecl *Tag = TT->getDecl();
4555 Record = RT->getDecl();
4557 Record = UT->getDecl();
7485 const NamedDecl *D = cast<NamedDecl>(DRE->getDecl()->getCanonicalDecl());
7888 Specifier->getType()->castAs<RecordType>()->getDecl();
8517 SourceLocation Loc = Typedef->getDecl()->getLocation();
8550 const RecordDecl *OrigRecDecl = RecTy->getDecl();
8552 VisitStack.push_back(RecTy->getDecl());
8579 RD = FieldRecTy->castAs<RecordType>()->getDecl();
[all...]
H A DSemaTemplateInstantiate.cpp1265 return Tag->getDecl();
1304 TagDecl* TD = TT->getDecl();
1656 NamedDecl *D = E->getDecl();
1770 if (TemplateTypeParmDecl *OldTTPDecl = T->getDecl())
2169 if (!T->getDecl() || !T->getDecl()->isImplicit())
2171 return T->getDecl();
/freebsd-11-stable/contrib/llvm-project/clang/lib/AST/Interp/
H A DInterp.cpp345 const FunctionDecl *DiagDecl = F->getDecl();
/freebsd-11-stable/contrib/llvm-project/clang/lib/AST/
H A DExprClassification.cpp227 return isa<FunctionDecl>(cast<DeclRefExpr>(E)->getDecl())
229 return ClassifyDecl(Ctx, cast<DeclRefExpr>(E)->getDecl());
H A DASTImporter.cpp1294 if (auto Imp = importSeq(T->getDecl(), T->getDecl()->getPreviousDecl()))
1312 Expected<TypedefNameDecl *> ToDeclOrErr = import(T->getDecl());
1388 Expected<CXXRecordDecl *> ToDeclOrErr = import(T->getDecl());
1409 Expected<RecordDecl *> ToDeclOrErr = import(T->getDecl());
1417 Expected<EnumDecl *> ToDeclOrErr = import(T->getDecl());
1438 Expected<TemplateTypeParmDecl *> ToDeclOrErr = import(T->getDecl());
1558 Expected<ObjCInterfaceDecl *> ToDeclOrErr = import(T->getDecl());
1627 if (RT && RT->getDecl() == D) {
1762 RecordDecl *FromRecordDecl = RecordFrom->getDecl();
[all...]
H A DVTableBuilder.cpp315 cast<CXXRecordDecl>(cast<RecordType>(CanDerivedReturnType)->getDecl());
318 cast<CXXRecordDecl>(cast<RecordType>(CanBaseReturnType)->getDecl());
2229 const CXXRecordDecl *RD = cast<CXXMethodDecl>(GD.getDecl())->getParent();
3611 const CXXMethodDecl *MD = cast<const CXXMethodDecl>(I.first.getDecl());
3732 assert(cast<CXXMethodDecl>(GD.getDecl())->isVirtual() &&
3734 if (isa<CXXDestructorDecl>(GD.getDecl()))
3743 const CXXRecordDecl *RD = cast<CXXMethodDecl>(GD.getDecl())->getParent();
H A DASTDiagnostic.cpp172 if (UTT->getDecl()->getTypedefNameForAnonDecl() == QTT->getDecl())
1096 dyn_cast<ClassTemplateSpecializationDecl>(RT->getDecl());
H A DDeclTemplate.cpp281 return Entry ? SETraits::getDecl(Entry)->getMostRecentDecl() : nullptr;
303 assert(SETraits::getDecl(Existing)->isCanonicalDecl() &&
309 SETraits::getDecl(Entry));
H A DStmtProfile.cpp254 VisitDecl(S->getDecl());
1057 VisitDecl(S->getDecl());
2026 VisitDecl(S->getDecl());
H A DStmtPrinter.cpp962 if (const auto *OCED = dyn_cast<OMPCapturedExprDecl>(Node->getDecl())) {
998 if (const auto *PD = dyn_cast<ImplicitParamDecl>(DRE->getDecl())) {
1015 OS << *Node->getDecl();
1800 cast<FunctionDecl>(DRE->getDecl())->getTemplateSpecializationArgs();
/freebsd-11-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DExprEngine.cpp142 return getLocationContext()->getDecl()->getASTContext();
234 const Decl *D = InitLoc->getDecl();
829 const auto *decl = cast<CXXConstructorDecl>(stackFrame->getDecl());
1029 const auto *CurDtor = cast<CXXDestructorDecl>(LCtx->getDecl());
1052 const auto *CurDtor = cast<CXXDestructorDecl>(LCtx->getDecl());
1689 VisitCommonDeclRefExpr(DE, DE->getDecl(), Pred, Dst);
1976 Engine.FunctionSummaries->markReachedMaxBlockCount(CalleeSF->getDecl());
2445 const Decl *D = LocCtxt->getDecl();
/freebsd-11-stable/contrib/llvm-project/clang/lib/Index/
H A DUSRGeneration.cpp826 VisitTagDecl(TT->getDecl());
831 VisitObjCInterfaceDecl(OIT->getDecl());
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Sema/
H A DInitialization.h430 ValueDecl *getDecl() const;

Completed in 804 milliseconds

1234567891011>>