12#include "clang/Sema/Sema.h"
13#include "cling/Utils/ParserStateRAII.h"
14#include "clang/Lex/Preprocessor.h"
43 assert(
fFunctionScopes.size() == 1 &&
"Expected only my FunctionScopeInfo.");
49 using PIFAV_t =
decltype(clang::Sema::ParsingInitForAutoVars);
85 fPushedDCAndS(sema, sema.getASTContext().getTranslationUnitDecl(),
92 clang::Token& Tok =
const_cast<clang::Token&
>(parser.getCurToken());
93 Tok.setKind(clang::tok::semi);
void swap(RDirectoryEntry &e1, RDirectoryEntry &e2) noexcept
RooArgSet S(const RooAbsArg &v1)
decltype(clang::Sema::FunctionScopes) fFunctionScopes
decltype(clang::Sema::MaybeODRUseExprs) fMaybeODRUseExprs
SemaExprCleanupsRAII(clang::Sema &S)
decltype(clang::Sema::Cleanup) fCleanup
decltype(clang::Sema::UndefinedButUsed) fUndefinedButUsed
decltype(clang::Sema::ExprCleanupObjects) fExprCleanupObjects
decltype(clang::Sema::ParsingInitForAutoVars) PIFAV_t
SemaParsingInitForAutoVarsRAII(PIFAV_t &PIFAV)
~SemaParsingInitForAutoVarsRAII()
RAII used to store Parser, Sema, Preprocessor state for recursive parsing.
clang::Preprocessor::CleanupAndRestoreCacheRAII fCleanupRAII
cling::ParserStateRAII fParserRAII
clang::Sema::SavePendingInstantiationsRAII fPendingInstantiations
SemaExprCleanupsRAII fSemaExprCleanupsRAII
clang::Sema::DelayedInfoRAII fSemaInfoRAII
clang::Sema::ContextAndScopeRAII fPushedDCAndS
SemaParsingInitForAutoVarsRAII fSemaParsingInitForAutoVarsRAII
ParsingStateRAII(clang::Parser &parser, clang::Sema &sema)
clang::Parser::ParserCurTokRestoreRAII fSavedCurToken