Home
last modified time | relevance | path

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

/llvm-project-15.0.7/clang/lib/Parse/
H A DParseStmt.cpp166 StmtVector &Stmts, ParsedStmtContext StmtCtx, in ParseStatementOrDeclarationAfterAttributes() argument
183 return ParseObjCAtStatement(AtLoc, StmtCtx); in ParseStatementOrDeclarationAfterAttributes()
201 return ParseLabeledStatement(Attrs, StmtCtx); in ParseStatementOrDeclarationAfterAttributes()
264 return ParseExprStatement(StmtCtx); in ParseStatementOrDeclarationAfterAttributes()
274 return ParseCaseStatement(StmtCtx); in ParseStatementOrDeclarationAfterAttributes()
276 return ParseDefaultStatement(StmtCtx); in ParseStatementOrDeclarationAfterAttributes()
533 return handleExprStmt(Expr, StmtCtx); in ParseExprStatement()
679 StmtCtx &= ~ParsedStmtContext::AllowDeclarationsInC; in ParseLabeledStatement()
716 SubStmt = ParseStatement(nullptr, StmtCtx); in ParseLabeledStatement()
742 StmtCtx &= ~ParsedStmtContext::AllowDeclarationsInC; in ParseCaseStatement()
[all …]
H A DParseOpenMP.cpp2478 ParsedStmtContext StmtCtx, bool ReadDirectiveWithinMetadirective) { in ParseOpenMPDeclarativeOrExecutableDirective() argument
2507 if ((StmtCtx & ParsedStmtContext::AllowStandaloneOpenMPDirectives) == in ParseOpenMPDeclarativeOrExecutableDirective()
2651 StmtCtx, in ParseOpenMPDeclarativeOrExecutableDirective()
2659 if ((StmtCtx & ParsedStmtContext::AllowDeclarationsInC) == in ParseOpenMPDeclarativeOrExecutableDirective()
2678 if ((StmtCtx & ParsedStmtContext::AllowDeclarationsInC) == in ParseOpenMPDeclarativeOrExecutableDirective()
2757 if ((StmtCtx & ParsedStmtContext::AllowStandaloneOpenMPDirectives) == in ParseOpenMPDeclarativeOrExecutableDirective()
2913 if ((StmtCtx & ParsedStmtContext::AllowStandaloneOpenMPDirectives) == in ParseOpenMPDeclarativeOrExecutableDirective()
H A DParseObjc.cpp2741 ParsedStmtContext StmtCtx) { in ParseObjCAtStatement() argument
2778 return handleExprStmt(Res, StmtCtx); in ParseObjCAtStatement()
/llvm-project-15.0.7/clang/include/clang/Parse/
H A DParser.h435 StmtResult handleExprStmt(ExprResult E, ParsedStmtContext StmtCtx);
2075 ParsedStmtContext StmtCtx = ParsedStmtContext::SubStmt);
2077 StmtVector &Stmts, ParsedStmtContext StmtCtx,
2080 StmtVector &Stmts, ParsedStmtContext StmtCtx,
2083 StmtResult ParseExprStatement(ParsedStmtContext StmtCtx);
2085 ParsedStmtContext StmtCtx);
2086 StmtResult ParseCaseStatement(ParsedStmtContext StmtCtx,
2089 StmtResult ParseDefaultStatement(ParsedStmtContext StmtCtx);
2112 StmtResult ParsePragmaLoopHint(StmtVector &Stmts, ParsedStmtContext StmtCtx,
2179 ParsedStmtContext StmtCtx);
[all …]