Searched refs:getDecl (Results 226 - 250 of 292) sorted by relevance

1234567891011>>

/freebsd-11-stable/contrib/llvm-project/clang/lib/Analysis/
H A DCloneDetection.cpp551 if (auto VD = dyn_cast<VarDecl>(D->getDecl()->getCanonicalDecl()))
H A DConsumed.cpp833 if (const auto *Var = dyn_cast_or_null<VarDecl>(DeclRef->getDecl()))
1305 const auto *D = dyn_cast_or_null<FunctionDecl>(AC.getDecl());
/freebsd-11-stable/contrib/llvm-project/clang/lib/ARCMigrate/
H A DObjCMT.cpp942 if (EnumTy->getDecl() == EnumDcl) {
1068 T = TD->getDecl()->getUnderlyingType();
1075 if (!RecordTy->getDecl()->isCompleteDefinition())
1371 Ty = TD->getDecl()->getUnderlyingType();
/freebsd-11-stable/contrib/llvm-project/clang/lib/Sema/
H A DSema.cpp2039 if (const FunctionDecl *Fun = dyn_cast<FunctionDecl>(DeclRef->getDecl())) {
2118 PlausibleOverloads.addDecl(It.getDecl());
2319 Decl = TypedefT->getDecl();
2321 Decl = TagT->getDecl();
H A DAnalysisBasedWarnings.cpp116 if (!S.getSourceManager().isInMainFile(AC.getDecl()->getBeginLoc()))
1279 if (const FunctionDecl *Function = dyn_cast<FunctionDecl>(AC.getDecl()))
2165 SourceLocation FL = AC.getDecl()->getLocation();
2166 SourceLocation FEL = AC.getDecl()->getEndLoc();
H A DTreeTransform.h5675 Decl *D = getDerived().TransformDecl(TL.getNameLoc(), T->getDecl());
5680 if (getDerived().AlwaysRebuild() || D != T->getDecl()) {
5700 T->getDecl()));
5706 Typedef != T->getDecl()) {
5868 T->getDecl()));
5874 Record != T->getDecl()) {
5892 T->getDecl()));
5898 Enum != T->getDecl()) {
5915 TL.getTypePtr()->getDecl());
6580 getDerived().TransformDecl(T->getDecl()
[all...]
H A DSemaLookup.cpp2161 RecordDecl *BaseRecord = Specifier->getType()->castAs<RecordType>()->getDecl();
2538 BaseSpec.getType()->castAs<RecordType>()->getDecl());
2546 R.addDecl(I.getDecl(),
2819 CXXRecordDecl *BaseDecl = cast<CXXRecordDecl>(BaseType->getDecl());
2891 cast<CXXRecordDecl>(cast<RecordType>(T)->getDecl());
2901 EnumDecl *Enum = cast<EnumType>(T)->getDecl();
3272 assert(isa<UsingDecl>(Cand.getDecl()) &&
3884 RD = Record->getDecl();
H A DSemaExceptionSpec.cpp1103 if (!cast<CXXRecordDecl>(RT->getDecl())->isPolymorphic())
1211 const CXXRecordDecl *RD = cast<CXXRecordDecl>(RT->getDecl());
H A DSemaLambda.cpp573 /// EnumType::getDecl() (i.e. the definition).
582 = dyn_cast<EnumConstantDecl>(DRE->getDecl())) {
628 return ET->getDecl();
/freebsd-11-stable/contrib/llvm-project/clang/lib/AST/
H A DTypeLoc.cpp299 TagDecl *D = getDecl();
H A DDecl.cpp4026 return Record->getDecl()->isAnonymousStructOrUnion();
4055 const RecordDecl *RD = RT->getDecl()->getDefinition();
4524 RT->getDecl()->findFirstNamedDataMember())
4813 auto *OwningTypedef = TT->getDecl()->getTypedefNameForAnonDecl();
4820 return TT->getDecl();
4829 if (auto *TD = TT->getDecl()) {
H A DMicrosoftMangle.cpp2467 mangleType(cast<TagType>(T)->getDecl());
2471 mangleType(cast<TagType>(T)->getDecl());
2575 mangleName(T->getClass()->castAs<RecordType>()->getDecl());
2579 mangleName(T->getClass()->castAs<RecordType>()->getDecl());
2773 mangleName(T->getDecl());
H A DDeclPrinter.cpp1612 NamedDecl *ND = cast<DeclRefExpr>(*I)->getDecl();
1626 NamedDecl *ND = cast<DeclRefExpr>(*I)->getDecl();
H A DOpenMPClause.cpp1391 if (isa<OMPCapturedExprDecl>(DRE->getDecl()))
1394 DRE->getDecl()->printQualifiedName(OS);
H A DAPValue.cpp655 const RecordDecl *RD = Ty->castAs<RecordType>()->getDecl();
/freebsd-11-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DIvarInvalidationChecker.cpp600 if (const Decl *D = IvarRef->getDecl())
/freebsd-11-stable/contrib/llvm-project/clang/lib/CodeGen/
H A DCGDecl.cpp302 if (GD.getDecl()) {
641 return (ref->getDecl() == &var);
1456 const auto *RD = RecordTy->getDecl();
2402 Ty->castAs<RecordType>()->getDecl()->isParamDestroyedInCallee()) {
H A DCGOpenMPRuntimeNVPTX.cpp226 return cast<ValueDecl>(DE->getDecl()->getCanonicalDecl());
411 cast<DeclRefExpr>(E)->getDecl()->getCanonicalDecl();
534 const ValueDecl *VD = E->getDecl();
1923 auto *NewFD = cast<FunctionDecl>(NewGD.getDecl());
3696 const ValueDecl *VD = cast<DeclRefExpr>(Private)->getDecl();
3795 const ValueDecl *VD = cast<DeclRefExpr>(*IPriv)->getDecl();
3899 const ValueDecl *VD = cast<DeclRefExpr>(Private)->getDecl();
3997 const ValueDecl *VD = cast<DeclRefExpr>(*IPriv)->getDecl();
4371 PrivatesReductions[Cnt] = cast<DeclRefExpr>(DRE)->getDecl();
4819 cast<VarDecl>(cast<DeclRefExpr>(IT->getRef())->getDecl())
[all...]
H A DCGStmt.cpp418 EmitLabel(LS->getDecl());
599 EmitLabel(S.getDecl());
1800 const ValueDecl &Value = *AsmDeclRef->getDecl();
H A DCGNonTrivialStruct.cpp41 const RecordDecl *RD = QT->castAs<RecordType>()->getDecl();
443 SourceLocation Loc = QT->castAs<RecordType>()->getDecl()->getLocation();
H A DCGCoroutine.cpp361 auto *PD = DREOrig->getDecl();
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/AST/
H A DExprObjC.h576 ObjCIvarDecl *getDecl() { return D; } function in class:clang::ObjCIvarRefExpr
577 const ObjCIvarDecl *getDecl() const { return D; } function in class:clang::ObjCIvarRefExpr
H A DDeclTemplate.h773 static DeclType *getDecl(EntryType *D) {
797 return SETraits::getDecl(&*this->I)->getMostRecentDecl();
966 static DeclType *getDecl(FunctionTemplateSpecializationInfo *I) { function in struct:clang::RedeclarableTemplateDecl::SpecEntryTraits
/freebsd-11-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DExprEngineC.cpp231 assert(CI->getVariable() == capturedR->getDecl());
980 const ValueDecl *VD = DRE->getDecl();
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Analysis/
H A DProgramPoint.h565 const Decl *getDecl() const { return static_cast<const Decl *>(getData2()); } function in class:clang::ImplicitCallPoint

Completed in 429 milliseconds

1234567891011>>