clang API Documentation
RAII object to temporarily add an AST callback listener. More...
#include <ASTReader.h>
Public Member Functions | |
ListenerScope (ASTReader &Reader, std::unique_ptr< ASTReaderListener > L) | |
~ListenerScope () |
RAII object to temporarily add an AST callback listener.
Definition at line 1427 of file ASTReader.h.
clang::ASTReader::ListenerScope::ListenerScope | ( | ASTReader & | Reader, |
std::unique_ptr< ASTReaderListener > | L | ||
) | [inline] |
Definition at line 1432 of file ASTReader.h.
References clang::ASTReader::setListener(), and clang::ASTReader::takeListener().
clang::ASTReader::ListenerScope::~ListenerScope | ( | ) | [inline] |
Definition at line 1442 of file ASTReader.h.
References clang::ASTReader::setListener(), and clang::ASTReader::takeListener().