Home
last modified time | relevance | path

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

/external/clang/include/clang/Sema/
DScope.h223 const Scope *getFnParent() const { return FnParent; } in getFnParent() function
224 Scope *getFnParent() { return FnParent; } in getFnParent() function
333 if (const Scope *FnS = getFnParent()) { in isInCXXInlineMethodScope()
/external/llvm-project/clang/include/clang/Sema/
DScope.h232 const Scope *getFnParent() const { return FnParent; } in getFnParent() function
233 Scope *getFnParent() { return FnParent; } in getFnParent() function
360 if (const Scope *FnS = getFnParent()) { in isInCXXInlineMethodScope()
/external/clang/lib/Parse/
DParseExpr.cpp1105 if (getCurScope()->getFnParent() == nullptr) in ParseCastExpression()
2229 if (!getCurScope()->getFnParent() && !getCurScope()->getBlockParent()) { in ParseParenExpression()
DParseDeclCXX.cpp134 getCurScope()->getFnParent()) { in ParseNamespace()
DParseDecl.cpp2765 if (getCurScope()->getFnParent() || getCurScope()->getBlockParent()) in ParseDeclarationSpecifiers()
/external/llvm-project/clang/lib/Parse/
DParseExpr.cpp1434 if (getCurScope()->getFnParent() == nullptr) in ParseCastExpression()
2806 if (!getCurScope()->getFnParent() && !getCurScope()->getBlockParent()) { in ParseParenExpression()
DParseDeclCXX.cpp148 getCurScope()->getFnParent()) { in ParseNamespace()
DParseDecl.cpp3081 if (getCurScope()->getFnParent() || getCurScope()->getBlockParent()) in ParseDeclarationSpecifiers()
/external/clang/lib/Sema/
DSemaExprMember.cpp927 for (; S != S->getFnParent(); S = S->getParent()) { in IsInFnTryBlockHandler()
DSemaCodeComplete.cpp3392 if (S->getFnParent()) in CodeCompleteOrdinaryName()
3534 if (S->getFnParent() && in CodeCompleteExpression()
4228 if (S->getFnParent()) in CodeCompleteAfterIf()
7449 S->getFnParent()? Sema::PCC_RecoveryInFunction in CodeCompleteInPreprocessorConditionalExclusion()
DSemaDecl.cpp5364 if (S->getFnParent() == nullptr) { in CheckTypedefForVariablyModifiedType()
5932 if (!DC->isRecord() && S->getFnParent() == nullptr) { in ActOnVariableDeclarator()
6244 if (SC == SC_Static && S->getFnParent() != nullptr && in ActOnVariableDeclarator()
6285 if (SC == SC_None && S->getFnParent() != nullptr && in ActOnVariableDeclarator()
6309 if (S->getFnParent() != nullptr) { in ActOnVariableDeclarator()
DSemaStmt.cpp3171 CheckJumpOutOfSEHFinally(*this, ReturnLoc, *CurScope->getFnParent()); in ActOnReturnStmt()
DSemaLookup.cpp3743 Scope *S = CurScope->getFnParent(); in LookupOrCreateLabel()
DSemaDeclCXX.cpp12776 DCScope = S->getFnParent(); in ActOnFriendFunctionDecl()
/external/llvm-project/clang/lib/Sema/
DSemaExprMember.cpp940 for (; S != S->getFnParent(); S = S->getParent()) { in IsInFnTryBlockHandler()
DSemaCodeComplete.cpp4181 if (S->getFnParent()) in CodeCompleteOrdinaryName()
4446 if (S->getFnParent() && !Data.ObjCCollection && in CodeCompleteExpression()
5839 if (S->getFnParent()) in CodeCompleteAfterIf()
9165 CodeCompleteOrdinaryName(S, S->getFnParent() ? Sema::PCC_RecoveryInFunction in CodeCompleteInPreprocessorConditionalExclusion()
DSemaDecl.cpp1481 if (getLangOpts().CPlusPlus && D->isOutOfLine() && !S->getFnParent()) in PushOnScopeChains()
6148 if (S->getFnParent() == nullptr) { in CheckTypedefForVariablyModifiedType()
6879 if (!DC->isRecord() && S->getFnParent() == nullptr) { in ActOnVariableDeclarator()
7197 if (SC == SC_Static && S->getFnParent() != nullptr && in ActOnVariableDeclarator()
7256 if (SC == SC_None && S->getFnParent() != nullptr && in ActOnVariableDeclarator()
7280 if (S->getFnParent() != nullptr) { in ActOnVariableDeclarator()
DSemaStmt.cpp3648 CheckJumpOutOfSEHFinally(*this, ReturnLoc, *CurScope->getFnParent()); in ActOnReturnStmt()
DSemaLookup.cpp4064 Scope *S = CurScope->getFnParent(); in LookupOrCreateLabel()
DSemaDeclCXX.cpp16488 DCScope = S->getFnParent(); in ActOnFriendFunctionDecl()