clang  15.0.0git
Public Member Functions | List of all members
clang::ParenBraceBracketBalancer Class Reference

RAII object that makes sure paren/bracket/brace count is correct after declaration/statement parsing, even when there's a parsing error. More...

#include "clang/Parse/RAIIObjectsForParser.h"

Public Member Functions

 ParenBraceBracketBalancer (Parser &p)
 
 ~ParenBraceBracketBalancer ()
 

Detailed Description

RAII object that makes sure paren/bracket/brace count is correct after declaration/statement parsing, even when there's a parsing error.

Definition at line 346 of file RAIIObjectsForParser.h.

Constructor & Destructor Documentation

◆ ParenBraceBracketBalancer()

clang::ParenBraceBracketBalancer::ParenBraceBracketBalancer ( Parser p)
inline

Definition at line 350 of file RAIIObjectsForParser.h.

References P.

◆ ~ParenBraceBracketBalancer()

clang::ParenBraceBracketBalancer::~ParenBraceBracketBalancer ( )
inline

Definition at line 354 of file RAIIObjectsForParser.h.

References P.


The documentation for this class was generated from the following file: