Home
last modified time | relevance | path

Searched refs:InClass (Results 1 – 4 of 4) sorted by relevance

/llvm-project-15.0.7/clang-tools-extra/clangd/refactor/
H A DInsertionPoint.cpp124 SourceLocation insertionPoint(const CXXRecordDecl &InClass, in insertionPoint() argument
131 return insertionPoint(InClass, Anchors); in insertionPoint()
135 const CXXRecordDecl &InClass, in insertDecl() argument
140 auto Loc = insertionPoint(InClass, std::move(Anchors), Protection); in insertDecl()
142 auto &SM = InClass.getASTContext().getSourceManager(); in insertDecl()
145 Loc = InClass.getBraceRange().getEnd(); in insertDecl()
146 if (Protection != getAccessAtEnd(InClass)) { in insertDecl()
151 if (!SM.isWrittenInSameFile(Loc, InClass.getLocation())) in insertDecl()
H A DInsertionPoint.h41 SourceLocation insertionPoint(const CXXRecordDecl &InClass,
48 const CXXRecordDecl &InClass,
/llvm-project-15.0.7/clang-tools-extra/clangd/
H A DQuality.cpp267 bool InClass = false; in computeScope() local
271 InClass = InClass || DC->isRecord(); in computeScope()
273 if (InClass) in computeScope()
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaCUDA.cpp332 bool InClass = MemberDecl->getLexicalParent() == MemberDecl->getParent(); in inferCUDATargetForImplicitSpecialMember() local
338 if (!InClass || HasExplicitAttr) in inferCUDATargetForImplicitSpecialMember()