Searched refs:getDecl (Results 151 - 175 of 292) sorted by relevance

1234567891011>>

/freebsd-11-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DVforkChecker.cpp150 if (!isVforkCall(Call.getDecl(), C))
H A DIteratorRangeChecker.cpp63 const auto *Func = dyn_cast_or_null<FunctionDecl>(Call.getDecl());
H A DLocalizationChecker.cpp727 const Decl *D = C.getCurrentAnalysisDeclContext()->getDecl();
847 if (const Decl *D = msg.getDecl()) {
885 const auto *FD = dyn_cast_or_null<FunctionDecl>(Call.getDecl());
945 const Decl *D = Call.getDecl();
987 isAnnotatedAsReturningLocalized(msg.getDecl())) {
1249 if (const VarDecl *VD = dyn_cast<VarDecl>(DRE->getDecl())) {
1387 BR.EmitBasicReport(AC->getDecl(), Checker, "Plural Misuse",
H A DMallocChecker.cpp1978 const NamedDecl *FD = cast<FunctionCodeRegion>(MR)->getDecl();
1999 VD = VR->getDecl();
2014 VD = VR->getDecl();
2029 VD = VR->getDecl();
2613 AllocNode->getLocationContext()->getDecl());
2691 const FunctionDecl *FD = FC->getDecl();
2793 VR = MemMgr.getVarRegion(VR->getDecl(), LC);
2815 if (const auto *FD = dyn_cast<FunctionDecl>(C.getStackFrame()->getDecl()))
2993 const FunctionDecl *FD = cast<SimpleFunctionCall>(Call)->getDecl();
3047 if (const VarDecl *D = dyn_cast<VarDecl>(ArgDRE->getDecl()))
[all...]
H A DCallAndMessageChecker.cpp209 const RecordDecl *RD = RT->getDecl()->getDefinition();
399 const Decl *D = Call.getDecl();
/freebsd-11-stable/contrib/llvm-project/clang/lib/AST/Interp/
H A DInterpFrame.cpp152 return Func->getDecl();
/freebsd-11-stable/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A DClangASTSource.cpp280 const_cast<TagDecl *>(tag_type->getDecl());
317 const_cast<TagDecl *>(tag_type->getDecl());
413 ObjCInterfaceDecl *complete_iface_decl(complete_interface_type->getDecl());
1528 origin_base_record_type->getDecl());
1661 DeclFromParser<RecordDecl> base_record(base_record_type->getDecl());
1988 TypedefNameDecl *typedef_name_decl = typedef_type->getDecl();
1994 TagDecl *tag_decl = tag_type->getDecl();
/freebsd-11-stable/contrib/llvm-project/clang/lib/Analysis/
H A DRetainSummaryManager.cpp667 Summ = getFunctionSummary(cast_or_null<FunctionDecl>(C.getDecl()));
676 Summ = getMethodSummary(cast<ObjCMethodDecl>(C.getDecl()));
887 const auto &Context = T->getDecl()->getASTContext();
888 if (T->getDecl()->getIdentifier() == &Context.Idents.get(Name))
890 QT = T->getDecl()->getUnderlyingType();
/freebsd-11-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/
H A DRetainCountChecker.cpp173 VR = MemMgr.getVarRegion(VR->getDecl(), LC);
358 : AnyCall(cast<CXXDestructorDecl>(Call.getDecl()));
514 const VarDecl *VD = VR->getDecl();
892 const auto *FD = dyn_cast_or_null<FunctionDecl>(Call.getDecl());
1337 const Decl *D = LCtx->getDecl();
H A DRetainCountChecker.h387 auto Method = dyn_cast_or_null<ObjCMethodDecl>(SFC->getDecl());
/freebsd-11-stable/contrib/llvm-project/clang/lib/AST/
H A DASTContext.cpp543 ThisDeclInfo->CommentDecl = FC->getDecl();
600 if (const Decl *TD = TT->getDecl())
1829 const ASTRecordLayout &layout = getASTRecordLayout(RT->getDecl());
1882 if (unsigned Align = TT->getDecl()->getMaxAlignment())
1893 if (unsigned Align = TT->getDecl()->getMaxAlignment())
1898 return TT->getDecl()->getMaxAlignment();
2218 const ASTRecordLayout &Layout = getASTObjCInterfaceLayout(ObjCI->getDecl());
2227 if (TT->getDecl()->isInvalidDecl()) {
2234 const EnumDecl *ED = ET->getDecl();
2245 const RecordDecl *RD = RT->getDecl();
[all...]
H A DItaniumMangle.cpp1328 const RecordDecl *RD = VD->getType()->castAs<RecordType>()->getDecl();
2038 mangleSourceNameWithAbiTags(cast<TypedefType>(Ty)->getDecl());
2043 cast<UnresolvedUsingType>(Ty)->getDecl());
2048 mangleSourceNameWithAbiTags(cast<TagType>(Ty)->getDecl());
2098 cast<InjectedClassNameType>(Ty)->getDecl());
2940 mangleName(T->getDecl());
2952 mangleName(T->getDecl());
3266 mangleSourceName(T->getDecl()->getIdentifier());
3482 if (!RT->getDecl()->isAnonymousStructOrUnion())
4206 mangleDeclRefExpr(cast<DeclRefExpr>(E)->getDecl());
[all...]
H A DScanfFormatString.cpp428 if (!ETy->getDecl()->isComplete())
430 PT = ETy->getDecl()->getIntegerType();
/freebsd-11-stable/contrib/llvm-project/clang/lib/CodeGen/
H A DCGExprConstant.cpp663 RecordDecl *RD = ILE->getType()->castAs<RecordType>()->getDecl();
843 RecordDecl *RD = Type->castAs<RecordType>()->getDecl();
866 const RecordDecl *RD = ValTy->castAs<RecordType>()->getDecl();
1264 HasFlexibleArray = RT->getDecl()->hasFlexibleArrayMember();
1275 const CXXRecordDecl *RD = cast<CXXRecordDecl>(RT->getDecl());
2176 const ValueDecl *decl = cast<DeclRefExpr>(uo->getSubExpr())->getDecl();
2214 cast<CXXRecordDecl>(I.getType()->castAs<RecordType>()->getDecl());
2251 cast<CXXRecordDecl>(I.getType()->castAs<RecordType>()->getDecl());
2317 return ::EmitNullConstant(*this, RT->getDecl(), /*complete object*/ true);
H A DCGExprAgg.cpp238 RecordDecl *Record = RecordTy->getDecl();
396 RecordDecl *Record = E->getType()->castAs<RecordType>()->getDecl();
1072 const VarDecl *var = dyn_cast<VarDecl>(DRE->getDecl());
1484 RecordDecl *record = E->getType()->castAs<RecordType>()->getDecl();
1755 RecordDecl *SD = RT->getDecl();
1807 const CXXRecordDecl *RD = cast<CXXRecordDecl>(RT->getDecl());
1914 CXXRecordDecl *Record = cast<CXXRecordDecl>(RT->getDecl());
1986 RecordDecl *Record = RecordTy->getDecl();
1995 if (RecordTy->getDecl()->hasObjectMember()) {
H A DCGExprCXX.cpp96 const CXXMethodDecl *DtorDecl = cast<CXXMethodDecl>(Dtor.getDecl());
175 return cast<CXXRecordDecl>(Ty->getDecl());
440 cast<CXXRecordDecl>(MPT->getClass()->castAs<RecordType>()->getDecl());
1204 if (RType->getDecl()->isStruct()) {
1206 if (auto *CXXRD = dyn_cast<CXXRecordDecl>(RType->getDecl()))
1208 for (auto *Field : RType->getDecl()->fields())
1621 AlignValT->castAs<EnumType>()->getDecl()->getIntegerType(),
1890 CXXRecordDecl *RD = cast<CXXRecordDecl>(RT->getDecl());
H A DModuleBuilder.cpp114 const Decl *D = Result.getCanonicalDecl().getDecl();
/freebsd-11-stable/contrib/llvm-project/clang/lib/Sema/
H A DSemaTemplateInstantiateDecl.cpp282 if (auto *PVD = dyn_cast<ParmVarDecl>(DRE->getDecl())) {
363 if (auto *PVD = dyn_cast<ParmVarDecl>(DRE->getDecl())) {
782 TagDecl *oldTag = oldTagType->getDecl();
784 TagDecl *newTag = DI->getType()->castAs<TagType>()->getDecl();
3259 cast<DeclRefExpr>(D->getCombinerIn())->getDecl(),
3260 cast<DeclRefExpr>(NewDRD->getCombinerIn())->getDecl());
3262 cast<DeclRefExpr>(D->getCombinerOut())->getDecl(),
3263 cast<DeclRefExpr>(NewDRD->getCombinerOut())->getDecl());
3275 cast<DeclRefExpr>(D->getInitOrig())->getDecl(),
3276 cast<DeclRefExpr>(NewDRD->getInitOrig())->getDecl());
[all...]
H A DSemaCUDA.cpp310 CXXRecordDecl *BaseClassDecl = cast<CXXRecordDecl>(BaseType->getDecl());
353 CXXRecordDecl *FieldRecDecl = cast<CXXRecordDecl>(FieldType->getDecl());
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/AST/
H A DType.h4221 UnresolvedUsingTypenameDecl *getDecl() const { return Decl; }
4256 TypedefNameDecl *getDecl() const { return Decl; }
4483 TagDecl *getDecl() const;
4505 RecordDecl *getDecl() const {
4506 return reinterpret_cast<RecordDecl*>(TagType::getDecl());
4528 EnumDecl *getDecl() const {
4529 return reinterpret_cast<EnumDecl*>(TagType::getDecl());
4694 TemplateTypeParmDecl *getDecl() const {
4704 Profile(ID, getDepth(), getIndex(), isParameterPack(), getDecl());
5176 CXXRecordDecl *getDecl() cons
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/lib/Index/
H A DIndexBody.cpp139 return IndexCtx.handleReference(E->getDecl(), E->getLocation(),
212 return IndexCtx.handleReference(E->getDecl(), E->getLocation(),
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DSVals.h537 const DeclaratorDecl *getDecl() const;
541 return dyn_cast_or_null<AdjustedDecl>(getDecl());
/freebsd-11-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DCoreEngine.cpp93 L->getDecl(),
216 LC->getDecl(),
H A DSymbolManager.cpp88 os << ", S" << S->getID(LCtx->getDecl()->getASTContext());
545 if (LCtx->getAnalysis<RelaxedLiveVariables>()->isLive(Loc, VR->getDecl()))
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Serialization/
H A DASTWriter.h178 Decl *getDecl() const { function in class:clang::ASTWriter::DeclOrType
354 const Decl *getDecl() const { return Dcl; } function in class:clang::ASTWriter::DeclUpdate

Completed in 238 milliseconds

1234567891011>>