Add dump method.

llvm-svn: 120141
This commit is contained in:
Zhongxing Xu 2010-11-25 02:07:24 +00:00
parent 1f95ee3016
commit be83a3aeca
2 changed files with 6 additions and 0 deletions

View File

@ -841,6 +841,8 @@ public:
return Ex->getType();
}
void dumpToStream(llvm::raw_ostream& os) const;
void Profile(llvm::FoldingSetNodeID &ID) const;
static bool classof(const MemRegion* R) {

View File

@ -407,6 +407,10 @@ void CompoundLiteralRegion::dumpToStream(llvm::raw_ostream& os) const {
os << "{ " << (void*) CL << " }";
}
void CXXObjectRegion::dumpToStream(llvm::raw_ostream &os) const {
os << "temp_object";
}
void CXXThisRegion::dumpToStream(llvm::raw_ostream &os) const {
os << "this";
}