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

1234567891011>>

/freebsd-13-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DSimpleSValBuilder.cpp153 if (const FunctionDecl *FD = dyn_cast<FunctionDecl>(FTR->getDecl()))
794 const FieldDecl *LeftFD = LeftFR->getDecl();
795 const FieldDecl *RightFD = RightFR->getDecl();
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());
1705 VisitCommonDeclRefExpr(DE, DE->getDecl(), Pred, Dst);
2008 Engine.FunctionSummaries->markReachedMaxBlockCount(CalleeSF->getDecl());
2477 const Decl *D = LocCtxt->getDecl();
/freebsd-13-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 DSemaLookup.cpp2073 RecordDecl *BaseRecord = Specifier->getType()->castAs<RecordType>()->getDecl();
2451 BaseSpec.getType()->castAs<RecordType>()->getDecl());
2459 R.addDecl(I.getDecl(),
2732 CXXRecordDecl *BaseDecl = cast<CXXRecordDecl>(BaseType->getDecl());
2804 cast<CXXRecordDecl>(cast<RecordType>(T)->getDecl());
2814 EnumDecl *Enum = cast<EnumType>(T)->getDecl();
3187 assert(isa<UsingDecl>(Cand.getDecl()) &&
3799 RD = Record->getDecl();
H A DSemaTemplateVariadic.cpp94 if (E->getDecl()->isParameterPack())
95 addUnexpanded(E->getDecl(), E->getLocation());
H A DSemaExprCXX.cpp558 CXXRecordDecl *RecordD = cast<CXXRecordDecl>(RecordT->getDecl());
806 if (VarDecl *Var = dyn_cast<VarDecl>(DRE->getDecl())) {
1686 S.LookupQualifiedName(ops, record->getDecl());
2608 cast<CXXRecordDecl>(AllocElemType->castAs<RecordType>()->getDecl());
3286 if (const VarDecl *VD = dyn_cast<const VarDecl>(D->getDecl())) {
3470 PointeeRD = cast<CXXRecordDecl>(RT->getDecl());
4159 assert(FromType->castAs<EnumType>()->getDecl()->isFixed() &&
4634 CXXRecordDecl *RD = cast<CXXRecordDecl>(RT->getDecl());
5264 if (lhsRecord && lhsRecord->getDecl()->isUnion())
5266 if (rhsRecord && rhsRecord->getDecl()
[all...]
H A DSemaCast.cpp878 const RecordDecl *SrcDecl = SrcRecord->getDecl()->getDefinition();
1219 if (Enum->getDecl()->isScoped()) {
1959 auto *FD = dyn_cast<FunctionDecl>(DRE->getDecl());
2739 if (DestRecordTy && DestRecordTy->getDecl()->isUnion()) {
2740 RecordDecl *RD = DestRecordTy->getDecl();
H A DSemaDeclCXX.cpp88 const NamedDecl *Decl = DRE->getDecl();
1351 const CXXRecordDecl *RD = cast_or_null<CXXRecordDecl>(BasePair.getDecl());
1964 const RecordDecl *RD = Field->getType()->castAs<RecordType>()->getDecl();
2508 RecordDecl *BaseDecl = BaseType->castAs<RecordType>()->getDecl();
2685 const CXXRecordDecl *RD = cast<CXXRecordDecl>(Record->getDecl());
5170 const RecordDecl *RD = RT->getDecl();
5444 CXXRecordDecl *FieldClassDecl = cast<CXXRecordDecl>(RT->getDecl());
5491 CXXRecordDecl *BaseClassDecl = cast<CXXRecordDecl>(RT->getDecl());
5528 CXXRecordDecl *BaseClassDecl = cast<CXXRecordDecl>(RT->getDecl());
7051 CXXRecordDecl *BaseClassDecl = cast<CXXRecordDecl>(BaseType->getDecl());
[all...]
H A DSemaType.cpp1601 S.DiagnoseUseOfDecl(TT->getDecl(), DS.getTypeSpecTypeLoc());
2320 if (EltTy->getDecl()->hasFlexibleArrayMember())
3995 RecordDecl *recordDecl = recordType->getDecl();
4553 if (typedefTy->getDecl() == vaListTypedef)
4555 if (auto *name = typedefTy->getDecl()->getIdentifier())
7014 TypedefNameDecl *typedefDecl = typedefType->getDecl();
7781 if (TypedefTy->getDecl()->hasAttr<OpenCLAccessAttr>()) {
7783 TypedefTy->getDecl()->getAttr<OpenCLAccessAttr>();
7812 S.Diag(TypedefTy->getDecl()->getBeginLoc(),
8158 if (VarDecl *Var = dyn_cast<VarDecl>(DRE->getDecl())) {
[all...]
H A DSemaDecl.cpp1794 if (TT->getDecl()->hasAttr<UnusedAttr>())
1808 const TagDecl *Tag = TT->getDecl();
4687 Record = RT->getDecl();
4689 Record = UT->getDecl();
7652 const NamedDecl *D = cast<NamedDecl>(DRE->getDecl()->getCanonicalDecl());
8062 Specifier->getType()->castAs<RecordType>()->getDecl();
8658 SourceLocation Loc = Typedef->getDecl()->getLocation();
8691 const RecordDecl *OrigRecDecl = RecTy->getDecl();
8693 VisitStack.push_back(RecTy->getDecl());
8720 RD = FieldRecTy->castAs<RecordType>()->getDecl();
[all...]
H A DSemaTemplateInstantiate.cpp1282 return Tag->getDecl();
1321 TagDecl* TD = TT->getDecl();
1721 NamedDecl *D = E->getDecl();
1853 if (TemplateTypeParmDecl *OldTTPDecl = T->getDecl())
2252 if (!T->getDecl() || !T->getDecl()->isImplicit())
2254 return T->getDecl();
/freebsd-13-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DExprInspectionChecker.cpp330 C.getLocationContext()->getDecl(), Opts);
H A DIteratorRangeChecker.cpp82 const auto *Func = dyn_cast_or_null<FunctionDecl>(Call.getDecl());
H A DUnixAPIChecker.cpp298 os << " the local variable '" << VR->getDecl()->getName() << '\'';
H A DIteratorModeling.cpp175 const auto *Func = dyn_cast_or_null<FunctionDecl>(Call.getDecl());
413 const auto *IdInfo = cast<FunctionDecl>(Call.getDecl())->getIdentifier();
/freebsd-13-stable/contrib/llvm-project/clang/lib/Tooling/Refactoring/Rename/
H A DUSRLocFinder.cpp453 return TT->getDecl();
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DExplodedGraph.h154 const Decl &getCodeDecl() const { return *getLocationContext()->getDecl(); }
/freebsd-13-stable/contrib/llvm-project/clang/lib/ARCMigrate/
H A DTransProperties.cpp296 if (RE->getDecl() != Ivar)
H A DTransUnbridgedCasts.cpp453 if (ImplicitParamDecl *IPD = dyn_cast<ImplicitParamDecl>(DRE->getDecl()))
/freebsd-13-stable/contrib/llvm-project/clang/lib/AST/Interp/
H A DInterp.cpp345 const FunctionDecl *DiagDecl = F->getDecl();
/freebsd-13-stable/contrib/llvm-project/clang/lib/AST/
H A DTypePrinter.cpp997 printTypeSpec(T->getDecl(), OS);
1004 printTypeSpec(T->getDecl(), OS);
1291 printTag(T->getDecl(), OS);
1297 printTag(T->getDecl(), OS);
1304 TemplateTypeParmDecl *D = T->getDecl();
1641 OS << T->getDecl()->getName();
1650 OS << T->getDecl()->getName();
H A DComputeDependence.cpp68 D = DRE->getDecl();
419 auto *Decl = E->getDecl();
H A DExprClassification.cpp234 return isa<FunctionDecl>(cast<DeclRefExpr>(E)->getDecl())
236 return ClassifyDecl(Ctx, cast<DeclRefExpr>(E)->getDecl());
H A DASTImporter.cpp1281 auto ToD = importChecked(Err, T->getDecl());
1282 auto ToPrevD = importChecked(Err, T->getDecl()->getPreviousDecl());
1299 Expected<TypedefNameDecl *> ToDeclOrErr = import(T->getDecl());
1375 Expected<CXXRecordDecl *> ToDeclOrErr = import(T->getDecl());
1396 Expected<RecordDecl *> ToDeclOrErr = import(T->getDecl());
1404 Expected<EnumDecl *> ToDeclOrErr = import(T->getDecl());
1425 Expected<TemplateTypeParmDecl *> ToDeclOrErr = import(T->getDecl());
1546 Expected<ObjCInterfaceDecl *> ToDeclOrErr = import(T->getDecl());
1615 if (RT && RT->getDecl() == D) {
1750 RecordDecl *FromRecordDecl = RecordFrom->getDecl();
[all...]
/freebsd-13-stable/contrib/llvm-project/clang/lib/Index/
H A DUSRGeneration.cpp828 VisitTagDecl(TT->getDecl());
833 VisitObjCInterfaceDecl(OIT->getDecl());

Completed in 315 milliseconds

1234567891011>>