Searched refs:getDeclContext (Results 26 - 50 of 82) sorted by relevance

1234

/freebsd-9.3-release/contrib/llvm/tools/clang/lib/CodeGen/
H A DCodeGenTypes.cpp63 if (RD->getDeclContext())
70 if (TDD->getDeclContext())
H A DCGCXXABI.cpp254 const CXXRecordDecl *RD = cast<CXXRecordDecl>(MPD->getDeclContext());
/freebsd-9.3-release/contrib/llvm/tools/clang/lib/Sema/
H A DSemaLookup.cpp352 return D->getDeclContext()->getRedeclContext();
404 if (!TD->getDeclContext()->isRecord()) {
1215 DeclContext *Context = Entity->getDeclContext();
1389 DC = (*I)->getDeclContext()->getRedeclContext();
1400 = (*LastI)->getDeclContext()->getRedeclContext();
1988 DeclContext *Ctx = ClassTemplate->getDeclContext();
2034 DeclContext *Ctx = Class->getDeclContext();
2056 DeclContext *Ctx = Spec->getSpecializedTemplate()->getDeclContext();
2099 DeclContext *BaseCtx = BaseDecl->getDeclContext();
2180 DeclContext *Ctx = Enum->getDeclContext();
[all...]
H A DSemaDecl.cpp1039 !D->getDeclContext()->getRedeclContext()->Equals(
1181 const DeclContext *DC = D->getDeclContext();
1208 if (D->getDeclContext()->isDependentContext() ||
1282 !D->getDeclContext()->isFunctionOrMethod())
2193 cast<FunctionDecl>(oldDecl->getDeclContext())->getFirstDecl();
2278 const DeclContext *DC = Old->getDeclContext();
2861 isa<ObjCImplDecl>(newMethod->getDeclContext()) ? AMK_Redeclaration
3186 S.getCurrentMangleNumberContext(Tag->getDeclContext(),
3287 Record->getDeclContext()->isRecord())
3334 Tag && Tag->getDeclContext()
[all...]
H A DCodeCompleteConsumer.cpp505 AR = std::max(AR, cast<Decl>(D->getDeclContext())->getAvailability());
H A DSemaExprMember.cpp116 CXXRecordDecl *R = cast<CXXRecordDecl>(D->getDeclContext());
210 CXXRecordDecl *RepClass = dyn_cast<CXXRecordDecl>(Rep->getDeclContext());
520 DeclContext *DC = (*I)->getDeclContext();
1289 Decl *D = cast<Decl>(IV->getDeclContext());
H A DSemaCodeComplete.cpp563 R.Declaration->getDeclContext()->getRedeclContext();
569 if (HiddenCtx == Hiding->getDeclContext()->getRedeclContext())
579 R.Declaration->getDeclContext());
671 T = C.getTypeDeclType(cast<EnumDecl>(Enumerator->getDeclContext()));
730 const DeclContext *DC = ND->getDeclContext()->getRedeclContext();
914 const DeclContext *Ctx = R.Declaration->getDeclContext();
972 isa<CXXRecordDecl>(R.Declaration->getDeclContext()
979 const DeclContext *Ctx = R.Declaration->getDeclContext();
2078 T = Context.getTypeDeclType(cast<TypeDecl>(Enumerator->getDeclContext()));
2130 bool ObjCMethodParam = isa<ObjCMethodDecl>(Param->getDeclContext());
[all...]
H A DSemaDeclCXX.cpp456 ScopeDC = New->getDeclContext();
458 !New->getDeclContext()->isRecord())
544 } else if (New->getDeclContext()->isDependentContext()) {
556 = dyn_cast<CXXRecordDecl>(New->getDeclContext())) {
2477 return Member->getDeclContext()->getRedeclContext()->Equals(ClassDecl);
3369 if (CXXRecordDecl *Record = dyn_cast<CXXRecordDecl>((*C)->getDeclContext()))
3665 if (Constructor->getDeclContext()->isDependentContext())
3817 Parent = cast<RecordDecl>(Parent->getDeclContext());
6126 = dyn_cast<CXXRecordDecl>(Constructor->getDeclContext());
6401 CXXRecordDecl *ClassDecl = cast<CXXRecordDecl>(Conversion->getDeclContext());
[all...]
H A DSemaExpr.cpp92 const DeclContext *DC = ECD->getDeclContext();
1629 (CurContext != D->getDeclContext() &&
1630 D->getDeclContext()->isFunctionOrMethod()) ||
2355 CXXRecordDecl *RD = dyn_cast<CXXRecordDecl>(Member->getDeclContext());
2461 if (FoundDecl->getDeclContext() != Member->getDeclContext()) {
2464 cast<CXXRecordDecl>(FoundDecl->getDeclContext()));
3860 FD << cast<CXXRecordDecl>(FD->getDeclContext())->getDeclName();
7336 if (DeclContext *DC = D->getDeclContext()) {
8251 while (DC != var->getDeclContext()) {
[all...]
H A DSemaObjCProperty.cpp864 dyn_cast<ObjCCategoryDecl>(property->getDeclContext())) {
907 if (Synthesize && isa<ObjCProtocolDecl>(property->getDeclContext()))
1577 if (isa<ObjCProtocolDecl>(Prop->getDeclContext())) {
H A DSemaExceptionSpec.cpp444 DeclContext* DC = ExRecord->getDeclContext();
/freebsd-9.3-release/contrib/llvm/tools/clang/lib/AST/
H A DASTImporter.cpp845 RecordDecl *Owner2 = cast<RecordDecl>(Field2->getDeclContext());
929 RecordDecl *Owner = dyn_cast<RecordDecl>(Anon->getDeclContext());
1822 DC = Importer.ImportContext(D->getDeclContext());
1827 if (D->getDeclContext() != D->getLexicalDeclContext()) {
2836 RecordDecl *Owner = dyn_cast<RecordDecl>(F->getDeclContext());
3644 DeclContext *DC = Importer.ImportContext(D->getDeclContext());
3657 if (D->getDeclContext() != D->getLexicalDeclContext()) {
3695 Importer.ImportContext(D->getDeclContext()),
3703 if (D->getDeclContext() != D->getLexicalDeclContext()) {
3820 DeclContext *DC = Importer.ImportContext(D->getDeclContext());
[all...]
H A DItaniumMangle.cpp57 return ContextParam->getDeclContext();
64 return ContextParam->getDeclContext();
67 const DeclContext *DC = D->getDeclContext();
1122 assert(TD->getDeclContext() == D->getDeclContext() &&
1310 = dyn_cast<FunctionDecl>(Parm->getDeclContext())) {
1337 = dyn_cast<FunctionDecl>(Parm->getDeclContext())) {
1379 Context->getDeclContext()->isRecord()) {
1412 Context->getDeclContext()->isRecord()) {
H A DAPValue.cpp525 Out << '&' << *cast<CXXRecordDecl>(VD->getDeclContext()) << "::" << *VD;
H A DExprClassification.cpp477 if (isa<VarDecl>(Member) && Member->getDeclContext()->isRecord())
H A DExpr.cpp315 Var->getDeclContext()->isDependentContext()) {
329 if (isa<CXXMethodDecl>(D) && D->getDeclContext()->isDependentContext()) {
565 const DeclContext *Ctx = FD->getDeclContext();
657 dyn_cast<ObjCCategoryImplDecl>(MD->getDeclContext()))
3195 const ObjCMethodDecl *M = dyn_cast<ObjCMethodDecl>(Param->getDeclContext());
H A DCommentSema.cpp656 const DeclContext *Ctx = FD->getDeclContext();
/freebsd-9.3-release/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/
H A DBasicObjCFoundationChecks.cpp661 if (!MD || !MD->isVariadic() || isa<ObjCProtocolDecl>(MD->getDeclContext()))
1059 if (isa<ObjCProtocolDecl>(MD->getDeclContext())) {
/freebsd-9.3-release/contrib/llvm/tools/clang/include/clang/AST/
H A DDecl.h202 const DeclContext *DC = getDeclContext();
913 return getKind() != Decl::ParmVar && getDeclContext()->isRecord();
2230 return cast<RecordDecl>(getDeclContext());
2234 return cast<RecordDecl>(getDeclContext());
H A DDeclCXX.h1341 if (const CXXRecordDecl *RD = dyn_cast<CXXRecordDecl>(getDeclContext()))
1344 return dyn_cast<FunctionDecl>(getDeclContext());
/freebsd-9.3-release/contrib/llvm/tools/clang/lib/ARCMigrate/
H A DTransforms.cpp206 return DRE->getDecl()->getDeclContext()->isFileContext() &&
/freebsd-9.3-release/contrib/llvm/tools/clang/lib/Analysis/
H A DAnalysisDeclContext.cpp458 const DeclContext *DC = VD->getDeclContext();
H A DConsumed.cpp615 ND->getDeclContext()->isTranslationUnit();
626 isStdNamespace(FunDecl->getDeclContext())) {
H A DUninitializedValues.cpp38 vd->getDeclContext() == dc) {
/freebsd-9.3-release/contrib/llvm/tools/clang/lib/Serialization/
H A DASTReaderDecl.cpp2076 if (!X->getDeclContext()->getRedeclContext()->Equals(
2077 Y->getDeclContext()->getRedeclContext()))
2187 DeclContext *DC = New->getDeclContext()->getRedeclContext();
2209 DeclContext *DC = D->getDeclContext()->getRedeclContext();

Completed in 580 milliseconds

1234