Home | History | Annotate | Download | only in Parse

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,
102 Parser::ParseStatementOrDeclaration(StmtVector &Stmts,
155 Parser::ParseStatementOrDeclarationAfterAttributes(StmtVector &Stmts,
161 // Cases in this switch statement should fall through if the parser expects
397 StmtResult Parser::ParseExprStatement() {
438 StmtResult Parser::ParseSEHTryBlock() {
476 StmtResult Parser::ParseSEHExceptBlock(SourceLocation ExceptLoc) {
528 StmtResult Parser::ParseSEHFinallyBlock(SourceLocation FinallyLoc) {
553 StmtResult Parser::ParseSEHLeaveStatement() {
564 StmtResult Parser::ParseLabeledStatement(ParsedAttributesWithRange &attrs) {
632 StmtResult Parser::ParseCaseStatement(bool MissingCase, ExprResult Expr) {
644 // out of stack space in our recursive descent parser. As a special case,
790 StmtResult Parser::ParseDefaultStatement() {
831 StmtResult Parser::ParseCompoundStatement(bool isStmtExpr) {
857 StmtResult Parser::ParseCompoundStatement(bool isStmtExpr,
872 void Parser::ParseCompoundStatementLeadingPragmas() {
927 StmtResult Parser::ParseCompoundStatementBody(bool isStmtExpr) {
1051 /// goes out of its way to recover well. It returns true if there was a parser
1056 bool Parser::ParseParenExprOrCondition(StmtResult *InitStmt,
1075 // If the parser was confused by the condition and we don't have a ')', try to
1109 StmtResult Parser::ParseIfStatement(SourceLocation *TrailingElseLoc) {
1255 StmtResult Parser::ParseSwitchStatement(SourceLocation *TrailingElseLoc) {
1340 StmtResult Parser::ParseWhileStatement(SourceLocation *TrailingElseLoc) {
1409 StmtResult Parser::ParseDoStatement() {
1474 bool Parser::isForRangeIdentifier() {
1515 StmtResult Parser::ParseForStatement(SourceLocation *TrailingElseLoc) {
1815 StmtResult Parser::ParseGotoStatement() {
1849 StmtResult Parser::ParseContinueStatement() {
1860 StmtResult Parser::ParseBreakStatement() {
1871 StmtResult Parser::ParseReturnStatement() {
1905 StmtResult Parser::ParsePragmaLoopHint(StmtVector &Stmts,
1935 Decl *Parser::ParseFunctionStatementBody(Decl *Decl, ParseScope &BodyScope) {
1968 Decl *Parser::ParseFunctionTryBlock(Decl *Decl, ParseScope &BodyScope) {
2000 bool Parser::trySkippingFunctionBody() {
2045 StmtResult Parser::ParseCXXTryBlock() {
2068 StmtResult Parser::ParseCXXTryBlockCommon(SourceLocation TryLoc, bool FnTry) {
2134 StmtResult Parser::ParseCXXCatchBlock(bool FnCatch) {
2183 void Parser::ParseMicrosoftIfExistsStatement(StmtVector &Stmts) {
2240 bool Parser::ParseOpenCLUnrollHintAttribute(ParsedAttributes &Attrs) {