HomeSort by relevance Sort by last modified time
    Searched refs:getDeclContext (Results 1 - 25 of 89) sorted by null

1 2 3 4

  /external/clang/lib/ARCMigrate/
TransGCCalls.cpp 49 if (!FD->getDeclContext()->getRedeclContext()->isFileContext())
TransGCAttrs.cpp 144 return isMigratable(cast<Decl>(D->getDeclContext()));
269 cast<Decl>(IndProps.front()->getDeclContext()))) {
TransProtectedScope.cpp 35 if (D->getDeclContext()->getRedeclContext()->isFunctionOrMethod())
TransZeroOutPropsInDealloc.cpp 107 ObjCImplDecl *IMD = dyn_cast<ObjCImplDecl>(D->getDeclContext());
  /external/clang/lib/StaticAnalyzer/Core/
CheckerContext.cpp 60 const DeclContext *DC = FD->getDeclContext();
  /external/clang/lib/Index/
USRGeneration.cpp 187 VisitDeclContext(D->getDeclContext());
200 VisitDeclContext(D->getDeclContext());
255 VisitDeclContext(D->getDeclContext());
274 VisitDeclContext(D->getDeclContext());
307 VisitDeclContext(D->getDeclContext());
321 VisitDeclContext(D->getDeclContext());
327 const DeclContext *container = D->getDeclContext();
404 Visit(cast<Decl>(D->getDeclContext()));
424 VisitDeclContext(D->getDeclContext());
497 const DeclContext *DC = D->getDeclContext();
    [all...]
  /external/clang/lib/AST/
TemplateName.cpp 88 // FIXME: Hack, getDeclContext() can be null if Template is still
92 return Template->getDeclContext() &&
93 Template->getDeclContext()->isDependentContext();
Decl.cpp 44 return !getLexicalDeclContext()->Equals(getDeclContext());
296 const DeclContext *DC = D->getDeclContext();
566 if (const LinkageSpecDecl *SD = dyn_cast<LinkageSpecDecl>(D.getDeclContext()))
574 assert(D->getDeclContext()->getRedeclContext()->isFileContext() &&
652 for (const DeclContext *DC = D->getDeclContext();
797 LinkageInfo EnumLV = getLVForDecl(cast<NamedDecl>(D->getDeclContext())
    [all...]
DeclObjC.cpp 667 const DeclContext *DC = getDeclContext();
734 Decl *CtxD = cast<Decl>(getDeclContext());
771 Decl *CtxD = cast<Decl>(getDeclContext());
951 if (ObjCInterfaceDecl *ID = dyn_cast<ObjCInterfaceDecl>(getDeclContext()))
    [all...]
DeclBase.cpp 175 for (const DeclContext *DC = getDeclContext();
225 setDeclContextsImpl(getDeclContext(), DC, getASTContext());
244 const DeclContext *DC = getDeclContext();
255 return getDeclContext()->isStdNamespace();
262 DeclContext *DC = getDeclContext();
709 !isa<CXXRecordDecl>(getDeclContext()) ||
    [all...]
Mangle.cpp 266 dyn_cast<ObjCContainerDecl>(MD->getDeclContext());
  /external/clang/lib/Sema/
IdentifierResolver.cpp 136 DeclContext *DCtx = D->getDeclContext()->getRedeclContext();
331 if (!PrevD->getDeclContext()->getRedeclContext()->isTranslationUnit()) {
361 if (!(*I)->getDeclContext()->getRedeclContext()->isTranslationUnit()) {
SemaTemplateInstantiateDecl.cpp 29 const DeclContext *DC = D->getDeclContext();
256 dyn_cast_or_null<CXXRecordDecl>(ND->getDeclContext());
279 if (Result && isa<CXXRecordDecl>(D->getDeclContext()) &&
344 CXXRecordDecl *RD = dyn_cast<CXXRecordDecl>(D->getDeclContext());
592 if (CXXRecordDecl *Parent= dyn_cast<CXXRecordDecl>(Field->getDeclContext())) {
    [all...]
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();
260 const DeclContext *FromDC = From->getDeclContext()->getPrimaryContext();
261 const DeclContext *ToDC = To->getDeclContext()->getPrimaryContext();
362 Context->getDeclContext(),
363 Friend->getDeclContext()))
478 if (!MightInstantiateTo(S, CTD->getDeclContext(),
    [all...]
SemaDeclObjC.cpp 66 !isa<ObjCImplementationDecl>(method->getDeclContext()))
74 if (isa<ObjCProtocolDecl>(method->getDeclContext())) {
125 = dyn_cast<ObjCInterfaceDecl>(NewMethod->getDeclContext());
127 DeclContext *DC = NewMethod->getDeclContext();
371 dyn_cast<ObjCImplDecl>(MDecl->getDeclContext());
373 dyn_cast<ObjCContainerDecl>(IMD->getDeclContext());
    [all...]
SemaTemplate.cpp 74 Record = cast<CXXRecordDecl>(Record->getDeclContext());
    [all...]
SemaLambda.cpp 94 VarToCapture->getDeclContext()->Equals(EnclosingDC))
296 = Param->getDeclContext()->getLexicalParent())
300 if (Var->getDeclContext()->isRecord())
426 getCurrentMangleNumberContext(Class->getDeclContext(),
505 return cast<EnumDecl>(D->getDeclContext());
    [all...]
SemaTemplateInstantiate.cpp 64 Ctx = D->getDeclContext();
160 Function->getDeclContext()->isFileContext() &&
498 FunctionDecl *FD = cast<FunctionDecl>(Param->getDeclContext());
    [all...]
  /external/clang/tools/libclang/
IndexDecl.cpp 232 D->getDeclContext());
237 !hasUserDefined(MD, cast<ObjCImplDecl>(D->getDeclContext())))
243 !hasUserDefined(MD, cast<ObjCImplDecl>(D->getDeclContext())))
IndexingContext.cpp 338 getContainerInfo(D->getDeclContext(), DInfo.SemanticContainer);
341 if (LexicalDC == D->getDeclContext()) {
593 D->getDeclContext());
    [all...]
  /external/clang/lib/Frontend/
ASTConsumers.cpp 304 const DeclContext* SemaDC = D->getDeclContext();
334 const DeclContext* SemaDC = D->getDeclContext();
350 const DeclContext* SemaDC = D->getDeclContext();
366 const DeclContext* SemaDC = D->getDeclContext();
  /external/clang/lib/CodeGen/
CGDebugInfo.cpp 201 const DeclContext *DC = OMD->getDeclContext();
782 getContextDescriptor(cast<Decl>(AliasDecl->getDeclContext())));
794 getContextDescriptor(cast<Decl>(Ty->getDecl()->getDeclContext())));
    [all...]
  /external/clang/lib/StaticAnalyzer/Checkers/
ObjCUnusedIVarsChecker.cpp 153 Scan(M, D->getDeclContext(), SM.getFileID(D->getLocation()), SM);
LLVMConventionsChecker.cpp 42 const NamespaceDecl *ND = dyn_cast<NamespaceDecl>(D->getDeclContext());
48 return isa<TranslationUnitDecl>(ND->getDeclContext());
  /external/clang/include/clang/AST/
DeclBase.h 376 DeclContext *getDeclContext() {
381 const DeclContext *getDeclContext() const {
382 return const_cast<Decl*>(this)->getDeclContext();
667 /// getDeclContext() (SemanticDC).
    [all...]

Completed in 254 milliseconds

1 2 3 4