clang 22.0.0git
clang::ASTReader::ListenerScope Class Reference

RAII object to temporarily add an AST callback listener. More...

#include "clang/Serialization/ASTReader.h"

Public Member Functions

 ListenerScope (ASTReader &Reader, std::unique_ptr< ASTReaderListener > L)
 ~ListenerScope ()

Detailed Description

RAII object to temporarily add an AST callback listener.

Definition at line 1920 of file ASTReader.h.

Constructor & Destructor Documentation

◆ ListenerScope()

clang::ASTReader::ListenerScope::ListenerScope ( ASTReader & Reader,
std::unique_ptr< ASTReaderListener > L )
inline

Definition at line 1925 of file ASTReader.h.

References clang::ASTReader::ASTReader().

◆ ~ListenerScope()

clang::ASTReader::ListenerScope::~ListenerScope ( )
inline

Definition at line 1936 of file ASTReader.h.

References New, and clang::ChainedASTReaderListener::takeSecond().


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