12 #include "clang/Sema/Sema.h"
13 #include "cling/Utils/ParserStateRAII.h"
14 #include "clang/Lex/Preprocessor.h"
24 using PIFAV_t = decltype(clang::Sema::ParsingInitForAutoVars);
55 fPushedDCAndS(sema, sema.getASTContext().getTranslationUnitDecl(),
61 clang::Token& Tok =
const_cast<clang::Token&
>(parser.getCurToken());
62 Tok.setKind(clang::tok::semi);
SemaParsingInitForAutoVarsRAII fSemaParsingInitForAutoVarsRAII
clang::Parser::ParserCurTokRestoreRAII fSavedCurToken
~SemaParsingInitForAutoVarsRAII()
clang::Sema::DelayedInfoRAII fSemaInfoRAII
RAII used to store Parser, Sema, Preprocessor state for recursive parsing.
clang::Preprocessor::CleanupAndRestoreCacheRAII fCleanupRAII
clang::Sema::ContextAndScopeRAII fPushedDCAndS
cling::ParserStateRAII fParserRAII
ParsingStateRAII(clang::Parser &parser, clang::Sema &sema)
decltype(clang::Sema::ParsingInitForAutoVars) PIFAV_t
SemaParsingInitForAutoVarsRAII(PIFAV_t &PIFAV)