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

1 2 3 4

  /external/clang/lib/Tooling/Core/
Lookup.cpp 99 isa<TranslationUnitDecl>(FromDecl->getDeclContext());
101 !isInsideDifferentNamespaceWithSameName(FromDecl->getDeclContext(),
  /external/clang/lib/ARCMigrate/
TransGCCalls.cpp 49 if (!FD->getDeclContext()->getRedeclContext()->isFileContext())
TransGCAttrs.cpp 144 return isMigratable(cast<Decl>(D->getDeclContext()));
267 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/AST/
TemplateName.cpp 88 // FIXME: Hack, getDeclContext() can be null if Template is still
92 return Template->getDeclContext() &&
93 Template->getDeclContext()->isDependentContext();
DeclObjC.cpp 748 const DeclContext *DC = getDeclContext();
815 Decl *CtxD = cast<Decl>(getDeclContext());
852 Decl *CtxD = cast<Decl>(getDeclContext());
    [all...]
Decl.cpp 44 return !getLexicalDeclContext()->Equals(getDeclContext());
301 const DeclContext *DC = D->getDeclContext();
571 if (const auto *SD = dyn_cast<LinkageSpecDecl>(D.getDeclContext()))
579 assert(D->getDeclContext()->getRedeclContext()->isFileContext() &&
659 for (const DeclContext *DC = D->getDeclContext();
    [all...]
DeclBase.cpp 200 for (const DeclContext *DC = getDeclContext();
250 setDeclContextsImpl(getDeclContext(), DC, getASTContext());
282 const DeclContext *DC = getDeclContext();
293 return getDeclContext()->isStdNamespace();
300 DeclContext *DC = getDeclContext();
749 !isa<CXXRecordDecl>(getDeclContext()) ||
    [all...]
Mangle.cpp 263 dyn_cast<ObjCContainerDecl>(MD->getDeclContext());
  /external/clang/unittests/Tooling/
LookupTest.cpp 40 Callee->getQualifier(), Visitor.DeclStack.back()->getDeclContext(), FD,
  /external/clang/lib/Index/
USRGeneration.cpp 185 VisitDeclContext(D->getDeclContext());
198 VisitDeclContext(D->getDeclContext());
253 VisitDeclContext(D->getDeclContext());
272 VisitDeclContext(D->getDeclContext());
305 VisitDeclContext(D->getDeclContext());
319 VisitDeclContext(D->getDeclContext());
325 const DeclContext *container = D->getDeclContext();
402 Visit(cast<Decl>(D->getDeclContext()));
422 VisitDeclContext(D->getDeclContext());
494 const DeclContext *DC = D->getDeclContext();
    [all...]
  /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();
288 dyn_cast_or_null<CXXRecordDecl>(ND->getDeclContext());
311 if (Result && isa<CXXRecordDecl>(D->getDeclContext()) &&
376 CXXRecordDecl *RD = dyn_cast<CXXRecordDecl>(D->getDeclContext());
624 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();
265 const DeclContext *FromDC = From->getDeclContext()->getPrimaryContext();
266 const DeclContext *ToDC = To->getDeclContext()->getPrimaryContext();
367 Context->getDeclContext(),
368 Friend->getDeclContext()))
483 if (!MightInstantiateTo(S, CTD->getDeclContext(),
    [all...]
SemaDeclObjC.cpp 68 !isa<ObjCImplementationDecl>(method->getDeclContext()))
76 if (isa<ObjCProtocolDecl>(method->getDeclContext())) {
126 = dyn_cast<ObjCInterfaceDecl>(NewMethod->getDeclContext());
128 DeclContext *DC = NewMethod->getDeclContext();
372 dyn_cast<ObjCImplDecl>(MDecl->getDeclContext());
374 dyn_cast<ObjCContainerDecl>(IMD->getDeclContext());
788 !(isa<ObjCInterfaceDecl>(prevTypeParam->getDeclContext()) &&
789 cast<ObjCInterfaceDecl>(prevTypeParam->getDeclContext())
790 ->getDefinition() == prevTypeParam->getDeclContext())) {
    [all...]
SemaTemplate.cpp 74 Record = cast<CXXRecordDecl>(Record->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())))
  /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/StaticAnalyzer/Checkers/
LLVMConventionsChecker.cpp 42 const NamespaceDecl *ND = dyn_cast<NamespaceDecl>(D->getDeclContext());
48 return isa<TranslationUnitDecl>(ND->getDeclContext());
ObjCUnusedIVarsChecker.cpp 153 Scan(M, D->getDeclContext(), SM.getFileID(D->getLocation()), SM);
  /external/clang/lib/CodeGen/
CGDebugInfo.cpp 155 return getContextDescriptor(cast<Decl>(D->getDeclContext()),
221 const DeclContext *DC = OMD->getDeclContext();
    [all...]
  /external/clang/include/clang/AST/
DeclBase.h 388 DeclContext *getDeclContext() {
393 const DeclContext *getDeclContext() const {
394 return const_cast<Decl*>(this)->getDeclContext();
695 /// getDeclContext() (SemanticDC).
    [all...]

Completed in 719 milliseconds

1 2 3 4