/external/llvm/include/llvm/Support/ |
SaveAndRestore.h | 1 //===-- SaveAndRestore.h - Utility -------------------------------*- C++ -*-=// 20 // SaveAndRestore - A utility class that uses RAII to save and restore 23 struct SaveAndRestore { 24 SaveAndRestore(T& x) : X(x), old_value(x) {} 25 SaveAndRestore(T& x, const T &new_value) : X(x), old_value(x) { 28 ~SaveAndRestore() { X = old_value; } 35 // SaveOr - Similar to SaveAndRestore. Operates only on bools; the old
|
/external/chromium_org/third_party/WebKit/Source/platform/graphics/ |
GraphicsContextStateSaver.h | 40 GraphicsContextStateSaver(GraphicsContext& context, bool saveAndRestore = true) 42 , m_saveAndRestore(saveAndRestore)
|
/external/clang/include/clang/Basic/ |
LLVM.h | 39 struct SaveAndRestore; 70 using llvm::SaveAndRestore;
|
/external/clang/lib/AST/ |
TypePrinter.cpp | 25 #include "llvm/Support/SaveAndRestore.h" 146 SaveAndRestore<bool> PHVal(HasEmptyPlaceHolder, PlaceHolder.empty()); 247 SaveAndRestore<bool> PrevPHIsEmpty(HasEmptyPlaceHolder); 322 SaveAndRestore<bool> NonEmptyPH(HasEmptyPlaceHolder, false); 332 SaveAndRestore<bool> NonEmptyPH(HasEmptyPlaceHolder, false); 342 SaveAndRestore<bool> NonEmptyPH(HasEmptyPlaceHolder, false); 348 SaveAndRestore<bool> NonEmptyPH(HasEmptyPlaceHolder, false); 355 SaveAndRestore<bool> NonEmptyPH(HasEmptyPlaceHolder, false); 366 SaveAndRestore<bool> NonEmptyPH(HasEmptyPlaceHolder, false); 377 SaveAndRestore<bool> NonEmptyPH(HasEmptyPlaceHolder, false) [all...] |
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
ConstraintManager.h | 19 #include "llvm/Support/SaveAndRestore.h" 125 SaveAndRestore<bool> DisableNotify(NotifyAssumeClients, false);
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
DeadStoresChecker.cpp | 26 #include "llvm/Support/SaveAndRestore.h" 40 SaveAndRestore<bool> inFinally(inEH, true); 45 SaveAndRestore<bool> inCatch(inEH, true); 50 SaveAndRestore<bool> inCatch(inEH, true);
|
VirtualCallChecker.cpp | 22 #include "llvm/Support/SaveAndRestore.h" 96 SaveAndRestore<const CallExpr *> SaveCall(visitingCallExpr, WLUnit);
|
/external/clang/lib/ARCMigrate/ |
Transforms.h | 16 #include "llvm/Support/SaveAndRestore.h" 199 SaveAndRestore<Decl *> SetParent(ParentD, D);
|
TransGCAttrs.cpp | 18 #include "llvm/Support/SaveAndRestore.h" 50 SaveAndRestore<bool> Save(FullyMigratable, isMigratable(D));
|
/external/clang/lib/Analysis/ |
CFG.cpp | 28 #include "llvm/Support/SaveAndRestore.h" [all...] |
AnalysisDeclContext.cpp | 32 #include "llvm/Support/SaveAndRestore.h" 192 SaveAndRestore<bool> NotPrune(cfgBuildOptions.PruneTriviallyFalseEdges,
|
UninitializedValues.cpp | 28 #include "llvm/Support/SaveAndRestore.h"
|
/external/clang/lib/Lex/ |
MacroArgs.cpp | 19 #include "llvm/Support/SaveAndRestore.h" 159 SaveAndRestore<bool> PreExpandingMacroArgs(PP.InMacroArgPreExpansion, true);
|
PPExpressions.cpp | 27 #include "llvm/Support/SaveAndRestore.h" 739 SaveAndRestore<bool> PPDir(ParsingIfOrElifDirective, true);
|
PPDirectives.cpp | 28 #include "llvm/Support/SaveAndRestore.h" [all...] |
/external/clang/lib/StaticAnalyzer/Core/ |
ExprEngineCallAndReturn.cpp | 26 #include "llvm/Support/SaveAndRestore.h" 176 SaveAndRestore<const NodeBuilderContext *> NodeContextRAII(currBldrCtx, &BC); 324 SaveAndRestore<const NodeBuilderContext*> NBCSave(currBldrCtx, 326 SaveAndRestore<unsigned> CBISave(currStmtIdx, calleeCtx->getIndex()); [all...] |
/external/chromium_org/cc/output/ |
filter_operations_unittest.cc | 122 TEST(FilterOperationsTest, SaveAndRestore) {
|
/external/clang/include/clang/Parse/ |
Parser.h | 28 #include "llvm/Support/SaveAndRestore.h" 618 SaveAndRestore<bool> WithinObjCContainer; [all...] |
/external/clang/tools/libclang/ |
CIndex.cpp | 47 #include "llvm/Support/SaveAndRestore.h" 596 SaveAndRestore<DeclContext::decl_iterator*> DI_saved(DI_current, &I); 597 SaveAndRestore<DeclContext::decl_iterator> DE_saved(DE_current, E); [all...] |
/external/clang/lib/Serialization/ |
ASTReader.cpp | 51 #include "llvm/Support/SaveAndRestore.h" [all...] |
ASTReaderDecl.cpp | 28 #include "llvm/Support/SaveAndRestore.h" [all...] |