Home
last modified time | relevance | path

Searched refs:isLocalClass (Results 1 – 10 of 10) sorted by relevance

/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DDeclCXX.h1555 const FunctionDecl *isLocalClass() const { in isLocalClass() function
1557 return RD->isLocalClass(); in isLocalClass()
1562 FunctionDecl *isLocalClass() { in isLocalClass() function
1564 const_cast<const CXXRecordDecl*>(this)->isLocalClass()); in isLocalClass()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaTemplateInstantiateDecl.cpp48 return cast<CXXRecordDecl>(DC)->isLocalClass(); in isDeclWithinFunction()
2021 if (D->isLocalClass()) in VisitCXXRecordDecl()
2042 if (D->isCompleteDefinition() && D->isLocalClass()) { in VisitCXXRecordDecl()
5068 Rec->isLocalClass() && !Function->isFunctionTemplateSpecialization(); in InstantiateFunctionDefinition()
6153 NeedInstantiate = RD->isLocalClass(); in FindInstantiatedDecl()
H A DSemaTemplateInstantiate.cpp3989 (TSK == TSK_ImplicitInstantiation && Instantiation->isLocalClass())) && in InstantiateClassMembers()
4387 if (RD->isLocalClass()) in findInstantiationOf()
H A DSemaStmt.cpp3607 if (!R || !R->isLocalClass() || !R->isLocalClass()->isExternallyVisible() || in VisitRecordType()
H A DSemaDecl.cpp1950 WithinFunction || (R->isLocalClass() && !R->isDependentType()); in ShouldDiagnoseUnusedDecl()
10587 } else if (isFriend && cast<CXXRecordDecl>(CurContext)->isLocalClass()) { in ActOnFunctionDeclarator()
17409 SearchDC = RD->isLocalClass() ? RD->isLocalClass() in ActOnTag()
H A DSemaTemplate.cpp7809 if (RD->isLocalClass()) in CheckTemplateDeclScope()
10834 const FunctionDecl *FD = RD->isLocalClass(); in IsInsideALocalClassWithinATemplateFunction()
H A DSemaDeclCXX.cpp17676 cast<CXXRecordDecl>(CurContext)->isLocalClass())) { in ActOnFriendFunctionDecl()
18493 if (Class->isLocalClass()) in MarkVTableUsed()
H A DSemaDeclAttr.cpp713 if (const auto *RD = dyn_cast<CXXRecordDecl>(PD); RD && RD->isLocalClass()) { in handleExcludeFromExplicitInstantiationAttr()
H A DSemaExpr.cpp18013 cast<CXXRecordDecl>(Func->getDeclContext())->isLocalClass() && in MarkFunctionReferenced()
/freebsd/contrib/llvm-project/clang/lib/Analysis/
H A DUnsafeBufferUsage.cpp3045 if (fd->getParent()->isLambda() && fd->getParent()->isLocalClass()) in checkUnsafeBufferUsage()