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

1 2 3 4

  /external/clang/lib/AST/
Mangle.cpp 48 const DeclContext *ExpectedDC = BD->getDeclContext();
123 dyn_cast<ObjCContainerDecl>(MD->getDeclContext());
135 const DeclContext *DC = BD->getDeclContext();
TemplateName.cpp 88 // FIXME: Hack, getDeclContext() can be null if Template is still
92 return Template->getDeclContext() &&
93 Template->getDeclContext()->isDependentContext();
Decl.cpp 198 assert(D->getDeclContext()->getRedeclContext()->isFileContext() &&
255 if (cast<RecordDecl>(Field->getDeclContext())->isAnonymousStructOrUnion())
262 if ((!Var || !Var->getDeclContext()->isExternCContext()) &&
263 (!Func || !Func->getDeclContext()->isExternCContext()))
282 for (const DeclContext *DC = D->getDeclContext();
324 !Var->getDeclContext()->isExternCContext()) {
394 !Function->getDeclContext()->isExternCContext() &&
438 LinkageInfo EnumLV = getLVForDecl(cast<NamedDecl>(D->getDeclContext()), F);
531 LV.merge(getLVForDecl(cast<RecordDecl>(D->getDeclContext()), ClassF));
736 const DeclContext *DC = D->getDeclContext()->getRedeclContext()
    [all...]
DeclBase.cpp 157 for (const DeclContext *DC = getDeclContext();
204 setDeclContextsImpl(getDeclContext(), DC, getASTContext());
223 const DeclContext *DC = getDeclContext();
237 DeclContext *DC = getDeclContext();
656 !isa<CXXRecordDecl>(getDeclContext()) ||
674 return getDeclContext()->getNonClosureAncestor();
682 // decl type and call getDeclContext() than to call getParent().
684 DC = cast<BlockDecl>(DC)->getDeclContext();
1075 ND->getDeclContext()->getPrimaryContext()->
1083 ND->getDeclContext()->getPrimaryContext()-
    [all...]
DeclObjC.cpp 472 Decl *CtxD = cast<Decl>(getDeclContext());
503 Decl *CtxD = cast<Decl>(getDeclContext());
673 if (ObjCInterfaceDecl *ID = dyn_cast<ObjCInterfaceDecl>(getDeclContext()))
675 if (ObjCCategoryDecl *CD = dyn_cast<ObjCCategoryDecl>(getDeclContext()))
677 if (ObjCImplDecl *IMD = dyn_cast<ObjCImplDecl>(getDeclContext()))
680 assert(!isa<ObjCProtocolDecl>(getDeclContext()) && "It's a protocol method");
    [all...]
MicrosoftMangle.cpp 111 for (const DeclContext *DC = D->getDeclContext();
144 const DeclContext *DC = D->getDeclContext();
251 const DeclContext *DC = ND->getDeclContext();
318 assert(TD->getDeclContext() == D->getDeclContext() &&
    [all...]
  /external/clang/lib/ARCMigrate/
TransGCCalls.cpp 55 if (!FD->getDeclContext()->getRedeclContext()->isFileContext())
TransGCAttrs.cpp 145 return isMigratable(cast<Decl>(D->getDeclContext()));
270 cast<Decl>(IndProps.front()->getDeclContext()))) {
TransZeroOutPropsInDealloc.cpp 106 ObjCImplDecl *IMD = dyn_cast<ObjCImplDecl>(D->getDeclContext());
  /external/clang/lib/Frontend/
ASTConsumers.cpp 220 const DeclContext* SemaDC = D->getDeclContext();
250 const DeclContext* SemaDC = D->getDeclContext();
266 const DeclContext* SemaDC = D->getDeclContext();
282 const DeclContext* SemaDC = D->getDeclContext();
  /external/clang/tools/libclang/
CIndexUSRs.cpp 155 if (const NamespaceDecl *ND = dyn_cast<NamespaceDecl>(D->getDeclContext()))
175 VisitDeclContext(D->getDeclContext());
188 VisitDeclContext(D->getDeclContext());
229 VisitDeclContext(D->getDeclContext());
248 VisitDeclContext(D->getDeclContext());
279 VisitDeclContext(D->getDeclContext());
293 VisitDeclContext(D->getDeclContext());
299 DeclContext *container = D->getDeclContext();
377 Visit(cast<Decl>(D->getDeclContext()));
397 VisitDeclContext(D->getDeclContext());
    [all...]
IndexingContext.cpp 279 getContainerInfo(D->getDeclContext(), DInfo.SemanticContainer);
282 if (LexicalDC == D->getDeclContext()) {
506 return handleReference(PD, D->getLocation(), getCursor(D), 0, D->getDeclContext());
884 if (isa<CXXRecordDecl>(D->getDeclContext())) {
892 CXXRec = dyn_cast<CXXRecordDecl>(D->getDeclContext())) {
    [all...]
CXCursor.cpp 890 ProtD = dyn_cast<ObjCProtocolDecl>(Method->getDeclContext())) {
894 IMD = dyn_cast<ObjCImplDecl>(Method->getDeclContext())) {
906 CatD = dyn_cast<ObjCCategoryDecl>(Method->getDeclContext())) {
919 dyn_cast_or_null<ObjCContainerDecl>(Method->getDeclContext()),
    [all...]
  /external/clang/lib/Sema/
IdentifierResolver.cpp 144 DeclContext *DCtx = D->getDeclContext()->getRedeclContext();
353 if (!PrevD->getDeclContext()->getRedeclContext()->isTranslationUnit()) {
383 if (!(*I)->getDeclContext()->getRedeclContext()->isTranslationUnit()) {
SemaAccess.cpp 66 DeclContext *DC = D->getDeclContext();
71 DC = cast<EnumDecl>(DC)->getDeclContext();
75 DeclaringClass = cast<CXXRecordDecl>(DeclaringClass->getDeclContext());
103 DC = Record->getDeclContext();
111 DC = Function->getDeclContext();
243 const DeclContext *FromDC = From->getDeclContext()->getPrimaryContext();
244 const DeclContext *ToDC = To->getDeclContext()->getPrimaryContext();
348 Context->getDeclContext(),
349 Friend->getDeclContext()))
466 if (!MightInstantiateTo(S, CTD->getDeclContext(),
    [all...]
SemaTemplateInstantiateDecl.cpp 450 if (CXXRecordDecl *Parent= dyn_cast<CXXRecordDecl>(Field->getDeclContext())) {
615 if (D->getDeclContext()->isFunctionOrMethod())
626 (!D->getDeclContext()->isFunctionOrMethod() || D->isCompleteDefinition()))
681 if (Pattern->getDeclContext()->isFunctionOrMethod() &&
750 Pattern->getDeclContext(),
    [all...]
CodeCompleteConsumer.cpp 402 DeclContext *DC = ND->getDeclContext()->getRedeclContext();
526 AR = std::max(AR, cast<Decl>(D->getDeclContext())->getAvailability());
SemaTemplate.cpp 71 Record = cast<CXXRecordDecl>(Record->getDeclContext());
    [all...]
SemaDecl.cpp     [all...]
  /external/clang/lib/StaticAnalyzer/Checkers/
ObjCUnusedIVarsChecker.cpp 151 Scan(M, D->getDeclContext(), SM.getFileID(D->getLocation()), SM);
LLVMConventionsChecker.cpp 41 const NamespaceDecl *ND = dyn_cast<NamespaceDecl>(D->getDeclContext());
47 return isa<TranslationUnitDecl>(ND->getDeclContext());
IteratorsChecker.cpp 171 const DeclContext *dc = td->getDeclContext();
173 if (!nameSpace || !isa<TranslationUnitDecl>(nameSpace->getDeclContext())
192 RefKind parentKind = getTemplateKind(td->getDeclContext());
  /external/clang/include/clang/AST/
DeclBase.h 360 DeclContext *getDeclContext() {
365 const DeclContext *getDeclContext() const {
366 return const_cast<Decl*>(this)->getDeclContext();
620 /// getDeclContext() (SemanticDC).
638 return getLexicalDeclContext() != getDeclContext();
    [all...]
  /external/clang/lib/CodeGen/
CGDebugInfo.cpp 149 const DeclContext *DC = OMD->getDeclContext();
567 getContextDescriptor(cast<Decl>(RD->getDeclContext()));
669 getContextDescriptor(cast<Decl>(Ty->getDecl()->getDeclContext()));
    [all...]
CodeGenTypes.cpp 62 if (RD->getDeclContext())
69 if (TDD->getDeclContext())

Completed in 224 milliseconds

1 2 3 4