Sha256: a97c4e780dd6db9d02742960c863a7f50adac9866a70b873d31cf9cfe3889edf
Contents?: true
Size: 765 Bytes
Versions: 26
Compression:
Stored size: 765 Bytes
Contents
#include "../sass.hpp" #include <iostream> #include <typeinfo> #include "SharedPtr.hpp" #include "../ast_fwd_decl.hpp" #ifdef DEBUG_SHARED_PTR #include "../debugger.hpp" #endif namespace Sass { #ifdef DEBUG_SHARED_PTR void SharedObj::dumpMemLeaks() { if (!all.empty()) { std::cerr << "###################################\n"; std::cerr << "# REPORTING MISSING DEALLOCATIONS #\n"; std::cerr << "###################################\n"; for (SharedObj* var : all) { if (AST_Node* ast = dynamic_cast<AST_Node*>(var)) { debug_ast(ast); } else { std::cerr << "LEAKED " << var << "\n"; } } } } std::vector<SharedObj*> SharedObj::all; #endif bool SharedObj::taint = false; }
Version data entries
26 entries across 17 versions & 2 rubygems