reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

Declarations

tools/clang/include/clang/Basic/LLVM.h
   41   struct SaveAndRestore;

References

lib/Analysis/ScalarEvolution.cpp
 9417   SaveAndRestore<bool> Restore(ProvingSplitPredicate, true);
 9484   SaveAndRestore<bool> ClearOnExit(WalkingBEDominatingConds, true);
lib/AsmParser/LLParser.cpp
 5591   SaveAndRestore<PerFunctionState *> ScopeExit(BlockAddressPFS, &PFS);
lib/CodeGen/CallingConvLower.cpp
  244   SaveAndRestore<bool> SavedVarArg(IsVarArg, false);
  245   SaveAndRestore<bool> SavedMustTail(AnalyzingMustTailForwardedRegs, true);
lib/CodeGen/TargetPassConfig.cpp
  789     SaveAndRestore<bool> SavedAddingMachinePasses(AddingMachinePasses, true);
lib/MC/MCParser/AsmLexer.cpp
  510   SaveAndRestore<const char *> SavedTokenStart(TokStart);
  511   SaveAndRestore<const char *> SavedCurPtr(CurPtr);
  512   SaveAndRestore<bool> SavedAtStartOfLine(IsAtStartOfLine);
  513   SaveAndRestore<bool> SavedAtStartOfStatement(IsAtStartOfStatement);
  514   SaveAndRestore<bool> SavedSkipSpace(SkipSpace, ShouldSkipSpace);
  515   SaveAndRestore<bool> SavedIsPeeking(IsPeeking, true);
