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

1 2 3 4 5

  /external/v8/tools/clang/plugins/
Util.cpp 36 return GetNamespaceImpl(record->getDeclContext(), std::string());
  /external/clang/lib/Index/
IndexDecl.cpp 58 auto *DC = Parm->getDeclContext();
162 cast<Decl>(D->getDeclContext())->getLocation(),
196 auto *Parent = dyn_cast<NamedDecl>(D->getDeclContext());
231 D->getDeclContext(), SymbolRoleSet());
243 D->getDeclContext(), SymbolRoleSet());
315 /*Parent=*/cast<NamedDecl>(D->getDeclContext()),
316 D->getDeclContext(), SymbolRoleSet(), {},
327 D->getDeclContext(), SymbolRoleSet());
330 auto *ImplD = cast<ObjCImplDecl>(D->getDeclContext());
352 const DeclContext *DC = D->getDeclContext()->getRedeclContext()
    [all...]
IndexingContext.cpp 28 cast<Decl>(D->getDeclContext()), Roles, Relations,
29 nullptr, nullptr, D->getDeclContext());
37 DC = D->getDeclContext();
201 for (;; Parent = cast<Decl>(Parent->getDeclContext())) {
USRGeneration.cpp 192 VisitDeclContext(D->getDeclContext());
205 VisitDeclContext(D->getDeclContext());
266 VisitDeclContext(D->getDeclContext());
285 VisitDeclContext(D->getDeclContext());
316 VisitDeclContext(D->getDeclContext());
330 VisitDeclContext(D->getDeclContext());
336 const DeclContext *container = D->getDeclContext();
413 Visit(cast<Decl>(D->getDeclContext()));
434 VisitDeclContext(D->getDeclContext());
514 const DeclContext *DC = D->getDeclContext();
    [all...]
IndexSymbol.cpp 104 if (isa<CXXRecordDecl>(D->getDeclContext())) {
112 CXXRec = dyn_cast<CXXRecordDecl>(D->getDeclContext())) {
  /external/clang/lib/Tooling/Core/
Lookup.cpp 99 isa<TranslationUnitDecl>(FromDecl->getDeclContext());
101 !isInsideDifferentNamespaceWithSameName(FromDecl->getDeclContext(),
QualTypeNames.cpp 205 const DeclContext *DC = D->getDeclContext();
209 NS = dyn_cast<NamespaceDecl>(NS->getDeclContext());
285 const DeclContext *DC = Decl->getDeclContext()->getRedeclContext();
360 Namespace = dyn_cast<NamespaceDecl>(Namespace->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()))) {
  /external/clang/lib/StaticAnalyzer/Core/
CheckerContext.cpp 68 if (!FD->getDeclContext()->getRedeclContext()->isTranslationUnit())
  /external/clang/unittests/Tooling/
LookupTest.cpp 40 Callee->getQualifier(), Visitor.DeclStack.back()->getDeclContext(), FD,
  /external/clang/lib/Sema/
IdentifierResolver.cpp 136 DeclContext *DCtx = D->getDeclContext()->getRedeclContext();
331 if (!PrevD->getDeclContext()->getRedeclContext()->isTranslationUnit()) {
361 if (!(*I)->getDeclContext()->getRedeclContext()->isTranslationUnit()) {
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();
368 Context->getDeclContext(),
369 Friend->getDeclContext()))
478 if (!MightInstantiateTo(S, CTD->getDeclContext(),
    [all...]
SemaDeclObjC.cpp 67 !isa<ObjCImplementationDecl>(method->getDeclContext()))
75 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());
787 !(isa<ObjCInterfaceDecl>(prevTypeParam->getDeclContext()) &&
788 cast<ObjCInterfaceDecl>(prevTypeParam->getDeclContext())
789 ->getDefinition() == prevTypeParam->getDeclContext())) {
    [all...]
SemaTemplateInstantiateDecl.cpp 29 const DeclContext *DC = D->getDeclContext();
246 auto *ThisContext = dyn_cast_or_null<CXXRecordDecl>(FD->getDeclContext());
392 dyn_cast_or_null<CXXRecordDecl>(ND->getDeclContext());
415 if (Result && isa<CXXRecordDecl>(D->getDeclContext()) &&
490 CXXRecordDecl *RD = dyn_cast<CXXRecordDecl>(D->getDeclContext());
731 if (CXXRecordDecl *Parent= dyn_cast<CXXRecordDecl>(Field->getDeclContext())) {
    [all...]
  /external/clang/lib/AST/
DeclObjC.cpp 776 const DeclContext *DC = getDeclContext();
847 Decl *CtxD = cast<Decl>(getDeclContext());
884 Decl *CtxD = cast<Decl>(getDeclContext());
    [all...]
Decl.cpp 45 return !getLexicalDeclContext()->Equals(getDeclContext());
302 const DeclContext *DC = D->getDeclContext();
572 if (const auto *SD = dyn_cast<LinkageSpecDecl>(D.getDeclContext()))
580 assert(D->getDeclContext()->getRedeclContext()->isFileContext() &&
662 for (const DeclContext *DC = D->getDeclContext();
    [all...]
TemplateName.cpp 138 // FIXME: Hack, getDeclContext() can be null if Template is still
142 return Template->getDeclContext() &&
143 Template->getDeclContext()->isDependentContext();
DeclBase.cpp 212 for (const DeclContext *DC = getDeclContext();
262 setDeclContextsImpl(getDeclContext(), DC, getASTContext());
294 const DeclContext *DC = getDeclContext();
305 return getDeclContext()->isStdNamespace();
312 DeclContext *DC = getDeclContext();
792 !isa<CXXRecordDecl>(getDeclContext()) ||
    [all...]
  /external/clang/lib/Frontend/
ASTConsumers.cpp 303 const DeclContext* SemaDC = D->getDeclContext();
332 const DeclContext* SemaDC = D->getDeclContext();
348 const DeclContext* SemaDC = D->getDeclContext();
364 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 156 return getContextDescriptor(cast<Decl>(D->getDeclContext()),
224 const DeclContext *DC = OMD->getDeclContext();
279 assert(RD->getDeclContext() == D->getDeclContext() &&
    [all...]
  /external/clang/lib/Serialization/
ASTWriterDecl.cpp 283 Record.AddDeclRef(cast_or_null<Decl>(D->getDeclContext()));
284 if (D->getDeclContext() != D->getLexicalDeclContext())
309 auto *DC = D->getDeclContext();
372 if (D->getDeclContext() == D->getLexicalDeclContext() &&
435 if (D->getDeclContext() == D->getLexicalDeclContext() &&
464 if (D->getDeclContext() == D->getLexicalDeclContext() &&
721 if (D->getDeclContext() == D->getLexicalDeclContext() &&
853 if (D->getDeclContext() == D->getLexicalDeclContext() &&
    [all...]
  /external/clang/include/clang/AST/
DeclBase.h 394 DeclContext *getDeclContext() {
399 const DeclContext *getDeclContext() const {
400 return const_cast<Decl*>(this)->getDeclContext();
709 /// getDeclContext() (SemanticDC).
    [all...]

Completed in 534 milliseconds

1 2 3 4 5