Home
last modified time | relevance | path

Searched refs:getEnclosingNamespaceContext (Results 1 – 20 of 20) sorted by relevance

/external/llvm-project/clang/lib/StaticAnalyzer/Checkers/
DUnixAPIChecker.cpp112 const DeclContext *NamespaceCtx = FD->getEnclosingNamespaceContext(); in checkPreStmt()
468 const DeclContext *NamespaceCtx = FD->getEnclosingNamespaceContext(); in checkPreStmt()
/external/llvm-project/clang/lib/AST/
DComparisonCategories.cpp140 if (!RD->getEnclosingNamespaceContext()->isStdNamespace()) in lookupInfoForType()
DDeclBase.cpp1822 DeclContext *DeclContext::getEnclosingNamespaceContext() { in getEnclosingNamespaceContext() function in DeclContext
/external/clang/include/clang/AST/
DDeclBase.h1366 DeclContext *getEnclosingNamespaceContext();
1367 const DeclContext *getEnclosingNamespaceContext() const { in getEnclosingNamespaceContext() function
1368 return const_cast<DeclContext *>(this)->getEnclosingNamespaceContext(); in getEnclosingNamespaceContext()
/external/llvm-project/clang/include/clang/AST/
DDeclBase.h1975 DeclContext *getEnclosingNamespaceContext();
1976 const DeclContext *getEnclosingNamespaceContext() const { in getEnclosingNamespaceContext() function
1977 return const_cast<DeclContext *>(this)->getEnclosingNamespaceContext(); in getEnclosingNamespaceContext()
/external/llvm-project/clang-tools-extra/clang-tidy/bugprone/
DArgumentCommentCheck.cpp24 if (const auto *D = Node.getDeclContext()->getEnclosingNamespaceContext()) in AST_MATCHER()
/external/llvm-project/clang-tools-extra/clangd/refactor/tweaks/
DDefineOutline.cpp82 CurContext = CurContext->getEnclosingNamespaceContext(); in findContextForNS()
/external/clang/lib/Analysis/
DAnalysisDeclContext.cpp331 const DeclContext *DC = D->getDeclContext()->getEnclosingNamespaceContext(); in isInStdNamespace()
/external/llvm-project/clang/lib/Analysis/
DAnalysisDeclContext.cpp326 const DeclContext *DC = D->getDeclContext()->getEnclosingNamespaceContext(); in isInStdNamespace()
/external/llvm-project/clang-tools-extra/clang-tidy/modernize/
DAvoidBindCheck.cpp553 dyn_cast<NamespaceDecl>(Decl->getEnclosingNamespaceContext()); in getLambdaProperties()
/external/clang/lib/Sema/
DSemaExceptionSpec.cpp47 if (!RD || RD->getEnclosingNamespaceContext() != getStdNamespace() || in isLibstdcxxEagerExceptionSpecHack()
DSemaTemplate.cpp5963 = Specialized->getDeclContext()->getEnclosingNamespaceContext(); in CheckTemplateSpecializationScope()
5964 DeclContext *DC = S.CurContext->getEnclosingNamespaceContext(); in CheckTemplateSpecializationScope()
7249 DeclContext *OrigContext= D->getDeclContext()->getEnclosingNamespaceContext(); in CheckExplicitInstantiationScope()
DSemaDecl.cpp5029 CurContext->getEnclosingNamespaceContext()->isTranslationUnit(); in HandleDeclarator()
5469 OuterContext = OuterContext->getEnclosingNamespaceContext(); in isOutOfScopePreviousDeclaration()
5470 PrevOuterContext = PrevOuterContext->getEnclosingNamespaceContext(); in isOutOfScopePreviousDeclaration()
12466 DeclContext *EnclosingNS = SearchDC->getEnclosingNamespaceContext(); in ActOnTag()
12574 SearchDC = SearchDC->getEnclosingNamespaceContext(); in ActOnTag()
DSemaTemplateInstantiateDecl.cpp493 RD->getEnclosingNamespaceContext() == SemaRef.getStdNamespace() && in InstantiateTypedefNameDecl()
/external/llvm-project/clang-tools-extra/clang-change-namespace/
DChangeNamespace.cpp765 const auto *NsDeclContext = DeclCtx->getEnclosingNamespaceContext(); in replaceQualifiedSymbolInDeclContext()
/external/clang/lib/AST/
DDeclBase.cpp1542 DeclContext *DeclContext::getEnclosingNamespaceContext() { in getEnclosingNamespaceContext() function in DeclContext
/external/llvm-project/clang/lib/Sema/
DSemaDecl.cpp5788 CurContext->getEnclosingNamespaceContext()->isTranslationUnit(); in HandleDeclarator()
6262 OuterContext = OuterContext->getEnclosingNamespaceContext(); in isOutOfScopePreviousDeclaration()
6263 PrevOuterContext = PrevOuterContext->getEnclosingNamespaceContext(); in isOutOfScopePreviousDeclaration()
15610 DeclContext *EnclosingNS = SearchDC->getEnclosingNamespaceContext(); in ActOnTag()
15723 SearchDC = SearchDC->getEnclosingNamespaceContext(); in ActOnTag()
DSemaTemplateInstantiateDecl.cpp836 RD->getEnclosingNamespaceContext() == SemaRef.getStdNamespace() && in InstantiateTypedefNameDecl()
DSemaTemplate.cpp9405 DeclContext *OrigContext= D->getDeclContext()->getEnclosingNamespaceContext(); in CheckExplicitInstantiationScope()
/external/llvm-project/clang/lib/CodeGen/
DCGDebugInfo.cpp2248 if (!Explicit && CXXDecl->getEnclosingNamespaceContext()) in isDefinedInClangModule()