Lines Matching refs:Parser
1 //===--- ParseStmt.cpp - Statement and Block Parser -----------------------===//
10 // This file implements the Statement and Block portions of the Parser
15 #include "clang/Parse/Parser.h"
35 StmtResult Parser::ParseStatement(SourceLocation *TrailingElseLoc) {
98 Parser::ParseStatementOrDeclaration(StmtVector &Stmts, bool OnlyStatement,
148 Parser::ParseStatementOrDeclarationAfterAttributes(StmtVector &Stmts,
154 // Cases in this switch statement should fall through if the parser expects
385 StmtResult Parser::ParseExprStatement() {
426 StmtResult Parser::ParseSEHTryBlock() {
464 StmtResult Parser::ParseSEHExceptBlock(SourceLocation ExceptLoc) {
516 Parser::ParseSEHFinallyBlock(SourceLocation FinallyLoc) {
541 StmtResult Parser::ParseSEHLeaveStatement() {
552 StmtResult Parser::ParseLabeledStatement(ParsedAttributesWithRange &attrs) {
619 StmtResult Parser::ParseCaseStatement(bool MissingCase, ExprResult Expr) {
631 // out of stack space in our recursive descent parser. As a special case,
775 StmtResult Parser::ParseDefaultStatement() {
815 StmtResult Parser::ParseCompoundStatement(bool isStmtExpr) {
841 StmtResult Parser::ParseCompoundStatement(bool isStmtExpr,
856 void Parser::ParseCompoundStatementLeadingPragmas() {
908 StmtResult Parser::ParseCompoundStatementBody(bool isStmtExpr) {
1031 /// goes out of its way to recover well. It returns true if there was a parser
1036 bool Parser::ParseParenExprOrCondition(ExprResult &ExprResult,
1055 // If the parser was confused by the condition and we don't have a ')', try to
1089 StmtResult Parser::ParseIfStatement(SourceLocation *TrailingElseLoc) {
1213 StmtResult Parser::ParseSwitchStatement(SourceLocation *TrailingElseLoc) {
1297 StmtResult Parser::ParseWhileStatement(SourceLocation *TrailingElseLoc) {
1368 StmtResult Parser::ParseDoStatement() {
1433 bool Parser::isForRangeIdentifier() {
1474 StmtResult Parser::ParseForStatement(SourceLocation *TrailingElseLoc) {
1774 StmtResult Parser::ParseGotoStatement() {
1808 StmtResult Parser::ParseContinueStatement() {
1819 StmtResult Parser::ParseBreakStatement() {
1830 StmtResult Parser::ParseReturnStatement() {
1864 StmtResult Parser::ParsePragmaLoopHint(StmtVector &Stmts, bool OnlyStatement,
1893 Decl *Parser::ParseFunctionStatementBody(Decl *Decl, ParseScope &BodyScope) {
1931 Decl *Parser::ParseFunctionTryBlock(Decl *Decl, ParseScope &BodyScope) {
1968 bool Parser::trySkippingFunctionBody() {
1997 StmtResult Parser::ParseCXXTryBlock() {
2020 StmtResult Parser::ParseCXXTryBlockCommon(SourceLocation TryLoc, bool FnTry) {
2086 StmtResult Parser::ParseCXXCatchBlock(bool FnCatch) {
2135 void Parser::ParseMicrosoftIfExistsStatement(StmtVector &Stmts) {