class Parser::RevertingTentativeParsingAction

Declaration

class Parser::RevertingTentativeParsingAction
    : private TentativeParsingAction { /* full declaration omitted */ };

Description

A TentativeParsingAction that automatically reverts in its destructor. Useful for disambiguation parses that will always be reverted.

Declared at: clang/include/clang/Parse/Parser.h:1000

Inherits from: Parser::TentativeParsingAction

Method Overview

Methods

RevertingTentativeParsingAction(clang::Parser& P)

Declared at: clang/include/clang/Parse/Parser.h:1003

Parameters

clang::Parser& P

~RevertingTentativeParsingAction()

Declared at: clang/include/clang/Parse/Parser.h:1005