/freebsd-9.3-release/contrib/llvm/tools/clang/lib/ARCMigrate/ |
H A D | TransGCCalls.cpp | 55 if (!FD->getDeclContext()->getRedeclContext()->isFileContext())
|
H A D | TransGCAttrs.cpp | 145 return isMigratable(cast<Decl>(D->getDeclContext())); 271 cast<Decl>(IndProps.front()->getDeclContext()))) {
|
H A D | TransProtectedScope.cpp | 35 if (D->getDeclContext()->getRedeclContext()->isFunctionOrMethod())
|
H A D | TransZeroOutPropsInDealloc.cpp | 107 ObjCImplDecl *IMD = dyn_cast<ObjCImplDecl>(D->getDeclContext());
|
/freebsd-9.3-release/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/ |
H A D | CheckerContext.cpp | 60 const DeclContext *DC = FD->getDeclContext();
|
/freebsd-9.3-release/contrib/llvm/tools/clang/lib/Index/ |
H A D | USRGeneration.cpp | 161 VisitDeclContext(D->getDeclContext()); 174 VisitDeclContext(D->getDeclContext()); 216 VisitDeclContext(D->getDeclContext()); 235 VisitDeclContext(D->getDeclContext()); 268 VisitDeclContext(D->getDeclContext()); 282 VisitDeclContext(D->getDeclContext()); 288 const DeclContext *container = D->getDeclContext(); 365 Visit(cast<Decl>(D->getDeclContext())); 385 VisitDeclContext(D->getDeclContext()); 454 const DeclContext *DC = D->getDeclContext(); [all...] |
/freebsd-9.3-release/contrib/llvm/tools/clang/lib/AST/ |
H A D | TemplateName.cpp | 88 // FIXME: Hack, getDeclContext() can be null if Template is still 92 return Template->getDeclContext() && 93 Template->getDeclContext()->isDependentContext();
|
H A D | Decl.cpp | 296 const DeclContext *DC = D->getDeclContext(); 516 if (const LinkageSpecDecl *SD = dyn_cast<LinkageSpecDecl>(D.getDeclContext())) 524 assert(D->getDeclContext()->getRedeclContext()->isFileContext() && 605 for (const DeclContext *DC = D->getDeclContext(); 742 LinkageInfo EnumLV = getLVForDecl(cast<NamedDecl>(D->getDeclContext()), 815 getLVForDecl(cast<RecordDecl>(D->getDeclContext()), classComputation); 1029 DC = ContextDecl->getDeclContext()->getRedeclContext(); 1105 LV = getLVForClosure(BD->getDeclContext()->getRedeclContext(), 1180 OuterMostLambda->getDeclContext()->getRedeclContext(), 1189 if (D->getDeclContext() [all...] |
H A D | DeclObjC.cpp | 639 Decl *CtxD = cast<Decl>(getDeclContext()); 676 Decl *CtxD = cast<Decl>(getDeclContext()); 852 if (ObjCInterfaceDecl *ID = dyn_cast<ObjCInterfaceDecl>(getDeclContext())) 854 if (ObjCCategoryDecl *CD = dyn_cast<ObjCCategoryDecl>(getDeclContext())) 856 if (ObjCImplDecl *IMD = dyn_cast<ObjCImplDecl>(getDeclContext())) 859 assert(!isa<ObjCProtocolDecl>(getDeclContext()) && "It's a protocol method"); 948 ProtD = dyn_cast<ObjCProtocolDecl>(Method->getDeclContext())) { 952 IMD = dyn_cast<ObjCImplDecl>(Method->getDeclContext())) { 965 CatD = dyn_cast<ObjCCategoryDecl>(Method->getDeclContext())) { 979 dyn_cast_or_null<ObjCContainerDecl>(Method->getDeclContext()), [all...] |
H A D | DeclBase.cpp | 168 for (const DeclContext *DC = getDeclContext(); 218 setDeclContextsImpl(getDeclContext(), DC, getASTContext()); 237 const DeclContext *DC = getDeclContext(); 251 DeclContext *DC = getDeclContext(); 677 !isa<CXXRecordDecl>(getDeclContext()) || 1149 ND->getDeclContext()->getPrimaryContext()-> 1157 ND->getDeclContext()->getPrimaryContext()-> 1229 if (ND->getDeclContext() == DCtx && !shouldBeHidden(ND) && 1405 DeclContext *DeclDC = D->getDeclContext()->getPrimaryContext(); 1432 ((!Recoverable || D->getDeclContext() ! [all...] |
H A D | Mangle.cpp | 244 dyn_cast<ObjCContainerDecl>(MD->getDeclContext());
|
H A D | MicrosoftMangle.cpp | 46 return ContextParam->getDeclContext(); 53 return ContextParam->getDeclContext(); 56 const DeclContext *DC = D->getDeclContext(); 376 const DeclContext *DC = ND->getDeclContext(); 523 assert(TD->getDeclContext() == D->getDeclContext() && 2067 Mangler.manglePostfix(VD->getDeclContext());
|
/freebsd-9.3-release/contrib/llvm/tools/clang/lib/Sema/ |
H A D | IdentifierResolver.cpp | 133 DeclContext *DCtx = D->getDeclContext()->getRedeclContext(); 326 if (!PrevD->getDeclContext()->getRedeclContext()->isTranslationUnit()) { 356 if (!(*I)->getDeclContext()->getRedeclContext()->isTranslationUnit()) {
|
H A D | SemaAccess.cpp | 66 DeclContext *DC = D->getDeclContext(); 71 DC = cast<EnumDecl>(DC)->getDeclContext(); 75 DeclaringClass = cast<CXXRecordDecl>(DeclaringClass->getDeclContext()); 109 DC = Record->getDeclContext(); 116 DC = Function->getDeclContext(); 259 const DeclContext *FromDC = From->getDeclContext()->getPrimaryContext(); 260 const DeclContext *ToDC = To->getDeclContext()->getPrimaryContext(); 363 Context->getDeclContext(), 364 Friend->getDeclContext())) 481 if (!MightInstantiateTo(S, CTD->getDeclContext(), [all...] |
H A D | SemaTemplateInstantiateDecl.cpp | 29 const DeclContext *DC = D->getDeclContext(); 159 dyn_cast_or_null<CXXRecordDecl>(ND->getDeclContext()); 224 CXXRecordDecl *RD = dyn_cast<CXXRecordDecl>(D->getDeclContext()); 460 if (CXXRecordDecl *Parent= dyn_cast<CXXRecordDecl>(Field->getDeclContext())) { 735 if (Pattern->getDeclContext()->isFunctionOrMethod() && 804 Pattern->getDeclContext(), 1088 } else if (InstTemplate->getDeclContext()->isRecord() && 1239 DC = SemaRef.FindInstantiatedContext(D->getLocation(), D->getDeclContext(), 1262 assert(D->getDeclContext()->isFileContext()); 1263 LexicalDC = D->getDeclContext(); [all...] |
H A D | SemaDeclObjC.cpp | 66 !isa<ObjCImplementationDecl>(method->getDeclContext())) 74 if (isa<ObjCProtocolDecl>(method->getDeclContext())) { 127 = dyn_cast<ObjCInterfaceDecl>(NewMethod->getDeclContext()); 129 DeclContext *DC = NewMethod->getDeclContext(); 378 dyn_cast<ObjCImplDecl>(MDecl->getDeclContext()); 380 dyn_cast<ObjCContainerDecl>(IMD->getDeclContext()); 1109 if (Dcl->getDeclContext()->isFileContext()) 2143 CD = dyn_cast<ObjCCategoryDecl>(Method->getDeclContext())) 2203 if (cast<Decl>(Method->getDeclContext())->isInvalidDecl()) 2432 isa<ObjCImplDecl>(TargetMethod->getDeclContext())) { [all...] |
H A D | SemaOpenMP.cpp | 247 isa<CapturedDecl>(D->getDeclContext()) && 248 CurScope->getFnParent()->getEntity()->Encloses(D->getDeclContext()); 449 if (CanonicalVD->getDeclContext()->isTranslationUnit() && 464 !CanonicalVD->getDeclContext()->Equals(getCurLexicalContext())) { 477 if (CanonicalVD->getDeclContext()->isNamespace() && 479 !getCurLexicalContext()->Encloses(CanonicalVD->getDeclContext()))) {
|
H A D | SemaTemplate.cpp | 72 Record = cast<CXXRecordDecl>(Record->getDeclContext()); 923 PrevDecl = cast<CXXRecordDecl>(PrevDecl->getDeclContext()); 945 (OutermostContext->Equals(PrevDecl->getDeclContext()) || 946 OutermostContext->Encloses(PrevDecl->getDeclContext()))) { 947 SemanticContext = PrevDecl->getDeclContext(); 1092 if (!Invalid && TUK != TUK_Friend && NewTemplate->getDeclContext()->isRecord()) 1650 if (TypeDecl *Parent = dyn_cast<TypeDecl>(Template->getDeclContext())) 2085 ClassTemplate->getDeclContext(), 2462 Context, VarTemplate->getDeclContext(), TemplateKWLoc, 2505 Context, VarTemplate->getDeclContext(), TemplateKWLo [all...] |
H A D | SemaLambda.cpp | 54 if (IsCapturingVariable && VD->getDeclContext()->Equals(EnclosingDC)) 210 = Param->getDeclContext()->getLexicalParent()) 214 if (Var->getDeclContext()->isRecord()) 342 getCurrentMangleNumberContext(Class->getDeclContext(), 421 return cast<EnumDecl>(D->getDeclContext());
|
H A D | SemaTemplateInstantiate.cpp | 64 Ctx = D->getDeclContext(); 150 Function->getDeclContext()->isFileContext() && 606 FunctionDecl *FD = cast<FunctionDecl>(Param->getDeclContext()); 947 DeclContext *Owner = OrigTPL->getParam(0)->getDeclContext(); 1398 assert(!cast<FunctionDecl>(E->getParam()->getDeclContext())-> 1402 cast<FunctionDecl>(E->getParam()->getDeclContext()), 2060 if ((*Member)->getDeclContext() != Pattern) 2149 dyn_cast_or_null<CXXRecordDecl>(ND->getDeclContext()); 2750 if (const FunctionDecl *FD = dyn_cast<FunctionDecl>(PV->getDeclContext())) {
|
/freebsd-9.3-release/contrib/llvm/tools/clang/lib/Frontend/ |
H A D | ASTConsumers.cpp | 296 const DeclContext* SemaDC = D->getDeclContext(); 326 const DeclContext* SemaDC = D->getDeclContext(); 342 const DeclContext* SemaDC = D->getDeclContext(); 358 const DeclContext* SemaDC = D->getDeclContext();
|
/freebsd-9.3-release/contrib/llvm/tools/clang/lib/CodeGen/ |
H A D | CGDebugInfo.cpp | 195 const DeclContext *DC = OMD->getDeclContext(); 743 getContextDescriptor(cast<Decl>(Ty->getDecl()->getDeclContext())); 1014 if (const CXXRecordDecl *NRD = dyn_cast<CXXRecordDecl>(RD->getDeclContext())) 1016 if (isa<FunctionDecl>(RD->getDeclContext())) 1224 D->getType(), cast<RecordDecl>(D->getDeclContext()) 1465 getContextDescriptor(cast<Decl>(RD->getDeclContext())); 1862 EDContext = getContextDescriptor(cast<Decl>(ED->getDeclContext())); 1888 getContextDescriptor(cast<Decl>(ED->getDeclContext())); 2221 getContextDescriptor(cast<Decl>(RD->getDeclContext())); 2345 llvm::DIScope S = getContextDescriptor(cast<Decl>(D->getDeclContext())); [all...] |
/freebsd-9.3-release/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/ |
H A D | LLVMConventionsChecker.cpp | 42 const NamespaceDecl *ND = dyn_cast<NamespaceDecl>(D->getDeclContext()); 48 return isa<TranslationUnitDecl>(ND->getDeclContext());
|
H A D | ObjCUnusedIVarsChecker.cpp | 162 Scan(M, D->getDeclContext(), SM.getFileID(D->getLocation()), SM);
|
/freebsd-9.3-release/contrib/llvm/tools/clang/include/clang/AST/ |
H A D | DeclBase.h | 382 DeclContext *getDeclContext() { function in class:clang::Decl 387 const DeclContext *getDeclContext() const { function in class:clang::Decl 388 return const_cast<Decl*>(this)->getDeclContext(); 662 /// getDeclContext() (SemanticDC). 680 return getLexicalDeclContext() != getDeclContext(); 1064 return cast<Decl>(this)->getDeclContext();
|