clang 20.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 378 of file RAIIObjectsForParser.h.

Constructor & Destructor Documentation

◆ ParenBraceBracketBalancer()

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

Definition at line 382 of file RAIIObjectsForParser.h.

References P.

◆ ~ParenBraceBracketBalancer()

clang::ParenBraceBracketBalancer::~ParenBraceBracketBalancer ( )
inline

Definition at line 386 of file RAIIObjectsForParser.h.

References P.


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