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

1234567891011>>

/freebsd-13-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DUnreachableCodeChecker.cpp69 D = LC->getAnalysisDeclContext()->getDecl();
H A DVforkChecker.cpp151 if (!isVforkCall(Call.getDecl(), C))
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",
/freebsd-13-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DExprEngineObjC.cpp27 SVal location = state->getLValue(Ex->getDecl(), baseVal);
H A DCoreEngine.cpp92 L->getDecl(),
215 LC->getDecl(),
H A DSymbolManager.cpp70 os << ", S" << S->getID(LCtx->getDecl()->getASTContext());
524 if (LCtx->getAnalysis<RelaxedLiveVariables>()->isLive(Loc, VR->getDecl()))
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/Sema/
H A DDelayedDiagnostic.h66 Target(FoundDecl.getDecl()), NamingClass(NamingClass),
/freebsd-13-stable/contrib/llvm-project/clang/lib/AST/Interp/
H A DInterpFrame.cpp152 return Func->getDecl();
/freebsd-13-stable/contrib/llvm-project/clang/lib/AST/
H A DTemplateName.cpp233 OS << *QTN->getDecl();
H A DASTContext.cpp536 ThisDeclInfo->CommentDecl = FC->getDecl();
593 if (const Decl *TD = TT->getDecl())
1787 const ASTRecordLayout &layout = getASTRecordLayout(RT->getDecl());
1840 if (unsigned Align = TT->getDecl()->getMaxAlignment())
1851 if (unsigned Align = TT->getDecl()->getMaxAlignment())
1856 return TT->getDecl()->getMaxAlignment();
2192 if (ObjCI->getDecl()->isInvalidDecl()) {
2197 const ASTRecordLayout &Layout = getASTObjCInterfaceLayout(ObjCI->getDecl());
2215 if (TT->getDecl()->isInvalidDecl()) {
2222 const EnumDecl *ED = ET->getDecl();
[all...]
H A DTextNodeDumper.cpp885 cast<CXXRecordDecl>(Base->getType()->castAs<RecordType>()->getDecl());
968 dumpBareDeclRef(Node->getDecl());
969 if (Node->getDecl() != Node->getFoundDecl()) {
1000 OS << " " << Node->getDecl()->getDeclKindName() << "Decl";
1002 OS << "='" << *Node->getDecl() << "'";
1003 dumpPointer(Node->getDecl());
1435 dumpDeclRef(T->getDecl());
1439 dumpDeclRef(T->getDecl());
1451 dumpDeclRef(T->getDecl());
1458 dumpDeclRef(T->getDecl());
[all...]
H A DScanfFormatString.cpp428 if (!ETy->getDecl()->isComplete())
430 PT = ETy->getDecl()->getIntegerType();
/freebsd-13-stable/contrib/llvm-project/clang/lib/Analysis/
H A DCallGraph.cpp275 if (const NamedDecl *ND = dyn_cast_or_null<NamedDecl>(Node->getDecl()))
H A DRetainSummaryManager.cpp671 Summ = getFunctionSummary(cast_or_null<FunctionDecl>(C.getDecl()));
680 Summ = getMethodSummary(cast<ObjCMethodDecl>(C.getDecl()));
891 const auto &Context = T->getDecl()->getASTContext();
892 if (T->getDecl()->getIdentifier() == &Context.Idents.get(Name))
894 QT = T->getDecl()->getUnderlyingType();
/freebsd-13-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();
/freebsd-13-stable/contrib/llvm-project/clang/lib/CodeGen/
H A DCGExprAgg.cpp244 RecordDecl *Record = RecordTy->getDecl();
400 RecordDecl *Record = E->getType()->castAs<RecordType>()->getDecl();
1098 const VarDecl *var = dyn_cast<VarDecl>(DRE->getDecl());
1509 RecordDecl *record = E->getType()->castAs<RecordType>()->getDecl();
1778 RecordDecl *SD = RT->getDecl();
1830 const CXXRecordDecl *RD = cast<CXXRecordDecl>(RT->getDecl());
1937 CXXRecordDecl *Record = cast<CXXRecordDecl>(RT->getDecl());
2021 RecordDecl *Record = RecordTy->getDecl();
2030 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(),
1899 CXXRecordDecl *RD = cast<CXXRecordDecl>(RT->getDecl());
H A DCGExprConstant.cpp674 RecordDecl *RD = ILE->getType()->castAs<RecordType>()->getDecl();
854 RecordDecl *RD = Type->castAs<RecordType>()->getDecl();
877 const RecordDecl *RD = ValTy->castAs<RecordType>()->getDecl();
1275 HasFlexibleArray = RT->getDecl()->hasFlexibleArrayMember();
2188 const ValueDecl *decl = cast<DeclRefExpr>(uo->getSubExpr())->getDecl();
2226 cast<CXXRecordDecl>(I.getType()->castAs<RecordType>()->getDecl());
2263 cast<CXXRecordDecl>(I.getType()->castAs<RecordType>()->getDecl());
2329 return ::EmitNullConstant(*this, RT->getDecl(), /*complete object*/ true);
H A DCGCall.cpp308 auto *MD = cast<CXXMethodDecl>(GD.getDecl());
516 const FunctionDecl *FD = cast<FunctionDecl>(GD.getDecl());
518 if (isa<CXXConstructorDecl>(GD.getDecl()) ||
519 isa<CXXDestructorDecl>(GD.getDecl()))
915 const RecordDecl *RD = RT->getDecl();
1682 const CXXMethodDecl *MD = cast<CXXMethodDecl>(GD.getDecl());
1914 const Decl *TargetDecl = CalleeInfo.getCalleeDecl().getDecl();
2531 AVAttr = TOTy->getDecl()->getAttr<AlignValueAttr>();
2999 const RecordDecl *RD = RTy->getDecl()->getDefinition();
3444 type->castAs<RecordType>()->getDecl()
[all...]
H A DModuleBuilder.cpp114 const Decl *D = Result.getCanonicalDecl().getDecl();
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/AST/
H A DType.h4353 UnresolvedUsingTypenameDecl *getDecl() const { return Decl; }
4381 TypedefNameDecl *getDecl() const { return Decl; }
4601 TagDecl *getDecl() const;
4623 RecordDecl *getDecl() const {
4624 return reinterpret_cast<RecordDecl*>(TagType::getDecl());
4646 EnumDecl *getDecl() const {
4647 return reinterpret_cast<EnumDecl*>(TagType::getDecl());
4807 TemplateTypeParmDecl *getDecl() const {
4817 Profile(ID, getDepth(), getIndex(), isParameterPack(), getDecl());
5278 CXXRecordDecl *getDecl() cons
[all...]
/freebsd-13-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-13-stable/contrib/llvm-project/clang/lib/Sema/
H A DSemaCUDA.cpp326 CXXRecordDecl *BaseClassDecl = cast<CXXRecordDecl>(BaseType->getDecl());
369 CXXRecordDecl *FieldRecDecl = cast<CXXRecordDecl>(FieldType->getDecl());
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/Serialization/
H A DASTWriter.h186 Decl *getDecl() const { function in class:clang::ASTWriter::DeclOrType
368 const Decl *getDecl() const { return Dcl; } function in class:clang::ASTWriter::DeclUpdate
/freebsd-13-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());

Completed in 375 milliseconds

1234567891011>>