In file GRBlockCounter.cpp:
GRBlockCounter::Factory::Factory(llvm::BumpPtrAllocator& Alloc) {
F = new CountMap::Factory(Alloc);
}
GRBlockCounter::Factory::~Factory() {
delete static_cast<CountMap*>(F);
}
Should the dtor cast F to CountMap::Factory?
Zhongxing Xu
_______________________________________________ cfe-dev mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
