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"
94 Parser::ParseStatementOrDeclaration(StmtVector &Stmts, bool OnlyStatement,
115 Parser::ParseStatementOrDeclarationAfterAttributes(StmtVector &Stmts,
121 // Cases in this switch statement should fall through if the parser expects
329 StmtResult Parser::ParseExprStatement() {
361 StmtResult Parser::ParseSEHTryBlock() {
376 StmtResult Parser::ParseSEHTryBlockCommon(SourceLocation TryLoc) {
410 StmtResult Parser::ParseSEHExceptBlock(SourceLocation ExceptLoc) {
452 StmtResult Parser::ParseSEHFinallyBlock(SourceLocation FinallyBlock) {
470 StmtResult Parser::ParseLabeledStatement(ParsedAttributesWithRange &attrs) {
508 StmtResult Parser::ParseCaseStatement(bool MissingCase, ExprResult Expr) {
520 // out of stack space in our recursive descent parser. As a special case,
645 StmtResult Parser::ParseDefaultStatement() {
686 StmtResult Parser::ParseCompoundStatement(bool isStmtExpr) {
717 StmtResult Parser::ParseCompoundStatement(bool isStmtExpr,
732 void Parser::ParseCompoundStatementLeadingPragmas() {
775 StmtResult Parser::ParseCompoundStatementBody(bool isStmtExpr) {
905 /// goes out of its way to recover well. It returns true if there was a parser
910 bool Parser::ParseParenExprOrCondition(ExprResult &ExprResult,
929 // If the parser was confused by the condition and we don't have a ')', try to
963 StmtResult Parser::ParseIfStatement(SourceLocation *TrailingElseLoc) {
1089 StmtResult Parser::ParseSwitchStatement(SourceLocation *TrailingElseLoc) {
1177 StmtResult Parser::ParseWhileStatement(SourceLocation *TrailingElseLoc) {
1249 StmtResult Parser::ParseDoStatement() {
1336 StmtResult Parser::ParseForStatement(SourceLocation *TrailingElseLoc) {
1596 StmtResult Parser::ParseGotoStatement() {
1630 StmtResult Parser::ParseContinueStatement() {
1641 StmtResult Parser::ParseBreakStatement() {
1649 StmtResult Parser::ParseReturnStatement() {
1680 Parser &TheParser;
1691 ClangAsmParserCallback(Parser &P, SourceLocation Loc,
1814 /// \param CastInfo - a void* so that we don't have to teach Parser.h
1816 ExprResult Parser::ParseMSAsmIdentifier(llvm::SmallVectorImpl<Token> &LineToks,
1895 /// to the MC asm parser.
1968 StmtResult Parser::ParseMicrosoftAsmStatement(SourceLocation AsmLoc) {
2088 // Find the target and create the target specific parser.
2104 // Tell SrcMgr about this buffer, which is what the parser will pick up.
2109 Parser(createMCAsmParser(TempSrcMgr, Ctx, *Str.get(), *MAI));
2111 TargetParser(TheTarget->createMCAsmParser(*STI, *Parser));
2119 Parser->setAssemblerDialect(1);
2120 Parser->setTargetParser(*TargetParser.get());
2121 Parser->setParsingInlineAsm(true);
2136 if (Parser->parseMSInlineAsm(AsmLoc.getPtrEncoding(), AsmStringIR,
2190 StmtResult Parser::ParseAsmStatement(bool &msAsm) {
2320 bool Parser::ParseAsmOperandsOpt(SmallVectorImpl<IdentifierInfo *> &Names,
2376 Decl *Parser::ParseFunctionStatementBody(Decl *Decl, ParseScope &BodyScope) {
2410 Decl *Parser::ParseFunctionTryBlock(Decl *Decl, ParseScope &BodyScope) {
2443 bool Parser::trySkippingFunctionBody() {
2473 StmtResult Parser::ParseCXXTryBlock() {
2496 StmtResult Parser::ParseCXXTryBlockCommon(SourceLocation TryLoc, bool FnTry) {
2562 StmtResult Parser::ParseCXXCatchBlock(bool FnCatch) {
2611 void Parser::ParseMicrosoftIfExistsStatement(StmtVector &Stmts) {