forked from OSchip/llvm-project
parent
0a758fae91
commit
bba5c7c629
|
@ -194,6 +194,8 @@ public:
|
|||
ProfileRegion(ID, Str, superRegion);
|
||||
}
|
||||
|
||||
void print(llvm::raw_ostream& os) const;
|
||||
|
||||
static bool classof(const MemRegion* R) {
|
||||
return R->getKind() == StringRegionKind;
|
||||
}
|
||||
|
|
|
@ -151,6 +151,10 @@ void CompoundLiteralRegion::print(llvm::raw_ostream& os) const {
|
|||
os << "{ " << (void*) CL << " }";
|
||||
}
|
||||
|
||||
void StringRegion::print(llvm::raw_ostream& os) const {
|
||||
os << "\"" << Str->getStrData() << "\"";
|
||||
}
|
||||
|
||||
//===----------------------------------------------------------------------===//
|
||||
// MemRegionManager methods.
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
|
Loading…
Reference in New Issue