lib/Support/PrettyStackTrace.cpp
   77   SaveAndRestore<PrettyStackTraceEntry *> SavedStack{PrettyStackTraceHead,
lib/Support/Unix/Signals.inc
  387   SaveAndRestore<int> SaveErrnoDuringASignalHandler(errno);
tools/clang/include/clang/Parse/Parser.h
  948     SaveAndRestore<bool> WithinObjCContainer;
tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ConstraintManager.h
  172     SaveAndRestore<bool> DisableNotify(NotifyAssumeClients, false);
tools/clang/lib/ARCMigrate/TransGCAttrs.cpp
   49     SaveAndRestore<bool> Save(FullyMigratable, isMigratable(D));
tools/clang/lib/ARCMigrate/Transforms.h
  200     SaveAndRestore<Decl *> SetParent(ParentD, D);
tools/clang/lib/AST/ExprConstant.cpp
10488   llvm::SaveAndRestore<bool> InConstantContext(Info.InConstantContext, true);
tools/clang/lib/AST/TypePrinter.cpp
  183   SaveAndRestore<bool> PHVal(HasEmptyPlaceHolder, PlaceHolder.empty());
  295   SaveAndRestore<bool> PrevPHIsEmpty(HasEmptyPlaceHolder);
  372   SaveAndRestore<bool> NonEmptyPH(HasEmptyPlaceHolder, false);
  383   SaveAndRestore<bool> NonEmptyPH(HasEmptyPlaceHolder, false);
  393   SaveAndRestore<bool> NonEmptyPH(HasEmptyPlaceHolder, false);
  400   SaveAndRestore<bool> NonEmptyPH(HasEmptyPlaceHolder, false);
  415   SaveAndRestore<bool> NonEmptyPH(HasEmptyPlaceHolder, false);
  428   SaveAndRestore<bool> NonEmptyPH(HasEmptyPlaceHolder, false);
  440   SaveAndRestore<bool> NonEmptyPH(HasEmptyPlaceHolder, false);
  453   SaveAndRestore<bool> NonEmptyPH(HasEmptyPlaceHolder, false);
  465   SaveAndRestore<bool> NonEmptyPH(HasEmptyPlaceHolder, false);
  482   SaveAndRestore<bool> NonEmptyPH(HasEmptyPlaceHolder, false);
  493   SaveAndRestore<bool> NonEmptyPH(HasEmptyPlaceHolder, false);
  516   SaveAndRestore<bool> NonEmptyPH(HasEmptyPlaceHolder, false);
  529   SaveAndRestore<bool> NonEmptyPH(HasEmptyPlaceHolder, false);
  576   SaveAndRestore<bool> NonEmptyPH(HasEmptyPlaceHolder, false);
  760     SaveAndRestore<bool> PrevPHIsEmpty(HasEmptyPlaceHolder, false);
  786   SaveAndRestore<bool> NonEmptyPH(HasEmptyPlaceHolder, false);
  926   SaveAndRestore<bool> PrevPHIsEmpty(HasEmptyPlaceHolder, false);
  937   SaveAndRestore<bool> NonEmptyPH(HasEmptyPlaceHolder, false);
 1456   SaveAndRestore<bool> MaybeSuppressCC(InsideCCAttribute, T->isCallingConv());
tools/clang/lib/Analysis/AnalysisDeclContext.cpp
  234     SaveAndRestore<bool> NotPrune(cfgBuildOptions.PruneTriviallyFalseEdges,
tools/clang/lib/Analysis/CFG.cpp
 2912   SaveAndRestore<LocalScope::const_iterator> save_scope_pos(ScopePos);
 2937     SaveAndRestore<CFGBlock*> sv(Succ);
 2963     SaveAndRestore<CFGBlock*> sv(Succ);
 3079   SaveAndRestore<LocalScope::const_iterator> save_scope_pos(ScopePos);
 3169   SaveAndRestore<CFGBlock *> save_try(TryTerminatedBlock,
 3176   SaveAndRestore<JumpTarget> save_break(SEHLeaveJumpTarget);
 3287   SaveAndRestore<LocalScope::const_iterator> save_scope_pos(ScopePos);
 3315   SaveAndRestore<JumpTarget> save_break(BreakJumpTarget);
 3325     SaveAndRestore<CFGBlock*> save_Block(Block), save_Succ(Succ);
 3326     SaveAndRestore<JumpTarget> save_continue(ContinueJumpTarget);
 3381     SaveAndRestore<LocalScope::const_iterator> save_scope_pos(ScopePos);
 3447     SaveAndRestore<LocalScope::const_iterator> save_scope_pos(ScopePos);
 3550     SaveAndRestore<CFGBlock*> save_Block(Block), save_Succ(Succ);
 3551     SaveAndRestore<JumpTarget> save_continue(ContinueJumpTarget),
 3651   SaveAndRestore<LocalScope::const_iterator> save_scope_pos(ScopePos);
 3680     SaveAndRestore<CFGBlock*> save_Block(Block), save_Succ(Succ);
 3681     SaveAndRestore<JumpTarget> save_continue(ContinueJumpTarget),
 3882     SaveAndRestore<CFGBlock*> save_Block(Block), save_Succ(Succ);
 3883     SaveAndRestore<JumpTarget> save_continue(ContinueJumpTarget),
 3996   SaveAndRestore<LocalScope::const_iterator> save_scope_pos(ScopePos);
 4016   SaveAndRestore<CFGBlock*> save_switch(SwitchTerminatedBlock),
 4018   SaveAndRestore<JumpTarget> save_break(BreakJumpTarget);
 4041   SaveAndRestore<bool> save_switchExclusivelyCovered(switchExclusivelyCovered,
 4048   SaveAndRestore<Expr::EvalResult*> save_switchCond(switchCond,
 4275   SaveAndRestore<CFGBlock*> save_try(TryTerminatedBlock, NewTryTerminatedBlock);
 4289   SaveAndRestore<LocalScope::const_iterator> save_scope_pos(ScopePos);
 4341   SaveAndRestore<LocalScope::const_iterator> save_scope_pos(ScopePos);
 4366   SaveAndRestore<JumpTarget> save_break(BreakJumpTarget);
 4399     SaveAndRestore<CFGBlock*> save_Block(Block), save_Succ(Succ);
 4400     SaveAndRestore<JumpTarget> save_continue(ContinueJumpTarget);
tools/clang/lib/CodeGen/CGCleanup.cpp
  976     SaveAndRestore<llvm::Instruction *> RestoreCurrentFuncletPad(
tools/clang/lib/CodeGen/CGException.cpp
 1174   SaveAndRestore<llvm::Instruction *> RestoreCurrentFuncletPad(
 1208     SaveAndRestore<llvm::Instruction *> RestoreCurrentFuncletPad(
 1532   SaveAndRestore<llvm::Instruction *> RestoreCurrentFuncletPad(
tools/clang/lib/CodeGen/CGObjCRuntime.cpp
  231     SaveAndRestore<llvm::Instruction *> RestoreCurrentFuncletPad(CGF.CurrentFuncletPad);
tools/clang/lib/Lex/MacroArgs.cpp
  172   SaveAndRestore<bool> PreExpandingMacroArgs(PP.InMacroArgPreExpansion, true);
tools/clang/lib/Lex/PPExpressions.cpp
  825   SaveAndRestore<bool> PPDir(ParsingIfOrElifDirective, true);
tools/clang/lib/Sema/SemaChecking.cpp
12994   llvm::SaveAndRestore<bool> ConstantContext(
tools/clang/lib/Serialization/ASTReader.cpp
 4165   llvm::SaveAndRestore<SourceLocation>
tools/clang/lib/Serialization/ASTReaderDecl.cpp
 3943   SaveAndRestore<bool> GuardPassingDeclsToConsumer(PassingDeclsToConsumer,
tools/clang/lib/StaticAnalyzer/Checkers/DeadStoresChecker.cpp
   40     SaveAndRestore<bool> inFinally(inEH, true);
   45     SaveAndRestore<bool> inCatch(inEH, true);
   50     SaveAndRestore<bool> inCatch(inEH, true);
tools/clang/lib/StaticAnalyzer/Core/ExprEngine.cpp
 2256   SaveAndRestore<const NodeBuilderContext *> NodeContextRAII(currBldrCtx, &BC);
tools/clang/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp
  177   SaveAndRestore<const NodeBuilderContext *> NodeContextRAII(currBldrCtx, &BC);
  319     SaveAndRestore<const NodeBuilderContext*> NBCSave(currBldrCtx,
  321     SaveAndRestore<unsigned> CBISave(currStmtIdx, calleeCtx->getIndex());
tools/clang/lib/Tooling/Refactoring/ASTSelection.cpp
   67     llvm::SaveAndRestore<bool> LookThrough(LookThroughOpaqueValueExprs, true);
   74     llvm::SaveAndRestore<bool> LookThrough(LookThroughOpaqueValueExprs, false);
tools/clang/tools/libclang/CIndex.cpp
  625   SaveAndRestore<DeclContext::decl_iterator*> DI_saved(DI_current, &I);
  626   SaveAndRestore<DeclContext::decl_iterator> DE_saved(DE_current, E);